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

Side by Side Diff: third_party/WebKit/Source/BUILD.gn

Issue 1930913002: Remove oilpan build configuration vestiges. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 | « no previous file | third_party/WebKit/Source/build/features.gypi » ('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 9
10 visibility = [ "//third_party/WebKit/*" ] 10 visibility = [ "//third_party/WebKit/*" ]
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 root_build_dir), 73 root_build_dir),
74 ] 74 ]
75 } 75 }
76 76
77 cflags += [ 77 cflags += [
78 "-Xclang", 78 "-Xclang",
79 "-add-plugin", 79 "-add-plugin",
80 "-Xclang", 80 "-Xclang",
81 "blink-gc-plugin", 81 "blink-gc-plugin",
82 ] 82 ]
83
84 if (enable_oilpan) {
85 cflags += [
86 "-Xclang",
87 "-plugin-arg-blink-gc-plugin",
88 "-Xclang",
89 "enable-oilpan",
90 ]
91 }
92 } 83 }
93 84
94 ## TODO(GYP) : gn does not yet support use_system_icu. 85 ## TODO(GYP) : gn does not yet support use_system_icu.
95 #if (use_system_icu) { 86 #if (use_system_icu) {
96 # defines += [ "USING_SYSTEM_ICU" ] 87 # defines += [ "USING_SYSTEM_ICU" ]
97 #} 88 #}
98 } 89 }
99 90
100 # The follow configs apply to all targets except for unit tests, which rely on 91 # The follow configs apply to all targets except for unit tests, which rely on
101 # static initializers. 92 # static initializers.
102 config("non_test_config") { 93 config("non_test_config") {
103 cflags = [] 94 cflags = []
104 95
105 if (is_clang) { 96 if (is_clang) {
106 cflags += [ "-Wglobal-constructors" ] 97 cflags += [ "-Wglobal-constructors" ]
107 } 98 }
108 } 99 }
109 100
110 if (is_mac) { 101 if (is_mac) {
111 # This sets up precompiled headers for Mac. 102 # This sets up precompiled headers for Mac.
112 config("mac_precompiled_headers") { 103 config("mac_precompiled_headers") {
113 precompiled_header = rebase_path("build/mac/Prefix.h", root_build_dir) 104 precompiled_header = rebase_path("build/mac/Prefix.h", root_build_dir)
114 precompiled_source = "//third_party/WebKit/Source/build/mac/Prefix.h" 105 precompiled_source = "//third_party/WebKit/Source/build/mac/Prefix.h"
115 } 106 }
116 } 107 }
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/build/features.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698