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

Unified Diff: sky/engine/BUILD.gn

Issue 664573003: Fix compile issues in sky on android (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 2 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
« no previous file with comments | « no previous file | sky/engine/core/dom/ElementRareData.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/BUILD.gn
diff --git a/sky/engine/BUILD.gn b/sky/engine/BUILD.gn
index 71e9255ef008e9abf037e674021fc407cad1f6d7..120061999da1ed2782a88c1f927b3155ac3ce3be 100644
--- a/sky/engine/BUILD.gn
+++ b/sky/engine/BUILD.gn
@@ -6,6 +6,9 @@ import("config.gni")
if (is_clang) {
import("//build/config/clang/clang.gni")
}
+if (is_posix) {
+ import("//build/config/gcc/gcc_version.gni")
+}
visibility = ["//sky/*"]
@@ -64,6 +67,10 @@ config("config") {
cflags += [ "-Wno-uninitialized" ]
}
+ if (is_posix && gcc_version >= 49) {
+ cflags += [ "-Wno-unused-but-set-variable" ]
+ }
+
if (is_clang) {
if (sky_gc_plugin && clang_use_chrome_plugins) {
# TODO(GYP)
« no previous file with comments | « no previous file | sky/engine/core/dom/ElementRareData.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698