Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(22)

Unified Diff: third_party/third_party.gni

Issue 2347443002: Compile the skia library for windows using gn. (Closed)
Patch Set: Merge branch 'master' of https://skia.googlesource.com/skia into bring-up-to-date Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« gn/BUILD.gn ('K') | « third_party/sfntly/BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/third_party.gni
diff --git a/third_party/third_party.gni b/third_party/third_party.gni
index 34751c028693db62d6d3ad9e412c59af515d3d94..37b1e036878ca773551242763d6ccbd2ccd2321c 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" ]
+ }
}
}
« gn/BUILD.gn ('K') | « third_party/sfntly/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698