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", |
152 ":remaining", | 153 ":remaining", |
153 ":rendering", | 154 ":rendering", |
| 155 ":svg", |
154 "//third_party/WebKit/Source/core/dom", | 156 "//third_party/WebKit/Source/core/dom", |
155 "//third_party/WebKit/Source/core/events", | 157 "//third_party/WebKit/Source/core/events", |
156 "//third_party/WebKit/Source/core/html", | |
157 "//third_party/WebKit/Source/core/input", | 158 "//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", | |
162 ] | 160 ] |
163 | 161 |
164 if (is_win && is_debug && is_component_build) { | 162 if (is_win && is_debug && is_component_build) { |
165 # Incremental linking doesn't work on this target in debug mode, even | 163 # Incremental linking doesn't work on this target in debug mode, even |
166 # with symbol_level=1. | 164 # with symbol_level=1. |
167 configs -= [ "//build/config/win:default_incremental_linking" ] | 165 configs -= [ "//build/config/win:default_incremental_linking" ] |
168 configs += [ "//build/config/win:no_incremental_linking" ] | 166 configs += [ "//build/config/win:no_incremental_linking" ] |
169 } | 167 } |
170 | 168 |
171 public_configs = [ ":core_include_dirs" ] | 169 public_configs = [ ":core_include_dirs" ] |
172 } | 170 } |
173 | 171 |
| 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 |
174 target(core_link_large_target_type, "remaining") { | 196 target(core_link_large_target_type, "remaining") { |
175 if (is_win && is_official_build && | 197 if (is_win && is_official_build && |
176 core_link_large_target_type == "split_static_library") { | 198 core_link_large_target_type == "split_static_library") { |
177 # Shard this target into parts to work around linker limitations | 199 # Shard this target into parts to work around linker limitations |
178 # on link time code generation builds. | 200 # on link time code generation builds. |
179 split_count = 19 | 201 split_count = 19 |
180 } | 202 } |
181 | 203 |
182 # This is currently a mashup of "webcore_rendering" and "webcore_remaining" | 204 # This is currently a mashup of "webcore_rendering" and "webcore_remaining" |
183 # in GYP. The file list variable is the same and then GYP filters on wether | 205 # 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... |
1225 sources = [ | 1247 sources = [ |
1226 "css/StyleSheetContentsFuzzer.cpp", | 1248 "css/StyleSheetContentsFuzzer.cpp", |
1227 ] | 1249 ] |
1228 deps = [ | 1250 deps = [ |
1229 ":core", | 1251 ":core", |
1230 "../platform:blink_fuzzer_test_support", | 1252 "../platform:blink_fuzzer_test_support", |
1231 ] | 1253 ] |
1232 seed_corpus = "//third_party/WebKit/LayoutTests/fast/css/resources" | 1254 seed_corpus = "//third_party/WebKit/LayoutTests/fast/css/resources" |
1233 libfuzzer_options = [ "max_len=2048" ] | 1255 libfuzzer_options = [ "max_len=2048" ] |
1234 } | 1256 } |
OLD | NEW |