Index: components/components_tests.gypi |
diff --git a/components/components_tests.gypi b/components/components_tests.gypi |
index 537a8c0b0d77ef1783028d15b7d58d5dea936114..ef406847166dfeb7acf115665e7088d651ebf65d 100644 |
--- a/components/components_tests.gypi |
+++ b/components/components_tests.gypi |
@@ -3,17 +3,31 @@ |
# found in the LICENSE file. |
{ |
- 'targets': [ |
- { |
- 'target_name': 'components_unittests', |
- 'type': '<(gtest_target_type)', |
- 'sources': [ |
- 'test/run_all_unittests.cc', |
- ], |
- 'dependencies': [ |
- '../base/base.gyp:test_support_base', |
- '../testing/gtest.gyp:gtest', |
+ 'conditions': [ |
+ ['OS != "ios"', { |
+ 'targets': [ |
+ { |
+ 'target_name': 'components_unittests', |
+ 'type': '<(gtest_target_type)', |
+ 'sources': [ |
+ 'navigation_interception/intercept_navigation_resource_throttle_unittest.cc', |
+ 'test/run_all_unittests.cc', |
+ ], |
+ 'include_dirs': [ |
+ '..', |
+ ], |
+ 'dependencies': [ |
+ '../base/base.gyp:test_support_base', |
+ '../testing/gmock.gyp:gmock', |
+ '../testing/gtest.gyp:gtest', |
+ |
+ # Dependencies of intercept_navigation_resource_throttle_unittest.cc |
+ '../content/content.gyp:test_support_content', |
+ '../skia/skia.gyp:skia', |
+ 'navigation_interception', |
+ ], |
+ } |
], |
- } |
- ] |
+ }], |
+ ], |
} |