| Index: build/common.gypi
|
| diff --git a/build/common.gypi b/build/common.gypi
|
| index cd906aa1ea93653e0ed64abf0e361eab1411dd2a..c8b909240d1520ded30a10e8485f5e0dc84f5471 100644
|
| --- a/build/common.gypi
|
| +++ b/build/common.gypi
|
| @@ -85,11 +85,6 @@
|
| # Enable top chrome material design.
|
| 'enable_topchrome_md%' : 0,
|
|
|
| - # Force building against pre-built sysroot image on linux. By default
|
| - # the sysroot image is only used for Official builds or when cross
|
| - # compiling to arm or mips.
|
| - 'use_sysroot%': 0,
|
| -
|
| # Override buildtype to select the desired build flavor.
|
| # Dev - everyday build for development/testing
|
| # Official - release build (generally implies additional processing)
|
| @@ -182,6 +177,7 @@
|
|
|
| # The system root for cross-compiles. Default: none.
|
| 'sysroot%': '',
|
| + 'use_sysroot%': 0,
|
| 'chroot_cmd%': '',
|
|
|
| # The system libdir used for this ABI.
|
| @@ -286,27 +282,6 @@
|
| ['target_arch=="mipsel"', {
|
| 'mips_arch_variant%': 'r1',
|
| }],
|
| -
|
| - ['OS=="linux" and target_arch=="arm" and chromeos==0', {
|
| - # sysroot needs to be an absolute path otherwise it generates
|
| - # incorrect results when passed to pkg-config
|
| - 'sysroot%': '<!(cd <(DEPTH) && pwd -P)/chrome/installer/linux/debian_wheezy_arm-sysroot',
|
| - }], # OS=="linux" and target_arch=="arm" and chromeos==0
|
| -
|
| - ['OS=="linux" and ((branding=="Chrome" and buildtype=="Official" and chromeos==0) or use_sysroot==1)' , {
|
| - 'conditions': [
|
| - ['target_arch=="x64"', {
|
| - 'sysroot%': '<!(cd <(DEPTH) && pwd -P)/chrome/installer/linux/debian_wheezy_amd64-sysroot',
|
| - }],
|
| - ['target_arch=="ia32"', {
|
| - 'sysroot%': '<!(cd <(DEPTH) && pwd -P)/chrome/installer/linux/debian_wheezy_i386-sysroot',
|
| - }],
|
| - ],
|
| - }], # OS=="linux" and branding=="Chrome" and buildtype=="Official" and chromeos==0
|
| -
|
| - ['OS=="linux" and target_arch=="mipsel"', {
|
| - 'sysroot%': '<!(cd <(DEPTH) && pwd -P)/mipsel-sysroot/sysroot',
|
| - }],
|
| ],
|
| },
|
|
|
| @@ -958,6 +933,28 @@
|
| 'enable_settings_app%': 0,
|
| }],
|
|
|
| + ['OS=="linux" and target_arch=="arm" and chromeos==0', {
|
| + # sysroot needs to be an absolute path otherwise it generates
|
| + # incorrect results when passed to pkg-config
|
| + 'sysroot%': '<!(cd <(DEPTH) && pwd -P)/chrome/installer/linux/debian_wheezy_arm-sysroot',
|
| + }], # OS=="linux" and target_arch=="arm" and chromeos==0
|
| +
|
| + ['OS=="linux" and ((branding=="Chrome" and buildtype=="Official" and chromeos==0) or use_sysroot==1)' , {
|
| + 'conditions': [
|
| + ['target_arch=="x64"', {
|
| + 'sysroot%': '<!(cd <(DEPTH) && pwd -P)/chrome/installer/linux/debian_wheezy_amd64-sysroot',
|
| + }],
|
| + ['target_arch=="ia32"', {
|
| + 'sysroot%': '<!(cd <(DEPTH) && pwd -P)/chrome/installer/linux/debian_wheezy_i386-sysroot',
|
| + }],
|
| + ],
|
| + }], # OS=="linux" and branding=="Chrome" and buildtype=="Official" and chromeos==0
|
| +
|
| + ['OS=="linux" and target_arch=="mipsel"', {
|
| + 'sysroot%': '<!(cd <(DEPTH) && pwd -P)/mipsel-sysroot/sysroot',
|
| + 'CXX%': '<!(cd <(DEPTH) && pwd -P)/mipsel-sysroot/bin/mipsel-linux-gnu-gcc',
|
| + }],
|
| +
|
| # Whether tests targets should be run, archived or just have the
|
| # dependencies verified. All the tests targets have the '_run' suffix,
|
| # e.g. base_unittests_run runs the target base_unittests. The test
|
| @@ -1012,12 +1009,6 @@
|
| }, {
|
| 'sas_dll_path%': '<(DEPTH)/third_party/platformsdk_win7/files/redist/x86',
|
| }],
|
| -
|
| - ['sysroot!=""', {
|
| - 'pkg-config': '<(DEPTH)/build/linux/pkg-config-wrapper "<(sysroot)" "<(target_arch)" "<(system_libdir)"',
|
| - }, {
|
| - 'pkg-config': 'pkg-config'
|
| - }],
|
| ],
|
|
|
| # Setting this to '0' will cause V8's startup snapshot to be
|
| @@ -1118,7 +1109,7 @@
|
| 'chromecast%': '<(chromecast)',
|
| 'enable_viewport%': '<(enable_viewport)',
|
| 'enable_hidpi%': '<(enable_hidpi)',
|
| - 'enable_topchrome_md%': '<(enable_topchrome_md)',
|
| + 'enable_topchrome_md%': '<(enable_topchrome_md)',
|
| 'image_loader_extension%': '<(image_loader_extension)',
|
| 'fastbuild%': '<(fastbuild)',
|
| 'dont_embed_build_metadata%': '<(dont_embed_build_metadata)',
|
| @@ -1129,7 +1120,6 @@
|
| 'arm_neon%': '<(arm_neon)',
|
| 'arm_neon_optional%': '<(arm_neon_optional)',
|
| 'sysroot%': '<(sysroot)',
|
| - 'pkg-config%': '<(pkg-config)',
|
| 'chroot_cmd%': '<(chroot_cmd)',
|
| 'system_libdir%': '<(system_libdir)',
|
| 'component%': '<(component)',
|
| @@ -1608,6 +1598,10 @@
|
| 'nacl_untrusted_build%': 0,
|
| 'use_allocator%': 'none',
|
| }],
|
| + ['OS=="linux" and target_arch=="mipsel"', {
|
| + 'sysroot%': '<(sysroot)',
|
| + 'CXX%': '<(CXX)',
|
| + }],
|
| # Use a 64-bit linker to avoid running out of address space. The
|
| # buildbots should have a 64-bit kernel and a 64-bit libc installed.
|
| ['host_arch=="ia32" and target_arch=="ia32"', {
|
|
|