Index: chromecast/crash/BUILD.gn |
diff --git a/chromecast/crash/BUILD.gn b/chromecast/crash/BUILD.gn |
new file mode 100644 |
index 0000000000000000000000000000000000000000..6a27654d4e984d05ac27a223b51f2db326fc5bbe |
--- /dev/null |
+++ b/chromecast/crash/BUILD.gn |
@@ -0,0 +1,58 @@ |
+# 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", |
gunsch
2015/06/12 00:37:09
this is no longer accurate
slan
2015/06/15 17:01:45
This patch left the build code in a weird state. G
|
+ "app_state_tracker.h", |
+ "cast_crash_keys.cc", |
+ "cast_crash_keys.h", |
+ "cast_crash_reporter_client.cc", |
+ "cast_crash_reporter_client.h", |
+ "crash_util.cc", |
+ "crash_util.h", |
+ "dummy_minidump_generator.cc", |
+ "dummy_minidump_generator.h", |
+ "dump_info.cc", |
+ "dump_info.h", |
+ "minidump_generator.h", |
+ "minidump_manager.cc", |
+ "minidump_manager.h", |
+ "minidump_params.cc", |
+ "minidump_params.h", |
+ "minidump_writer.cc", |
+ "minidump_writer.h", |
+ ] |
+ |
+ deps = [ |
+ "//breakpad:client", |
+ "//components/crash/app", |
+ "//chromecast/base", |
+ "//chromecast/base:cast_version", |
+ ] |
+ |
+ sources += [ |
+ # Note: This is in here due to linking requirements with |
+ # //components/crash/app |
+ "//content/public/common/content_switches.cc", |
+ ] |
+ |
+ configs += [ "//chromecast:config" ] |
+} |
+ |
+test("cast_crash_unittests") { |
+ sources = [ |
+ "dump_info_unittest.cc", |
+ "minidump_manager_unittest.cc", |
+ "minidump_writer_unittest.cc", |
+ ] |
+ |
+ deps = [ |
+ ":crash", |
+ "//base/test:run_all_unittests", |
+ "//testing/gtest", |
+ ] |
+} |