aboutsummaryrefslogtreecommitdiff
path: root/BUILD.gn
diff options
context:
space:
mode:
authorNico Weber <thakis@chromium.org>2017-07-25 12:25:14 -0400
committerNico Weber <thakis@chromium.org>2017-07-25 17:28:31 +0000
commit58d3392ad3ffec144c1639e2370e4f30ce046ed9 (patch)
tree1b54ad62dbda59157eabe23065afdd1e71f871e2 /BUILD.gn
parentfba90197f7d3e6e65ce2ec609d73a08f187bf800 (diff)
downloadlibyuv-58d3392ad3ffec144c1639e2370e4f30ce046ed9.tar.gz
win: Rename clang_x64 to win_clang_x64 in build/toolchain/win, step 2/5.
In cross builds of chrome/win, the host and target toolchains currently have the same name. To fix this, rename clang_x64 to win_clang_x64. Because the toolchain name is also referenced in libyuv, this requires a five-sided change: 1. Introduce variable containing the toolchain name in src.git 2* Change libyuv to refer to the variable 3. Rename toolchain in src.git (including in the newly introduced var) 4. Let libyuv refer to the new name directly 5. Remove variable again (See also https://codereview.chromium.org/2463143002) TBR=fbarchard Bug: 748501 Change-Id: Id8398ab5c4615c7c33dfa5ec793fdc8c0a717e57 Reviewed-on: https://chromium-review.googlesource.com/585307 Reviewed-by: Nico Weber <thakis@chromium.org> Reviewed-by: Frank Barchard <fbarchard@google.com>
Diffstat (limited to 'BUILD.gn')
-rw-r--r--BUILD.gn3
1 files changed, 2 insertions, 1 deletions
diff --git a/BUILD.gn b/BUILD.gn
index ecc51f9a..fa4a5f3e 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -7,6 +7,7 @@
# be found in the AUTHORS file in the root of the source tree.
import("libyuv.gni")
+import("//build/toolchain/win/clang_name.gni")
import("//testing/test.gni")
declare_args() {
@@ -47,7 +48,7 @@ group("libyuv") {
if (is_win && target_cpu == "x64") {
# Compile with clang in order to get inline assembly
public_deps = [
- ":libyuv_internal(//build/toolchain/win:clang_x64)",
+ ":libyuv_internal($win_clang_x64_toolchain)",
]
} else {
public_deps = [