diff options
author | Mike Klein <mtklein@chromium.org> | 2016-10-24 16:49:15 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2016-10-26 14:37:43 +0000 |
commit | 82364bae1690d0f4421afa0116441d99ce35b92a (patch) | |
tree | 34c8cba80c3778d2f029900246cd1fdedc35abbc /gn/BUILDCONFIG.gn | |
parent | 3cfdf6c8b1f0c6ebe59ddd0d2750976c2dd1921d (diff) |
Build for Android from Windows, work in progress.
Pretty vanilla stuff here, mostly just making the gcc-like toolchain Windows friendly.
I was having trouble getting rm -r {{output}} && $ar rcs {{output}} @$rspfile to work without deleting my ar.exe, so I chickened out the usual way by adding gn/ar.py.
I've also updated bin/droid to work with Git Bash on Windows.
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=3751
Change-Id: I04c34ccc91e6a291c11ac4e7a7a0ffe41d879fe6
Reviewed-on: https://skia-review.googlesource.com/3751
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: Mike Klein <mtklein@chromium.org>
Diffstat (limited to 'gn/BUILDCONFIG.gn')
-rw-r--r-- | gn/BUILDCONFIG.gn | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gn/BUILDCONFIG.gn b/gn/BUILDCONFIG.gn index d997ec513c..12df69d3a2 100644 --- a/gn/BUILDCONFIG.gn +++ b/gn/BUILDCONFIG.gn @@ -59,6 +59,8 @@ if (is_android) { ndk_host = "linux-x86_64" } else if (host_os == "mac") { ndk_host = "darwin-x86_64" + } else if (host_os == "win") { + ndk_host = "windows-x86_64" } if (target_cpu == "arm64") { |