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

Unified Diff: build/common.gypi

Issue 10386188: Fix ninja build for android. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: added absolute_path_dir Created 8 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 | « base/base.gyp ('k') | build/java.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/common.gypi
diff --git a/build/common.gypi b/build/common.gypi
index e2e9c073e756fee906dc621eeb000df99530bff1..f44df3404bad11c706619a11e276697b6e517231 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -810,6 +810,10 @@
'platformsdk_exists': '<!(python <(DEPTH)/build/dir_exists.py <(platformsdk_path))',
'wix_exists': '<!(python <(DEPTH)/build/dir_exists.py <(wix_path))',
+ # Provides an absolute path to PRODUCT_DIR (e.g. out/Release). An example
+ # usage is specifying the output directory for Ant in the Android build.
+ 'absolute_product_dir': '/`cd <(PRODUCT_DIR) && pwd -P`',
Nico 2012/05/17 17:04:45 Instead of the leading '/', you could name the var
Yaron 2012/05/17 17:20:26 Done
+
'conditions': [
['os_posix==1 and OS!="mac" and OS!="android"', {
# This will set gcc_version to XY if you are running gcc X.Y.*.
« no previous file with comments | « base/base.gyp ('k') | build/java.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698