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("//build/config/chromecast_build.gni") | 5 import("//build/config/chromecast_build.gni") |
6 import("//build/config/ui.gni") | 6 import("//build/config/ui.gni") |
7 import("//build/split_static_library.gni") | 7 import("//build/split_static_library.gni") |
8 import("//testing/libfuzzer/fuzzer_test.gni") | 8 import("//testing/libfuzzer/fuzzer_test.gni") |
9 import("//third_party/WebKit/Source/bindings/bindings.gni") | 9 import("//third_party/WebKit/Source/bindings/bindings.gni") |
10 import("//third_party/WebKit/Source/bindings/core/v8/generated.gni") | 10 import("//third_party/WebKit/Source/bindings/core/v8/generated.gni") |
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
142 public_deps = [ | 142 public_deps = [ |
143 ":core_generated", | 143 ":core_generated", |
144 "//skia", | 144 "//skia", |
145 "//third_party/WebKit/Source/platform", | 145 "//third_party/WebKit/Source/platform", |
146 "//third_party/WebKit/Source/wtf", | 146 "//third_party/WebKit/Source/wtf", |
147 "//third_party/qcms", | 147 "//third_party/qcms", |
148 "//url", | 148 "//url", |
149 "//v8", | 149 "//v8", |
150 ] | 150 ] |
151 deps = [ | 151 deps = [ |
152 ":html", | |
153 ":remaining", | 152 ":remaining", |
154 ":rendering", | 153 ":rendering", |
155 ":svg", | |
156 "//third_party/WebKit/Source/core/dom", | 154 "//third_party/WebKit/Source/core/dom", |
157 "//third_party/WebKit/Source/core/events", | 155 "//third_party/WebKit/Source/core/events", |
| 156 "//third_party/WebKit/Source/core/html", |
158 "//third_party/WebKit/Source/core/input", | 157 "//third_party/WebKit/Source/core/input", |
| 158 "//third_party/WebKit/Source/core/layout/svg", |
159 "//third_party/WebKit/Source/core/observer", | 159 "//third_party/WebKit/Source/core/observer", |
| 160 "//third_party/WebKit/Source/core/style:svg", |
| 161 "//third_party/WebKit/Source/core/svg", |
160 ] | 162 ] |
161 | 163 |
162 if (is_win && is_debug && is_component_build) { | 164 if (is_win && is_debug && is_component_build) { |
163 # Incremental linking doesn't work on this target in debug mode, even | 165 # Incremental linking doesn't work on this target in debug mode, even |
164 # with symbol_level=1. | 166 # with symbol_level=1. |
165 configs -= [ "//build/config/win:default_incremental_linking" ] | 167 configs -= [ "//build/config/win:default_incremental_linking" ] |
166 configs += [ "//build/config/win:no_incremental_linking" ] | 168 configs += [ "//build/config/win:no_incremental_linking" ] |
167 } | 169 } |
168 | 170 |
169 public_configs = [ ":core_include_dirs" ] | 171 public_configs = [ ":core_include_dirs" ] |
170 } | 172 } |
171 | 173 |
172 target(core_link_large_target_type, "html") { | |
173 sources = rebase_path(webcore_html_files, ".", "//") | |
174 | |
175 configs -= core_config_remove | |
176 configs += core_config_add | |
177 | |
178 deps = [ | |
179 ":core_generated", | |
180 ":prerequisites", | |
181 ] | |
182 } | |
183 | |
184 target(core_link_large_target_type, "svg") { | |
185 sources = rebase_path(webcore_svg_files, ".", "//") | |
186 | |
187 configs -= core_config_remove | |
188 configs += core_config_add | |
189 | |
190 deps = [ | |
191 ":core_generated", | |
192 ":prerequisites", | |
193 ] | |
194 } | |
195 | |
196 target(core_link_large_target_type, "remaining") { | 174 target(core_link_large_target_type, "remaining") { |
197 if (is_win && is_official_build && | 175 if (is_win && is_official_build && |
198 core_link_large_target_type == "split_static_library") { | 176 core_link_large_target_type == "split_static_library") { |
199 # Shard this target into parts to work around linker limitations | 177 # Shard this target into parts to work around linker limitations |
200 # on link time code generation builds. | 178 # on link time code generation builds. |
201 split_count = 19 | 179 split_count = 19 |
202 } | 180 } |
203 | 181 |
204 # This is currently a mashup of "webcore_rendering" and "webcore_remaining" | 182 # This is currently a mashup of "webcore_rendering" and "webcore_remaining" |
205 # in GYP. The file list variable is the same and then GYP filters on wether | 183 # in GYP. The file list variable is the same and then GYP filters on wether |
(...skipping 1041 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1247 sources = [ | 1225 sources = [ |
1248 "css/StyleSheetContentsFuzzer.cpp", | 1226 "css/StyleSheetContentsFuzzer.cpp", |
1249 ] | 1227 ] |
1250 deps = [ | 1228 deps = [ |
1251 ":core", | 1229 ":core", |
1252 "../platform:blink_fuzzer_test_support", | 1230 "../platform:blink_fuzzer_test_support", |
1253 ] | 1231 ] |
1254 seed_corpus = "//third_party/WebKit/LayoutTests/fast/css/resources" | 1232 seed_corpus = "//third_party/WebKit/LayoutTests/fast/css/resources" |
1255 libfuzzer_options = [ "max_len=2048" ] | 1233 libfuzzer_options = [ "max_len=2048" ] |
1256 } | 1234 } |
OLD | NEW |