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

Unified Diff: build/common.gypi

Issue 15030002: Use a sysroot for Chrome Linux official builds. (try 2) (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: 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 | « DEPS ('k') | build/linux/install-debian.wheezy.sysroot.wrapper.sh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/common.gypi
===================================================================
--- build/common.gypi (revision 198655)
+++ build/common.gypi (working copy)
@@ -61,6 +61,9 @@
# non-Official # builds).
'buildtype%': 'Dev',
+ # Override branding to select the desired branding flavor.
+ 'branding%': 'Chromium',
+
'conditions': [
# ChromeOS implies ash.
['chromeos==1', {
@@ -101,6 +104,7 @@
'enable_hidpi%': '<(enable_hidpi)',
'enable_touch_ui%': '<(enable_touch_ui)',
'buildtype%': '<(buildtype)',
+ 'branding%': '<(branding)',
'host_arch%': '<(host_arch)',
# Default architecture we're building for is the architecture we're
@@ -168,6 +172,14 @@
}, {
'use_default_render_theme%': 0,
}],
+
+ # TODO(thestig) Remove the linux_lsb_release check after all the
+ # official Ubuntu Lucid builder are gone.
mmoss 2013/05/07 15:00:10 I don't feel strongly about this either way, but w
Lei Zhang 2013/05/07 21:37:48 Well, the part in the .gypi file here controls whe
+ ['OS=="linux" and branding=="Chrome" and buildtype=="Official" and chromeos==0', {
+ 'linux_lsb_release%': '<!(lsb_release -r -s)',
+ }, {
+ 'linux_lsb_release%': '',
+ }], # OS=="linux" and branding=="Chrome" and buildtype=="Official" and chromeos==0
],
},
@@ -191,11 +203,10 @@
'enable_message_center%': '<(enable_message_center)',
'use_default_render_theme%': '<(use_default_render_theme)',
'buildtype%': '<(buildtype)',
+ 'branding%': '<(branding)',
'arm_version%': '<(arm_version)',
+ 'linux_lsb_release%': '<(linux_lsb_release)',
- # Override branding to select the desired branding flavor.
- 'branding%': 'Chromium',
-
# Set to 1 to enable fast builds. Set to 2 for even faster builds
# (it disables debug info for fastest compilation - only for use
# on compile-only bots).
@@ -629,6 +640,17 @@
'sysroot%': '<!(cd <(DEPTH) && pwd -P)/arm-sysroot',
}], # OS=="linux" and target_arch=="arm" and chromeos==0
+ ['linux_lsb_release=="12.04"', {
+ 'conditions': [
+ ['target_arch=="x64"', {
+ 'sysroot%': '<!(cd <(DEPTH) && pwd -P)/chrome/installer/linux/internal/debian_wheezy_amd64-sysroot',
+ }],
+ ['target_arch=="ia32"', {
+ 'sysroot%': '<!(cd <(DEPTH) && pwd -P)/chrome/installer/linux/internal/debian_wheezy_i386-sysroot',
+ }],
+ ],
+ }], # linux_lsb_release=="12.04"
+
['target_arch=="mipsel"', {
'sysroot%': '<!(cd <(DEPTH) && pwd -P)/mipsel-sysroot/sysroot',
'CXX%': '<!(cd <(DEPTH) && pwd -P)/mipsel-sysroot/bin/mipsel-linux-gnu-gcc',
« no previous file with comments | « DEPS ('k') | build/linux/install-debian.wheezy.sysroot.wrapper.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698