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

Side by Side Diff: sky/engine/BUILD.gn

Issue 988693005: Chromium roll (https://codereview.chromium.org/976353002) (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: fixed bad android build patch Created 5 years, 9 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 unified diff | Download patch
« no previous file with comments | « sky/compositor/layer_host.h ('k') | sky/engine/config.gni » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("config.gni") 5 import("config.gni")
6 if (is_clang) { 6 if (is_clang) {
7 import("//build/config/clang/clang.gni") 7 import("//build/config/clang/clang.gni")
8 } 8 }
9 if (is_posix) { 9 if (is_posix) {
10 import("//build/config/gcc/gcc_version.gni") 10 import("//build/config/gcc/gcc_version.gni")
(...skipping 28 matching lines...) Expand all
39 cflags = [] 39 cflags = []
40 defines = [] 40 defines = []
41 41
42 # TODO(GYP) this should be based on gcc_version >= 46 but GN doesn't have a 42 # TODO(GYP) this should be based on gcc_version >= 46 but GN doesn't have a
43 # concept of GCC version yet. 43 # concept of GCC version yet.
44 44
45 # Disable warnings about c++0x compatibility, as some names (such as 45 # Disable warnings about c++0x compatibility, as some names (such as
46 # nullptr) conflict with upcoming c++0x types. 46 # nullptr) conflict with upcoming c++0x types.
47 cflags_cc = [ "-Wno-c++0x-compat" ] 47 cflags_cc = [ "-Wno-c++0x-compat" ]
48 48
49 if (is_linux && cpu_arch == "arm") { 49 if (is_linux && target_cpu == "arm") {
50 # Due to a bug in gcc arm, we get warnings about uninitialized 50 # Due to a bug in gcc arm, we get warnings about uninitialized
51 # timesNewRoman.unstatic.3258 and colorTransparent.unstatic.4879. 51 # timesNewRoman.unstatic.3258 and colorTransparent.unstatic.4879.
52 cflags += [ "-Wno-uninitialized" ] 52 cflags += [ "-Wno-uninitialized" ]
53 } 53 }
54 54
55 if (is_posix && gcc_version >= 49) { 55 if (is_posix && gcc_version >= 49) {
56 cflags += [ "-Wno-unused-but-set-variable" ] 56 cflags += [ "-Wno-unused-but-set-variable" ]
57 } 57 }
58 } 58 }
59 59
60 # The follow configs apply to all targets except for unit tests, which rely on 60 # The follow configs apply to all targets except for unit tests, which rely on
61 # static initializers. 61 # static initializers.
62 config("non_test_config") { 62 config("non_test_config") {
63 cflags = [] 63 cflags = []
64 64
65 if (is_clang) { 65 if (is_clang) {
66 cflags += [ "-Wglobal-constructors" ] 66 cflags += [ "-Wglobal-constructors" ]
67 } 67 }
68 } 68 }
69 69
70 group("engine") { 70 group("engine") {
71 deps = [ 71 deps = [
72 "//sky/engine/web", 72 "//sky/engine/web",
73 "//sky/engine/platform", 73 "//sky/engine/platform",
74 ] 74 ]
75 } 75 }
OLDNEW
« no previous file with comments | « sky/compositor/layer_host.h ('k') | sky/engine/config.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698