Disable sysroot for x86 and x64 only

In addition to https://codereview.chromium.org/1526163002
disable sysroot only for x86 and x64.

Keep using sysroot for other archs
due to crosscompiling.

BUG=none
R=fbarchard@chromium.org

Review URL: https://codereview.chromium.org/1536403002 .
This commit is contained in:
Frank Barchard 2015-12-21 11:41:14 -08:00
parent 3f4d86053e
commit 0f5c7660d1

View File

@ -21,7 +21,13 @@
# Disable use of sysroot for Linux. It's enabled by default in Chromium,
# but it currently lacks the libudev-dev package.
# TODO(kjellander): Remove when crbug.com/561584 is fixed.
'conditions': [
['target_arch=="ia32" or target_arch=="x64"', {
'use_sysroot': 0,
}, {
'use_sysroot%': 1,
}],
],
},
'use_sysroot%': '<(use_sysroot)',
'use_system_libjpeg%': 0,