Chromium Code Reviews| 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 27 matching lines...) Expand all Loading... | |
| 38 config("core_include_dirs") { | 38 config("core_include_dirs") { |
| 39 include_dirs = [ | 39 include_dirs = [ |
| 40 "..", | 40 "..", |
| 41 "$root_gen_dir/blink", | 41 "$root_gen_dir/blink", |
| 42 ] | 42 ] |
| 43 if (is_android && use_openmax_dl_fft) { | 43 if (is_android && use_openmax_dl_fft) { |
| 44 include_dirs += [ "//third_party/openmax_dl" ] | 44 include_dirs += [ "//third_party/openmax_dl" ] |
| 45 } | 45 } |
| 46 } | 46 } |
| 47 | 47 |
| 48 if (!is_component_build) { | |
| 49 if (is_win && is_official_build) { | |
| 50 # Shard this target into parts to work around linker limitations | |
| 51 # on link time code generation builds. | |
| 52 split_count = 5 | |
| 53 } else { | |
| 54 split_count = 1 | |
| 55 } | |
| 56 } | |
| 57 | |
| 58 source_set("generated") { | 48 source_set("generated") { |
| 59 deps = [ | 49 deps = [ |
| 60 ":core_generated", | 50 ":core_generated", |
| 61 ":prerequisites", | 51 ":prerequisites", |
| 62 "//gin", | 52 "//gin", |
| 63 "//skia", | 53 "//skia", |
| 64 "//third_party/WebKit/Source/bindings/core/v8:bindings_core_v8_generated", | 54 "//third_party/WebKit/Source/bindings/core/v8:bindings_core_v8_generated", |
| 65 "//third_party/WebKit/Source/core/inspector", | 55 "//third_party/WebKit/Source/core/inspector", |
| 66 "//third_party/iccjpeg", | 56 "//third_party/iccjpeg", |
| 67 "//third_party/libpng", | 57 "//third_party/libpng", |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 173 # 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 |
| 174 # with symbol_level=1. | 164 # with symbol_level=1. |
| 175 configs -= [ "//build/config/win:default_incremental_linking" ] | 165 configs -= [ "//build/config/win:default_incremental_linking" ] |
| 176 configs += [ "//build/config/win:no_incremental_linking" ] | 166 configs += [ "//build/config/win:no_incremental_linking" ] |
| 177 } | 167 } |
| 178 | 168 |
| 179 public_configs = [ ":core_include_dirs" ] | 169 public_configs = [ ":core_include_dirs" ] |
| 180 } | 170 } |
| 181 | 171 |
| 182 target(core_link_large_target_type, "remaining") { | 172 target(core_link_large_target_type, "remaining") { |
| 183 if (is_win && is_official_build && | 173 if (core_link_large_target_type == "split_static_library") { |
| 184 core_link_large_target_type == "split_static_library") { | |
| 185 # Shard this target into parts to work around linker limitations | 174 # Shard this target into parts to work around linker limitations |
| 186 # on link time code generation builds. | 175 # on link time code generation builds. |
| 187 split_count = 19 | 176 if (is_win) { |
| 177 if (is_official_build) { | |
| 178 split_count = 19 | |
|
Nico
2016/09/03 04:04:21
wasn't this before effectively:
if (is_win && i
| |
| 179 } else { | |
| 180 split_count = 5 | |
| 181 } | |
| 182 } else { | |
| 183 split_count = 1 | |
| 184 } | |
| 188 } | 185 } |
| 189 | 186 |
| 190 # This is currently a mashup of "webcore_rendering" and "webcore_remaining" | 187 # 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 | 188 # 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 | 189 # the path starts with "rendering/" or not. We should tweak the .gypis a bit |
| 193 # to separate out the rendering files. | 190 # to separate out the rendering files. |
| 194 sources = rebase_path(webcore_non_rendering_files, ".", "//") | 191 sources = rebase_path(webcore_non_rendering_files, ".", "//") |
| 195 | 192 |
| 196 configs -= core_config_remove | 193 configs -= core_config_remove |
| 197 configs += core_config_add + [ | 194 configs += core_config_add + [ |
| (...skipping 1017 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1215 sources = [ | 1212 sources = [ |
| 1216 "html/parser/HTMLPreloadScannerFuzzer.cpp", | 1213 "html/parser/HTMLPreloadScannerFuzzer.cpp", |
| 1217 "html/parser/TextResourceDecoderForFuzzing.h", | 1214 "html/parser/TextResourceDecoderForFuzzing.h", |
| 1218 ] | 1215 ] |
| 1219 seed_corpus = "//third_party/WebKit/LayoutTests/fast/parser" | 1216 seed_corpus = "//third_party/WebKit/LayoutTests/fast/parser" |
| 1220 deps = [ | 1217 deps = [ |
| 1221 ":core", | 1218 ":core", |
| 1222 "../platform:blink_fuzzer_test_support", | 1219 "../platform:blink_fuzzer_test_support", |
| 1223 ] | 1220 ] |
| 1224 } | 1221 } |
| OLD | NEW |