Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(200)

Unified Diff: build/java_apk.gypi

Issue 15231006: [Android] Fix proguard (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add help messages Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/java.gypi ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/java_apk.gypi
diff --git a/build/java_apk.gypi b/build/java_apk.gypi
index 19f85bc8b634317855f1f8fba0e99abb279d00ad..8c794f0bbd293d1003f73c5b89668ae6feee9db1 100644
--- a/build/java_apk.gypi
+++ b/build/java_apk.gypi
@@ -480,43 +480,19 @@
},
{
'action_name': 'dex_<(_target_name)',
- 'message': 'Dexing <(_target_name) jar',
'variables': {
'conditions': [
- ['proguard_enabled=="true" and CONFIGURATION_NAME=="Release"', {
- 'dex_inputs': [ '<(obfuscated_jar_path)' ],
- 'dex_generated_inputs': [],
- }, {
- 'dex_inputs': [
- '>@(library_dexed_jars_paths)',
- ],
- 'dex_generated_inputs': [
- '<(classes_dir)',
- ],
+ ['proguard_enabled == "true"', {
+ 'input_paths': [ '<(obfuscate_stamp)' ],
+ 'proguard_enabled_input_path': '<(obfuscated_jar_path)',
}],
],
+ 'input_paths': [ '<(compile_stamp)' ],
+ 'dex_input_paths': [ '>@(library_dexed_jars_paths)' ],
+ 'dex_generated_input_dirs': [ '<(classes_dir)' ],
+ 'output_path': '<(dex_path)',
},
- 'inputs': [
- '<(DEPTH)/build/android/gyp/util/build_utils.py',
- '<(DEPTH)/build/android/gyp/util/md5_check.py',
- '<(DEPTH)/build/android/gyp/dex.py',
- '<(compile_stamp)',
- '>@(dex_inputs)',
- ],
- 'outputs': [
- '<(dex_path)',
- ],
- 'action': [
- 'python', '<(DEPTH)/build/android/gyp/dex.py',
- '--dex-path=<(dex_path)',
- '--android-sdk-root=<(android_sdk_root)',
-
- # TODO(newt): remove this once http://crbug.com/177552 is fixed in ninja.
- '--ignore=>!(echo \'>(_inputs)\' | md5sum)',
-
- '>@(dex_inputs)',
- '>@(dex_generated_inputs)',
- ]
+ 'includes': [ 'android/dex_action.gypi' ],
},
{
'action_name': 'ant package resources',
« no previous file with comments | « build/java.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698