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

Unified Diff: chromeos/components/BUILD.gn

Issue 2545923005: Create Tether Chrome OS component and add a skeleton Initializer class. (Closed)
Patch Set: Make chromeos_components_unittests a top-level test. Created 4 years 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 | « BUILD.gn ('k') | chromeos/components/run_all_unittests.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/components/BUILD.gn
diff --git a/chromeos/components/BUILD.gn b/chromeos/components/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..f4689638c30ce182742f30d7331441fb0998d2e5
--- /dev/null
+++ b/chromeos/components/BUILD.gn
@@ -0,0 +1,26 @@
+# Copyright 2016 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")
+
+assert(is_chromeos, "Non-ChromeOS builds cannot depend on //chromeos")
+
+static_library("components") {
+ deps = [
+ "//chromeos/components/tether",
+ ]
+}
stevenjb 2016/12/02 00:04:19 Rather than package all of the components as a sin
Kyle Horimoto 2016/12/02 00:17:47 Done.
+
+# To add a unit test to this target, make a "unit_test" source_set in your
+# component and add a reference here.
+test("chromeos_components_unittests") {
+ sources = [
+ "run_all_unittests.cc",
+ ]
+
+ deps = [
+ "//base",
+ "//chromeos/components/tether:unit_tests",
+ ]
+}
« no previous file with comments | « BUILD.gn ('k') | chromeos/components/run_all_unittests.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698