Index: build/java_apk.gypi |
diff --git a/build/java_apk.gypi b/build/java_apk.gypi |
index f200b16063c0f2201f84fcf9cb5b9ca9b33c1be4..c3c92414cd2335b942f400b39f99728d0094ae20 100644 |
--- a/build/java_apk.gypi |
+++ b/build/java_apk.gypi |
@@ -64,6 +64,7 @@ |
'jar_name': 'chromium_apk_<(_target_name).jar', |
'resource_dir%':'<(DEPTH)/build/android/ant/empty/res', |
'R_package%':'', |
+ 'additional_R_text_files': [], |
'additional_res_dirs': [], |
'additional_res_packages': [], |
'is_test_apk%': 0, |
@@ -96,11 +97,12 @@ |
'jar_path': '<(PRODUCT_DIR)/lib.java/<(jar_name)', |
'obfuscated_jar_path': '<(intermediate_dir)/obfuscated.jar', |
'dex_path': '<(intermediate_dir)/classes.dex', |
- 'android_manifest': '<(java_in_dir)/AndroidManifest.xml', |
+ 'android_manifest_path%': '<(java_in_dir)/AndroidManifest.xml', |
'push_stamp': '<(intermediate_dir)/push.stamp', |
'link_stamp': '<(intermediate_dir)/link.stamp', |
'codegen_input_paths': [], |
- 'final_apk_path': '<(PRODUCT_DIR)/apks/<(apk_name).apk', |
+ 'final_apk_path%': '<(PRODUCT_DIR)/apks/<(apk_name).apk', |
+ 'source_dir': '<(java_in_dir)/src', |
'apk_install_stamp': '<(intermediate_dir)/apk_install.stamp', |
'apk_package_native_libs_dir': '<(intermediate_dir)/libs', |
}, |
@@ -340,7 +342,7 @@ |
'<(DEPTH)/build/android/ant/apk-codegen.xml', |
'<(DEPTH)/build/android/gyp/util/build_utils.py', |
'<(DEPTH)/build/android/gyp/ant.py', |
- '<(android_manifest)', |
+ '<(android_manifest_path)', |
'>@(library_manifest_paths)' |
'>@(codegen_input_paths)', |
'>@(additional_input_paths)', |
@@ -354,7 +356,7 @@ |
'-DADDITIONAL_RES_DIRS=>(additional_res_dirs)', |
'-DADDITIONAL_RES_PACKAGES=>(additional_res_packages)', |
'-DADDITIONAL_R_TEXT_FILES=>(additional_R_text_files)', |
- '-DANDROID_MANIFEST=<(android_manifest)', |
+ '-DANDROID_MANIFEST=<(android_manifest_path)', |
'-DANDROID_SDK_JAR=<(android_sdk_jar)', |
'-DANDROID_SDK_ROOT=<(android_sdk_root)', |
'-DANDROID_SDK_VERSION=<(android_sdk_version)', |
@@ -550,17 +552,17 @@ |
'-DANDROID_SDK_JAR=<(android_sdk_jar)', |
'-DANDROID_SDK_ROOT=<(android_sdk_root)', |
'-DANDROID_SDK_VERSION=<(android_sdk_version)', |
- '-DAPKS_DIR=<(PRODUCT_DIR)/apks', |
'-DAPK_NAME=<(apk_name)', |
'-DAPP_MANIFEST_VERSION_CODE=<(app_manifest_version_code)', |
'-DAPP_MANIFEST_VERSION_NAME=<(app_manifest_version_name)', |
'-DASSET_DIR=<(asset_location)', |
'-DCONFIGURATION_NAME=<(CONFIGURATION_NAME)', |
+ '-DFINAL_APK_PATH=<(final_apk_path)', |
'-DKEYSTORE_PATH=<(DEPTH)/build/android/ant/chromium-debug.keystore', |
'-DNATIVE_LIBS_DIR=<(apk_package_native_libs_dir)', |
'-DOUT_DIR=<(intermediate_dir)', |
'-DRESOURCE_DIR=<(resource_dir)', |
- '-DSOURCE_DIR=<(java_in_dir)/src', |
+ '-DSOURCE_DIR=<(source_dir)', |
'-Dbasedir=.', |
'-buildfile', |