summaryrefslogtreecommitdiff
path: root/chromium/third_party/WebKit/Source/build/scripts/scripts.gni
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/WebKit/Source/build/scripts/scripts.gni')
-rw-r--r--chromium/third_party/WebKit/Source/build/scripts/scripts.gni9
1 files changed, 7 insertions, 2 deletions
diff --git a/chromium/third_party/WebKit/Source/build/scripts/scripts.gni b/chromium/third_party/WebKit/Source/build/scripts/scripts.gni
index e6789efa3f7..327923530cc 100644
--- a/chromium/third_party/WebKit/Source/build/scripts/scripts.gni
+++ b/chromium/third_party/WebKit/Source/build/scripts/scripts.gni
@@ -64,8 +64,13 @@ make_trie_helpers_files =
# The executables are relative to the build directory. Don't rebase it because
# on Posix we want to run the system one on the path.
if (host_os == "win") {
- gperf_exe = rebase_path("//third_party/gperf/bin/gperf.exe", root_build_dir)
- bison_exe = rebase_path("//third_party/bison/bin/bison.exe", root_build_dir)
+ if (use_qt) {
+ gperf_exe = "gperf.exe"
+ bison_exe = "bison.exe"
+ } else {
+ gperf_exe = rebase_path("//third_party/gperf/bin/gperf.exe", root_build_dir)
+ bison_exe = rebase_path("//third_party/bison/bin/bison.exe", root_build_dir)
+ }
} else {
gperf_exe = "gperf"
bison_exe = "bison"