OLD | NEW |
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 | 9 |
10 visibility = "//third_party/WebKit/*" | 10 visibility = [ "//third_party/WebKit/*" ] |
11 | 11 |
12 # features --------------------------------------------------------------------- | 12 # features --------------------------------------------------------------------- |
13 | 13 |
14 config("features") { | 14 config("features") { |
15 defines = feature_defines_list | 15 defines = feature_defines_list |
16 } | 16 } |
17 | 17 |
18 # inside_blink ----------------------------------------------------------------- | 18 # inside_blink ----------------------------------------------------------------- |
19 | 19 |
20 config("inside_blink") { | 20 config("inside_blink") { |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 | 71 |
72 # The follow configs apply to all targets except for unit tests, which rely on | 72 # The follow configs apply to all targets except for unit tests, which rely on |
73 # static initializers. | 73 # static initializers. |
74 config("non_test_config") { | 74 config("non_test_config") { |
75 cflags = [] | 75 cflags = [] |
76 | 76 |
77 if (is_clang) { | 77 if (is_clang) { |
78 cflags += [ "-Wglobal-constructors" ] | 78 cflags += [ "-Wglobal-constructors" ] |
79 } | 79 } |
80 } | 80 } |
OLD | NEW |