Index: build/common.gypi |
diff --git a/build/common.gypi b/build/common.gypi |
index 960c36b13138553ff7389ce7ec7ab0f5085a3635..2d6ce238066bbe93497a9e6d1919a5d3c4c574ba 100644 |
--- a/build/common.gypi |
+++ b/build/common.gypi |
@@ -99,6 +99,11 @@ |
# Android build system, value 1). |
'android_build_type%': 0, |
+ # Sets the default version name and code for Android app, by default we |
+ # do a developer build. |
+ 'android_app_version_name%': 'Developer Build', |
+ 'android_app_version_code%': 0, |
+ |
# Compute the architecture that we're building on. |
'conditions': [ |
['OS=="win" or OS=="mac" or OS=="ios"', { |
@@ -151,6 +156,8 @@ |
'enable_touch_ui%': '<(enable_touch_ui)', |
'android_upstream_bringup%': '<(android_upstream_bringup)', |
'android_build_type%': '<(android_build_type)', |
+ 'android_app_version_name%': '<(android_app_version_name)', |
+ 'android_app_version_code%': '<(android_app_version_code)', |
# We used to provide a variable for changing how libraries were built. |
# This variable remains until we can clean up all the users. |
@@ -669,6 +676,8 @@ |
'use_libjpeg_turbo%': '<(use_libjpeg_turbo)', |
'use_system_libjpeg%': '<(use_system_libjpeg)', |
'android_build_type%': '<(android_build_type)', |
+ 'android_app_version_name%': '<(android_app_version_name)', |
cjhopman
2012/10/05 20:16:20
Can't you just set the defaults here rather than s
shashi
2012/10/05 20:42:49
Done, the reason I did it was mostly for conventio
|
+ 'android_app_version_code%': '<(android_app_version_code)', |
'use_official_google_api_keys%': '<(use_official_google_api_keys)', |
'google_api_key%': '<(google_api_key)', |
'google_default_client_id%': '<(google_default_client_id)', |