diff options
author | herb <herb@google.com> | 2016-09-16 13:29:57 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-09-16 13:29:57 -0700 |
commit | b6318bf44dd89dc8465dcf48ba820701eae24acb (patch) | |
tree | 6ad7f01fed3c966fcdf7fcb87b66509a18f35f93 /third_party/third_party.gni | |
parent | 3b294d5ba96b68ae1cbe59cfea29b112959cca09 (diff) |
Compile the skia library for windows using gn.
TBR=mtklein@google.com
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2347443002
Review-Url: https://codereview.chromium.org/2347443002
Diffstat (limited to 'third_party/third_party.gni')
-rw-r--r-- | third_party/third_party.gni | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/third_party/third_party.gni b/third_party/third_party.gni index 34751c0286..37b1e03687 100644 --- a/third_party/third_party.gni +++ b/third_party/third_party.gni @@ -12,7 +12,11 @@ template("third_party") { public_configs = [ ":" + target_name + "_public" ] # Warnings are just noise if we're not maintaining the code. - cflags = [ "-w" ] + if (is_win) { + cflags = [ "/w" ] + } else { + cflags = [ "-w" ] + } } } |