summaryrefslogtreecommitdiffstats
path: root/sdch
diff options
context:
space:
mode:
authorscottmg@chromium.org <scottmg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-07-29 21:23:18 +0000
committerscottmg@chromium.org <scottmg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-07-29 21:23:18 +0000
commit8136ed8a783dc2dd1c9bd547c1cb13951e748786 (patch)
tree16e934cae1c07e77035c0d2223dceb3201bc079a /sdch
parent37745db2227954bf1731c5ef4fe8577ee5c8f8ed (diff)
downloadchromium_src-8136ed8a783dc2dd1c9bd547c1cb13951e748786.zip
chromium_src-8136ed8a783dc2dd1c9bd547c1cb13951e748786.tar.gz
chromium_src-8136ed8a783dc2dd1c9bd547c1cb13951e748786.tar.bz2
gn win: Fix sdch force-include
R=brettw@chromium.org TBR=wtc@chromium.org BUG=354261 Review URL: https://codereview.chromium.org/419073003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@286293 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'sdch')
-rw-r--r--sdch/BUILD.gn4
1 files changed, 2 insertions, 2 deletions
diff --git a/sdch/BUILD.gn b/sdch/BUILD.gn
index 9278318..fe6cba8 100644
--- a/sdch/BUILD.gn
+++ b/sdch/BUILD.gn
@@ -62,12 +62,12 @@ static_library("sdch") {
# Inject a header that forwards to base/logging.h instead (which doesn't
# introduce static initializers, and which prevents open-vcdiff's
# logging.h from being used).
- logging_file = rebase_path("logging_forward.h", root_build_dir)
if (is_win) {
cflags = [
- "/FI", logging_file,
+ "/FI", "sdch/logging_forward.h",
]
} else {
+ logging_file = rebase_path("logging_forward.h", root_build_dir)
cflags = [ "-include", logging_file ]
if (is_linux) {
# TODO(mostynb): remove this if open-vcdiff is ever updated for c++11: