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

Unified Diff: build/all_android.gyp

Issue 10905138: Add test jar generation logic for ant builds. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Yaron's feedback. Created 8 years, 3 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 | « no previous file | build/android/adb_install_content_shell » ('j') | build/android/ant/sdk-targets.xml » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/all_android.gyp
diff --git a/build/all_android.gyp b/build/all_android.gyp
index 84345dc140c146bc9b87290de82bf555a7b8b7c2..cc140ba0af669ef31331b517fef82e458c441cc2 100644
--- a/build/all_android.gyp
+++ b/build/all_android.gyp
@@ -108,5 +108,38 @@
'../content/content.gyp:content_browsertests',
],
},
+ {
+ # Target for creating common output build directories.
+ # Creating output dirs beforehand ensures that build
+ # scripts can assume these folders to exist and there
+ # are no race conditions resulting from build scripts
+ # trying to create these directories.
+ # The build/java.gypi target depends on this target.
+ 'target_name': 'build_output_dirs',
+ 'type': 'none',
+ 'actions': [
+ {
+ 'action_name': 'create_java_output_dirs',
+ 'variables' : {
+ 'output_dirs' : [
+ '<(PRODUCT_DIR)/apks',
+ '<(PRODUCT_DIR)/lib.java',
Yaron 2012/09/10 19:58:10 Nit: indentation is off throughout this target.
+ '<(PRODUCT_DIR)/test.lib.java',
+ ]
+ },
+ 'inputs' : [
+ '<(PRODUCT_DIR)'
+ ],
+ 'outputs': [
+ '<@(output_dirs)'
+ ],
+ 'action': [
+ 'mkdir',
+ '-p',
+ '<@(output_dirs)',
+ ],
+ },
+ ],
+ }, # build_output_dirs
], # targets
}
« no previous file with comments | « no previous file | build/android/adb_install_content_shell » ('j') | build/android/ant/sdk-targets.xml » ('J')

Powered by Google App Engine
This is Rietveld 408576698