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

Unified Diff: build/common.gypi

Issue 1132853010: do not hardcode -I/usr/include32 when cross-compiling (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 | « no previous file | no next file » | 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 dfa41639f4dd58c069e916f95add33cc176c7abe..a9d01c34c9d1aa19c4801f15bff40b0635be26ad 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -3861,7 +3861,7 @@
# and make sure a 32-bit-on-64-bit build picks up the
# right files.
# For android build, use NDK headers instead of host headers
- ['host_arch!="ia32" and OS!="android"', {
+ ['host_arch!="ia32" and OS!="android" and use_sysroot!=1', {
'include_dirs+': [
'/usr/include32',
],
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698