Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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. | |
| 4 | |
| 5 import("//testing/test.gni") | |
| 6 | |
| 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/cast_crash_reporter_client.cc", | |
| 16 "linux/cast_crash_reporter_client.h", | |
| 17 "linux/crash_util.cc", | |
| 18 "linux/crash_util.h", | |
| 19 "linux/dummy_minidump_generator.cc", | |
| 20 "linux/dummy_minidump_generator.h", | |
| 21 "linux/dump_info.cc", | |
| 22 "linux/dump_info.h", | |
| 23 "linux/minidump_generator.h", | |
| 24 "linux/minidump_manager.cc", | |
| 25 "linux/minidump_manager.h", | |
| 26 "linux/minidump_params.cc", | |
| 27 "linux/minidump_params.h", | |
| 28 "linux/minidump_writer.cc", | |
| 29 "linux/minidump_writer.h", | |
| 30 ] | |
| 31 | |
| 32 deps = [ | |
| 33 "//breakpad:client", | |
| 34 "//components/crash/app", | |
| 35 "//chromecast/base", | |
| 36 "//chromecast/base:cast_version", | |
| 37 ] | |
| 38 | |
| 39 sources += [ | |
| 40 # Note: This is required to link against "//components/crash/app". | |
| 41 "//content/public/common/content_switches.cc", | |
| 42 ] | |
| 43 | |
| 44 configs += [ "//chromecast:config" ] | |
| 45 } | |
| 46 | |
| 47 test("cast_crash_unittests") { | |
| 48 sources = [ | |
| 49 "linux/cast_crash_reporter_client_unittest.cc", | |
| 50 "linux/dump_info_unittest.cc", | |
| 51 "linux/minidump_manager_unittest.cc", | |
| 52 "linux/minidump_writer_unittest.cc", | |
| 53 ] | |
| 54 | |
| 55 deps = [ | |
| 56 ":crash", | |
| 57 "//base/test:run_all_unittests", | |
| 58 "//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
| |
| 59 ] | |
| 60 } | |
| OLD | NEW |