aboutsummaryrefslogtreecommitdiffhomepage
path: root/gn/BUILD.gn
diff options
context:
space:
mode:
authorGravatar Mike Klein <mtklein@chromium.org>2016-10-11 17:08:53 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2016-10-11 21:31:19 +0000
commit3eb71216d2fb70114417ae8ee9b0c5f5dc650704 (patch)
treeebbde45407506bf6787d0f21f89244dafdd24610 /gn/BUILD.gn
parenta2415accf1f184c4df6cffc2ccdd38f8d61031f6 (diff)
More steps toward GN/Windows.
I think I'm now at the point of needing to just resolve missing symbols. GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=3201 Change-Id: Ib908bd72c23f2d4bafd17182eedcb2fc85c422e5 Reviewed-on: https://skia-review.googlesource.com/3201 Reviewed-by: Mike Klein <mtklein@chromium.org> Commit-Queue: Mike Klein <mtklein@chromium.org>
Diffstat (limited to 'gn/BUILD.gn')
-rw-r--r--gn/BUILD.gn9
1 files changed, 8 insertions, 1 deletions
diff --git a/gn/BUILD.gn b/gn/BUILD.gn
index a098a22cd6..7dc8f472b4 100644
--- a/gn/BUILD.gn
+++ b/gn/BUILD.gn
@@ -55,10 +55,15 @@ config("default") {
]
include_dirs = [
"$windk/../Windows Kits/10/Include/10.0.10150.0/ucrt",
- "$windk/../Windows Kits/8.1/Include/um",
"$windk/../Windows Kits/8.1/Include/shared",
+ "$windk/../Windows Kits/8.1/Include/um",
"$windk/VC/include",
]
+ lib_dirs = [
+ "$windk/../Windows Kits/10/Lib/10.0.10150.0/ucrt/x64",
+ "$windk/../Windows Kits/8.1/Lib/winv6.3/um/x64",
+ "$windk/VC/lib/amd64",
+ ]
} else {
cflags += [
"-O1",
@@ -294,6 +299,8 @@ config("executable") {
}
toolchain("msvc") {
+ lib_dir_switch = "/LIBPATH:"
+
cl_exe = "$windk/VC/bin/amd64/cl.exe"
link_exe = "$windk/VC/bin/amd64/link.exe"
lib_exe = "$windk/VC/bin/amd64/lib.exe"