Restore variadic macros in DevToolsEmbedderMessageDispatcher
[chromium-blink-merge.git] / chromecast / crash / BUILD.gn
blob28fb28bafadf5660888d4db6bffd398bb155d317
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     "//chromecast/base",
50   ]
53 test("cast_crash_unittests") {
54   sources = [
55     "cast_crashdump_uploader_unittest.cc",
56     "linux/dummy_minidump_generator_unittest.cc",
57     "linux/dump_info_unittest.cc",
58     "linux/minidump_writer_unittest.cc",
59     "linux/synchronized_minidump_manager_unittest.cc",
60   ]
62   deps = [
63     ":crash",
64     ":test_support",
65     "//base",
66     "//base/test:run_all_unittests",
67     "//base/test:test_support",
68     "//breakpad:client",
69     "//testing/gmock",
70     "//testing/gtest",
71   ]