| 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 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 ":remaining", | 152 ":remaining", |
| 153 "//third_party/WebKit/Source/core/animation", | 153 ":rendering", |
| 154 "//third_party/WebKit/Source/core/clipboard", | |
| 155 "//third_party/WebKit/Source/core/css", | |
| 156 "//third_party/WebKit/Source/core/dom", | 154 "//third_party/WebKit/Source/core/dom", |
| 157 "//third_party/WebKit/Source/core/editing", | |
| 158 "//third_party/WebKit/Source/core/events", | 155 "//third_party/WebKit/Source/core/events", |
| 159 "//third_party/WebKit/Source/core/fetch", | |
| 160 "//third_party/WebKit/Source/core/fileapi", | |
| 161 "//third_party/WebKit/Source/core/frame", | |
| 162 "//third_party/WebKit/Source/core/html", | 156 "//third_party/WebKit/Source/core/html", |
| 163 "//third_party/WebKit/Source/core/input", | 157 "//third_party/WebKit/Source/core/input", |
| 164 "//third_party/WebKit/Source/core/layout", | |
| 165 "//third_party/WebKit/Source/core/layout/svg", | 158 "//third_party/WebKit/Source/core/layout/svg", |
| 166 "//third_party/WebKit/Source/core/observer", | 159 "//third_party/WebKit/Source/core/observer", |
| 167 "//third_party/WebKit/Source/core/style:rendering", | |
| 168 "//third_party/WebKit/Source/core/style:svg", | 160 "//third_party/WebKit/Source/core/style:svg", |
| 169 "//third_party/WebKit/Source/core/svg", | 161 "//third_party/WebKit/Source/core/svg", |
| 170 ] | 162 ] |
| 171 | 163 |
| 172 if (is_win && is_debug && is_component_build) { | 164 if (is_win && is_debug && is_component_build) { |
| 173 # 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 |
| 174 # with symbol_level=1. | 166 # with symbol_level=1. |
| 175 configs -= [ "//build/config/win:default_incremental_linking" ] | 167 configs -= [ "//build/config/win:default_incremental_linking" ] |
| 176 configs += [ "//build/config/win:no_incremental_linking" ] | 168 configs += [ "//build/config/win:no_incremental_linking" ] |
| 177 } | 169 } |
| 178 | 170 |
| 179 public_configs = [ ":core_include_dirs" ] | 171 public_configs = [ ":core_include_dirs" ] |
| 180 } | 172 } |
| 181 | 173 |
| 182 target(core_link_large_target_type, "remaining") { | 174 target(core_link_large_target_type, "remaining") { |
| 183 if (is_win && is_official_build && | 175 if (is_win && is_official_build && |
| 184 core_link_large_target_type == "split_static_library") { | 176 core_link_large_target_type == "split_static_library") { |
| 185 # Shard this target into parts to work around linker limitations | 177 # Shard this target into parts to work around linker limitations |
| 186 # on link time code generation builds. | 178 # on link time code generation builds. |
| 187 split_count = 19 | 179 split_count = 19 |
| 188 } | 180 } |
| 189 | 181 |
| 190 # This is currently a mashup of "webcore_rendering" and "webcore_remaining" | 182 # This is currently a mashup of "webcore_rendering" and "webcore_remaining" |
| 191 # 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 |
| 192 # the path starts with "rendering/" or not. We should tweak the .gypis a bit | 184 # the path starts with "rendering/" or not. We should tweak the .gypis a bit |
| 193 # to separate out the rendering files. | 185 # to separate out the rendering files. |
| 194 sources = rebase_path(webcore_non_rendering_files, ".", "//") | 186 sources = rebase_path(webcore_non_rendering_files, ".", "//") |
| 187 sources += rebase_path(webcore_rendering_files, ".", "//") |
| 195 | 188 |
| 196 configs -= core_config_remove | 189 configs -= core_config_remove |
| 197 configs += core_config_add + [ | 190 configs += core_config_add + [ |
| 198 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 191 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 199 "//build/config/compiler:no_size_t_to_int_warning", | 192 "//build/config/compiler:no_size_t_to_int_warning", |
| 200 ] | 193 ] |
| 201 | 194 |
| 202 cflags = [] | 195 cflags = [] |
| 203 libs = [] | 196 libs = [] |
| 204 | 197 |
| 205 deps = [ | 198 deps = [ |
| 206 ":core_generated", | 199 ":core_generated", |
| 207 ":prerequisites", | 200 ":prerequisites", |
| 208 ] | 201 ] |
| 209 | 202 |
| 203 if (is_win) { |
| 204 cflags += [ "/wd4334" ] |
| 205 sources -= [ "layout/LayoutThemeFontProviderDefault.cpp" ] |
| 206 } else { # !is_win |
| 207 sources -= [ |
| 208 "layout/LayoutThemeFontProviderWin.cpp", |
| 209 "layout/LayoutThemeWin.cpp", |
| 210 "layout/LayoutThemeWin.h", |
| 211 ] |
| 212 } |
| 213 |
| 214 if (!is_linux) { |
| 215 sources -= [ |
| 216 "layout/LayoutThemeLinux.cpp", |
| 217 "layout/LayoutThemeLinux.h", |
| 218 ] |
| 219 } |
| 220 |
| 221 if (!is_android) { |
| 222 sources -= [ |
| 223 "layout/LayoutThemeAndroid.cpp", |
| 224 "layout/LayoutThemeAndroid.h", |
| 225 ] |
| 226 } |
| 227 |
| 210 if (is_mac) { | 228 if (is_mac) { |
| 211 libs += [ | 229 libs += [ |
| 212 "AppKit.framework", | 230 "AppKit.framework", |
| 213 "Carbon.framework", | 231 "Carbon.framework", |
| 214 ] | 232 ] |
| 233 } else { # !is_mac |
| 234 sources -= [ "editing/commands/SmartReplaceCF.cpp" ] |
| 215 } | 235 } |
| 216 } | 236 } |
| 217 | 237 |
| 238 source_set("rendering") { |
| 239 # The files that go here are currently in "remaining". |
| 240 } |
| 241 |
| 218 source_set("testing") { | 242 source_set("testing") { |
| 219 configs += [ | 243 configs += [ |
| 220 "//third_party/WebKit/Source:inside_blink", | 244 "//third_party/WebKit/Source:inside_blink", |
| 221 "//third_party/WebKit/Source:config", | 245 "//third_party/WebKit/Source:config", |
| 222 ] | 246 ] |
| 223 | 247 |
| 224 deps = [ | 248 deps = [ |
| 225 ":core", | 249 ":core", |
| 226 ":generated_testing_idls", | 250 ":generated_testing_idls", |
| 227 ] | 251 ] |
| (...skipping 973 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1201 sources = [ | 1225 sources = [ |
| 1202 "css/StyleSheetContentsFuzzer.cpp", | 1226 "css/StyleSheetContentsFuzzer.cpp", |
| 1203 ] | 1227 ] |
| 1204 deps = [ | 1228 deps = [ |
| 1205 ":core", | 1229 ":core", |
| 1206 "../platform:blink_fuzzer_test_support", | 1230 "../platform:blink_fuzzer_test_support", |
| 1207 ] | 1231 ] |
| 1208 seed_corpus = "//third_party/WebKit/LayoutTests/fast/css/resources" | 1232 seed_corpus = "//third_party/WebKit/LayoutTests/fast/css/resources" |
| 1209 libfuzzer_options = [ "max_len=2048" ] | 1233 libfuzzer_options = [ "max_len=2048" ] |
| 1210 } | 1234 } |
| OLD | NEW |