Index: components/BUILD.gn |
diff --git a/components/BUILD.gn b/components/BUILD.gn |
index de57864b2c6c11e25fcf189f1b3ace53e196149f..c0581af0cf65d22bc3dc0814afd2a686fb55b55b 100644 |
--- a/components/BUILD.gn |
+++ b/components/BUILD.gn |
@@ -11,6 +11,10 @@ if (is_android) { |
import("//build/config/android/rules.gni") |
} |
+if (is_ios) { |
+ import("//ios/build/config.gni") |
+} |
+ |
# To add a unit test to this target, make a "unit_test" 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 |
@@ -261,6 +265,10 @@ test("components_unittests") { |
if (safe_browsing_mode == 2) { |
deps += [ "//components/safe_browsing_db:unit_tests_mobile" ] |
} |
+ |
+ if (is_ios) { |
+ assert_no_deps = ios_assert_no_deps |
+ } |
} |
repack("components_tests_pak") { |