Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2104)

Unified Diff: chromecast/crash/BUILD.gn

Issue 1254113004: [Chromecast] Consolidate duplicated crash test functions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Fixed namespace footer comment Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chromecast/chromecast_tests.gypi ('k') | chromecast/crash/linux/crash_testing_utils.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/crash/BUILD.gn
diff --git a/chromecast/crash/BUILD.gn b/chromecast/crash/BUILD.gn
index d085b353730c1e8bbf607ba0c8bdaf8dfa1ef27c..900b95c31f82c8f8601ef04b8298a549b7a35f26 100644
--- a/chromecast/crash/BUILD.gn
+++ b/chromecast/crash/BUILD.gn
@@ -37,6 +37,18 @@ source_set("crash") {
]
}
+source_set("test_support") {
+ sources = [
+ "linux/crash_testing_utils.cc",
+ "linux/crash_testing_utils.h",
+ ]
+
+ deps = [
+ ":crash",
+ "//base",
+ ]
+}
+
test("cast_crash_unittests") {
sources = [
"cast_crashdump_uploader_unittest.cc",
@@ -48,6 +60,7 @@ test("cast_crash_unittests") {
deps = [
":crash",
+ ":test_support",
"//base",
"//base/test:run_all_unittests",
"//base/test:test_support",
« no previous file with comments | « chromecast/chromecast_tests.gypi ('k') | chromecast/crash/linux/crash_testing_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698