Chromium Code Reviews| Index: chromecast/crash/BUILD.gn |
| diff --git a/chromecast/crash/BUILD.gn b/chromecast/crash/BUILD.gn |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..53b224c918b69d2fd9178f50c9b517e9659e8dac |
| --- /dev/null |
| +++ b/chromecast/crash/BUILD.gn |
| @@ -0,0 +1,60 @@ |
| +# Copyright 2015 The Chromium Authors. All rights reserved. |
| +# Use of this source code is governed by a BSD-style license that can be |
| +# found in the LICENSE file. |
| + |
| +import("//testing/test.gni") |
| + |
| +source_set("crash") { |
| + sources = [ |
| + "app_state_tracker.cc", |
| + "app_state_tracker.h", |
| + "cast_crash_keys.cc", |
| + "cast_crash_keys.h", |
| + "cast_crashdump_uploader.cc", |
| + "cast_crashdump_uploader.h", |
| + "linux/cast_crash_reporter_client.cc", |
| + "linux/cast_crash_reporter_client.h", |
| + "linux/crash_util.cc", |
| + "linux/crash_util.h", |
| + "linux/dummy_minidump_generator.cc", |
| + "linux/dummy_minidump_generator.h", |
| + "linux/dump_info.cc", |
| + "linux/dump_info.h", |
| + "linux/minidump_generator.h", |
| + "linux/minidump_manager.cc", |
| + "linux/minidump_manager.h", |
| + "linux/minidump_params.cc", |
| + "linux/minidump_params.h", |
| + "linux/minidump_writer.cc", |
| + "linux/minidump_writer.h", |
| + ] |
| + |
| + deps = [ |
| + "//breakpad:client", |
| + "//components/crash/app", |
| + "//chromecast/base", |
| + "//chromecast/base:cast_version", |
| + ] |
| + |
| + sources += [ |
| + # Note: This is required to link against "//components/crash/app". |
| + "//content/public/common/content_switches.cc", |
| + ] |
| + |
| + configs += [ "//chromecast:config" ] |
| +} |
| + |
| +test("cast_crash_unittests") { |
| + sources = [ |
| + "linux/cast_crash_reporter_client_unittest.cc", |
| + "linux/dump_info_unittest.cc", |
| + "linux/minidump_manager_unittest.cc", |
| + "linux/minidump_writer_unittest.cc", |
| + ] |
| + |
| + deps = [ |
| + ":crash", |
| + "//base/test:run_all_unittests", |
| + "//testing/gtest", |
|
alokp
2015/06/15 17:51:48
not necessary. //base/test:run_all_unittests pulls
gunsch
2015/06/15 18:05:59
Does Chromium not advise following same IWYU rules
alokp
2015/06/15 18:14:39
I dont think it spells it out as it does for heade
slan
2015/06/16 14:57:49
Since there seems to be no prevailing pattern in C
|
| + ] |
| +} |