Index: components/components_tests.gypi |
diff --git a/components/components_tests.gypi b/components/components_tests.gypi |
index ef406847166dfeb7acf115665e7088d651ebf65d..9e26edc00273cc4d0861d739757361cf3216fa83 100644 |
--- a/components/components_tests.gypi |
+++ b/components/components_tests.gypi |
@@ -26,8 +26,33 @@ |
'../skia/skia.gyp:skia', |
'navigation_interception', |
], |
+ 'conditions': [ |
+ ['OS == "android" and gtest_target_type == "shared_library"', { |
+ 'dependencies': [ |
+ '../testing/android/native_test.gyp:native_test_native_code', |
+ ] |
+ }], |
+ ], |
} |
], |
+ 'conditions': [ |
+ ['OS == "android" and gtest_target_type == "shared_library"', { |
+ 'targets': [ |
+ { |
+ 'target_name': 'components_unittests_apk', |
+ 'type': 'none', |
+ 'dependencies': [ |
+ 'components_unittests', |
+ ], |
+ 'variables': { |
+ 'test_suite_name': 'components_unittests', |
+ 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)components_unittests<(SHARED_LIB_SUFFIX)', |
+ }, |
+ 'includes': [ '../build/apk_test.gypi' ], |
+ }, |
+ ], |
+ }], |
+ ], |
}], |
], |
} |