Index: content/content_tests.gypi |
diff --git a/content/content_tests.gypi b/content/content_tests.gypi |
index e86f89b22b410cd6db55524f7971d0f88e5bdf7b..19294535f6c80a31b29e3e837a514f753d29d789 100644 |
--- a/content/content_tests.gypi |
+++ b/content/content_tests.gypi |
@@ -739,6 +739,37 @@ |
}], |
], |
}, |
+ { |
+ 'target_name': 'content_linker_unittests', |
+ 'type': '<(gtest_target_type)', |
+ 'defines!': ['CONTENT_IMPLEMENTATION'], |
+ 'dependencies': [ |
+ 'content_browser', |
+ 'content_common', |
+ 'test_support_content', |
+ '../base/base.gyp:test_support_base', |
+ '../testing/gmock.gyp:gmock', |
+ '../testing/gtest.gyp:gtest', |
+ ], |
+ 'include_dirs': [ |
+ '..', |
+ ], |
+ 'sources': [ |
+ 'test/run_all_unittests.cc', |
+ ], |
+ 'conditions': [ |
+ ['OS=="android"', { |
+ 'sources': [ |
+ 'test/content_linker_unittest.cc', |
+ ], |
+ }], |
+ ['OS == "android" and gtest_target_type == "shared_library"', { |
+ 'dependencies': [ |
+ '../testing/android/native_test.gyp:native_test_native_code', |
+ ], |
+ }], |
+ ], |
+ } |
], |
'conditions': [ |
['OS!="ios"', { |
@@ -1193,6 +1224,19 @@ |
'includes': [ '../build/apk_test.gypi' ], |
}, |
{ |
+ 'target_name': 'content_linker_unittests_apk', |
+ 'type': 'none', |
+ 'dependencies': [ |
+ 'content_java', |
+ 'content_linker_unittests', |
+ ], |
+ 'variables': { |
+ 'test_suite_name': 'content_linker_unittests', |
+ 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)content_linker_unittests<(SHARED_LIB_SUFFIX)', |
+ }, |
+ 'includes': [ '../build/apk_test.gypi' ], |
+ }, |
+ { |
'target_name': 'content_browsertests_apk', |
'type': 'none', |
'dependencies': [ |