aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Mike Klein <mtklein@chromium.org>2018-02-22 10:39:50 -0500
committerGravatar Mike Klein <mtklein@chromium.org>2018-02-22 16:06:32 +0000
commit085bc523634ee3156cd4e5bc05d8907739b54e4c (patch)
tree89e82fb788c4f214bfd8c14731fda7a6f2eafccc
parent61e30b2e81fe8d02d20978daeff28bc06ba584e7 (diff)
write -isystem paths relative to the build root
The default makes these system-absolute paths, which confuses fiddle's overlay builds. Now we should see things like, -isystem ../third_party/externals/jsoncpp/include where we previously had, -isystem /Users/mtklein/skia/third_party/externals/jsoncpp/include Change-Id: I7b161a550fdb95b06e17c372cd5bec3015e3c8b7 Reviewed-on: https://skia-review.googlesource.com/109382 Reviewed-by: Joe Gregorio <jcgregorio@google.com> Commit-Queue: Mike Klein <mtklein@chromium.org>
-rw-r--r--third_party/third_party.gni2
1 files changed, 1 insertions, 1 deletions
diff --git a/third_party/third_party.gni b/third_party/third_party.gni
index 612958b9b4..613e1ad9c0 100644
--- a/third_party/third_party.gni
+++ b/third_party/third_party.gni
@@ -13,7 +13,7 @@ template("third_party") {
} else {
cflags = []
foreach(dir, invoker.public_include_dirs) {
- cflags += ["-isystem", rebase_path(dir)]
+ cflags += ["-isystem", rebase_path(dir, root_build_dir)]
}
}
}