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

Side by Side Diff: Source/BUILD.gn

Issue 329993006: Implement main blink target in GN. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | Source/bindings/BUILD.gn » ('j') | Source/bindings/scripts/scripts.gni » ('J')
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 9
10 visibility = "//third_party/WebKit/*"
11
10 # features --------------------------------------------------------------------- 12 # features ---------------------------------------------------------------------
11 13
12 config("features") { 14 config("features") {
13 defines = feature_defines_list 15 defines = feature_defines_list
14 } 16 }
15 17
16 # inside_blink ----------------------------------------------------------------- 18 # inside_blink -----------------------------------------------------------------
17 19
18 config("inside_blink") { 20 config("inside_blink") {
19 defines = [ 21 defines = [
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 73
72 # The follow configs apply to all targets except for unit tests, which rely on 74 # The follow configs apply to all targets except for unit tests, which rely on
73 # static initializers. 75 # static initializers.
74 config("non_test_config") { 76 config("non_test_config") {
75 cflags = [] 77 cflags = []
76 78
77 if (is_clang) { 79 if (is_clang) {
78 cflags += [ "-Wglobal-constructors" ] 80 cflags += [ "-Wglobal-constructors" ]
79 } 81 }
80 } 82 }
81
82 # stubs ------------------------------------------------------------------------
83
84 # These set up include paths for targets that haven't been converted yet. They
85 # can be removed when the corresponding targets have been converted to GN.
86 config("npapi_stub") {
87 include_dirs = [ "//third_party/npapi", "//third_party/npapi/bindings" ]
88 }
OLDNEW
« no previous file with comments | « no previous file | Source/bindings/BUILD.gn » ('j') | Source/bindings/scripts/scripts.gni » ('J')

Powered by Google App Engine
This is Rietveld 408576698