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