Enhance the material design ripple API so the ripple's state can be controlled by...
[chromium-blink-merge.git] / chromecast / crash / BUILD.gn
blob900b95c31f82c8f8601ef04b8298a549b7a35f26
1 # Copyright 2015 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
5 import("//testing/test.gni")
7 source_set("crash") {
8   sources = [
9     "app_state_tracker.cc",
10     "app_state_tracker.h",
11     "cast_crash_keys.cc",
12     "cast_crash_keys.h",
13     "cast_crashdump_uploader.cc",
14     "cast_crashdump_uploader.h",
15     "linux/crash_util.cc",
16     "linux/crash_util.h",
17     "linux/dummy_minidump_generator.cc",
18     "linux/dummy_minidump_generator.h",
19     "linux/dump_info.cc",
20     "linux/dump_info.h",
21     "linux/minidump_generator.h",
22     "linux/minidump_params.cc",
23     "linux/minidump_params.h",
24     "linux/minidump_writer.cc",
25     "linux/minidump_writer.h",
26     "linux/synchronized_minidump_manager.cc",
27     "linux/synchronized_minidump_manager.h",
28   ]
30   configs += [ "//chromecast:config" ]
32   deps = [
33     "//base",
34     "//breakpad:client",
35     "//chromecast/base",
36     "//chromecast/base:cast_version",
37   ]
40 source_set("test_support") {
41   sources = [
42     "linux/crash_testing_utils.cc",
43     "linux/crash_testing_utils.h",
44   ]
46   deps = [
47     ":crash",
48     "//base",
49   ]
52 test("cast_crash_unittests") {
53   sources = [
54     "cast_crashdump_uploader_unittest.cc",
55     "linux/dummy_minidump_generator_unittest.cc",
56     "linux/dump_info_unittest.cc",
57     "linux/minidump_writer_unittest.cc",
58     "linux/synchronized_minidump_manager_unittest.cc",
59   ]
61   deps = [
62     ":crash",
63     ":test_support",
64     "//base",
65     "//base/test:run_all_unittests",
66     "//base/test:test_support",
67     "//breakpad:client",
68     "//testing/gmock",
69     "//testing/gtest",
70   ]