summaryrefslogtreecommitdiffstats
path: root/build/config
diff options
context:
space:
mode:
authorthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-06-27 20:43:57 +0000
committerthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-06-27 20:43:57 +0000
commit4ca013ad73bd2c6491527a4b5555c41843a34661 (patch)
tree7c0cee115a0c5380f9dad58607364dada04b979f /build/config
parent9e90482c209414aaa63fd4fc1b909a280daa9681 (diff)
downloadchromium_src-4ca013ad73bd2c6491527a4b5555c41843a34661.zip
chromium_src-4ca013ad73bd2c6491527a4b5555c41843a34661.tar.gz
chromium_src-4ca013ad73bd2c6491527a4b5555c41843a34661.tar.bz2
Include stlport through -isystem instead of -I.
Enables removing a TODO and is needed for the bug linked below. (Doesn't work for the webkit build for some reason, but that's currently not built with clang anyhow.) BUG=381053 TBR=brettw@chromium.org NOTRY=true Review URL: https://codereview.chromium.org/359783005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@280406 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build/config')
-rw-r--r--build/config/compiler/BUILD.gn3
1 files changed, 2 insertions, 1 deletions
diff --git a/build/config/compiler/BUILD.gn b/build/config/compiler/BUILD.gn
index 42f6035..aa66b89 100644
--- a/build/config/compiler/BUILD.gn
+++ b/build/config/compiler/BUILD.gn
@@ -400,7 +400,8 @@ config("runtime_library") {
android_stlport_root = "$android_ndk_root/sources/cxx-stl/stlport"
cflags += [
- "-I" + rebase_path("$android_stlport_root/stlport", root_build_dir)
+ "-isystem" + rebase_path("$android_stlport_root/stlport",
+ root_build_dir)
]
lib_dirs += [ "$android_stlport_root/libs/$android_app_abi" ]