diff options
Diffstat (limited to 'base/base.gyp')
-rw-r--r-- | base/base.gyp | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/base/base.gyp b/base/base.gyp index fb096b9..0192461 100644 --- a/base/base.gyp +++ b/base/base.gyp @@ -896,6 +896,14 @@ 'test/test_file_util_linux.cc', ], }], + ['OS == "android"', { + 'dependencies': [ + 'base_unittests_jni_headers', + ], + 'include_dirs': [ + '<(SHARED_INTERMEDIATE_DIR)/base', + ], + }], ], 'sources': [ 'test/expectations/expectation.cc', @@ -948,6 +956,7 @@ 'test/task_runner_test_template.h', 'test/test_file_util.cc', 'test/test_file_util.h', + 'test/test_file_util_android.cc', 'test/test_file_util_linux.cc', 'test/test_file_util_mac.cc', 'test/test_file_util_posix.cc', @@ -1214,6 +1223,7 @@ 'sources': [ 'android/java/src/org/chromium/base/ActivityStatus.java', 'android/java/src/org/chromium/base/BuildInfo.java', + 'android/java/src/org/chromium/base/ContentUriUtils.java', 'android/java/src/org/chromium/base/CpuFeatures.java', 'android/java/src/org/chromium/base/ImportantFileWriterAndroid.java', 'android/java/src/org/chromium/base/MemoryPressureListener.java', @@ -1239,6 +1249,17 @@ 'includes': [ '../build/jni_generator.gypi' ], }, { + 'target_name': 'base_unittests_jni_headers', + 'type': 'none', + 'sources': [ + 'test/android/java/src/org/chromium/base/ContentUriTestUtils.java', + ], + 'variables': { + 'jni_gen_package': 'base', + }, + 'includes': [ '../build/jni_generator.gypi' ], + }, + { 'target_name': 'base_java', 'type': 'none', 'variables': { @@ -1258,6 +1279,17 @@ ], }, { + 'target_name': 'base_java_unittest_support', + 'type': 'none', + 'dependencies': [ + 'base_java', + ], + 'variables': { + 'java_in_dir': '../base/test/android/java', + }, + 'includes': [ '../build/java.gypi' ], + }, + { 'target_name': 'base_java_activity_state', 'type': 'none', # This target is used to auto-generate ActivityState.java @@ -1339,6 +1371,7 @@ 'type': 'none', 'dependencies': [ 'base_java', + 'base_java_unittest_support', 'base_unittests', ], 'variables': { |