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

Unified Diff: ios/components/BUILD.gn

Issue 2908613002: Move common functionality of IOSChromeIOThread to ios/components. (Closed)
Patch Set: Respond to comments. Created 3 years, 7 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 | « ios/chrome/browser/ios_chrome_io_thread.mm ('k') | ios/components/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/components/BUILD.gn
diff --git a/ios/components/BUILD.gn b/ios/components/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..03fb2b979843de8fcbfd886e837fa3ebd67496fe
--- /dev/null
+++ b/ios/components/BUILD.gn
@@ -0,0 +1,33 @@
+# Copyright 2017 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("//ios/build/config.gni")
+import("//testing/test.gni")
+
+# All tests needs to be listed in that target to be built as part of
+# "gn_all" target (i.e. by the bots).
+group("all_tests") {
+ testonly = true
+ deps = [
+ ":ios_components_unittests",
+ ]
+}
+
+# To add a unit test to this target, make a "unit_tests" source_set in your
+# component (it's important to use a source_set instead of a static library or
+# no tests will run) and add a reference here. You can add more than one unit
+# test target if convenient.
+test("ios_components_unittests") {
+ # Add only ":unit_tests" dependencies here. If your tests have dependencies
+ # (this would at least include the component itself), they should be on the
+ # test source set and not here.
+
+ deps = [
+ "//base",
+ "//base/test:run_all_unittests",
+ "//ios/components/io_thread:unit_tests",
+ ]
+
+ assert_no_deps = ios_assert_no_deps
+}
« no previous file with comments | « ios/chrome/browser/ios_chrome_io_thread.mm ('k') | ios/components/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698