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

Side by Side Diff: third_party/WebKit/Source/bindings/core/v8/BUILD.gn

Issue 2971713002: Use aggregated bindings for jumbo as well as for Windows. (Closed)
Patch Set: Created 3 years, 5 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 | no next file » | 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("//testing/libfuzzer/fuzzer_test.gni") 5 import("//testing/libfuzzer/fuzzer_test.gni")
6 import("//third_party/WebKit/Source/bindings/bindings.gni") 6 import("//third_party/WebKit/Source/bindings/bindings.gni")
7 import("//third_party/WebKit/Source/bindings/scripts/scripts.gni") 7 import("//third_party/WebKit/Source/bindings/scripts/scripts.gni")
8 import("//third_party/WebKit/Source/core/core.gni") 8 import("//third_party/WebKit/Source/core/core.gni")
9 import("//third_party/WebKit/Source/core/core_idl_files.gni") 9 import("//third_party/WebKit/Source/core/core_idl_files.gni")
10 10
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 "$bindings_core_v8_output_dir/FunctionStringCallback.cpp", 104 "$bindings_core_v8_output_dir/FunctionStringCallback.cpp",
105 "$bindings_core_v8_output_dir/FunctionStringCallback.h", 105 "$bindings_core_v8_output_dir/FunctionStringCallback.h",
106 "$bindings_core_v8_output_dir/MojoWatchCallback.cpp", 106 "$bindings_core_v8_output_dir/MojoWatchCallback.cpp",
107 "$bindings_core_v8_output_dir/MojoWatchCallback.h", 107 "$bindings_core_v8_output_dir/MojoWatchCallback.h",
108 "$bindings_core_v8_output_dir/PerformanceObserverCallback.cpp", 108 "$bindings_core_v8_output_dir/PerformanceObserverCallback.cpp",
109 "$bindings_core_v8_output_dir/PerformanceObserverCallback.h", 109 "$bindings_core_v8_output_dir/PerformanceObserverCallback.h",
110 "$bindings_core_v8_output_dir/ResizeObserverCallback.cpp", 110 "$bindings_core_v8_output_dir/ResizeObserverCallback.cpp",
111 "$bindings_core_v8_output_dir/ResizeObserverCallback.h", 111 "$bindings_core_v8_output_dir/ResizeObserverCallback.h",
112 ] 112 ]
113 113
114 if (is_win) { 114 if (is_win || use_jumbo_build) {
115 # On Windows Official release builds, we try to preserve symbol space. 115 # On Windows Official release builds, we try to preserve symbol space.
116 bindings_core_generated_interface_files = 116 bindings_core_generated_interface_files =
117 [ "$bindings_core_v8_output_dir/V8GeneratedCoreBindings.cpp" ] 117 [ "$bindings_core_v8_output_dir/V8GeneratedCoreBindings.cpp" ]
118 } else { 118 } else {
119 bindings_core_generated_interface_files = 119 bindings_core_generated_interface_files =
120 process_file_template( 120 process_file_template(
121 core_definition_idl_files, 121 core_definition_idl_files,
122 [ 122 [
123 "$bindings_core_v8_output_dir/V8{{source_name_part}}.cpp", 123 "$bindings_core_v8_output_dir/V8{{source_name_part}}.cpp",
124 "$bindings_core_v8_output_dir/V8{{source_name_part}}.h", 124 "$bindings_core_v8_output_dir/V8{{source_name_part}}.h",
125 ]) 125 ])
126 } 126 }
127 127
128 group("bindings_core_v8_generated") { 128 group("bindings_core_v8_generated") {
129 public_deps = [ 129 public_deps = [
130 ":bindings_core_impl_generated", 130 ":bindings_core_impl_generated",
131 ] 131 ]
132 if (is_win) { 132 if (is_win || use_jumbo_build) {
133 public_deps += [ ":generate_bindings_core_v8_all_interfaces" ] 133 public_deps += [ ":generate_bindings_core_v8_all_interfaces" ]
134 } else { 134 } else {
135 public_deps += [ ":generate_bindings_core_v8_interfaces" ] 135 public_deps += [ ":generate_bindings_core_v8_interfaces" ]
136 } 136 }
137 } 137 }
138 138
139 # IDL file lists; see: http://www.chromium.org/developers/web-idl-interfaces 139 # IDL file lists; see: http://www.chromium.org/developers/web-idl-interfaces
140 # Interface IDL files: generate individual bindings (includes testing) 140 # Interface IDL files: generate individual bindings (includes testing)
141 idl_compiler("generate_bindings_core_v8_interfaces") { 141 idl_compiler("generate_bindings_core_v8_interfaces") {
142 sources = core_definition_idl_files + core_testing_definition_idl_files + 142 sources = core_definition_idl_files + core_testing_definition_idl_files +
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
214 fuzzer_test("v8_serialized_script_value_fuzzer") { 214 fuzzer_test("v8_serialized_script_value_fuzzer") {
215 sources = [ 215 sources = [
216 "serialization/SerializedScriptValueFuzzer.cpp", 216 "serialization/SerializedScriptValueFuzzer.cpp",
217 ] 217 ]
218 seed_corpus = "serialization/fuzz_corpus" 218 seed_corpus = "serialization/fuzz_corpus"
219 deps = [ 219 deps = [
220 "//third_party/WebKit/Source/core", 220 "//third_party/WebKit/Source/core",
221 "//third_party/WebKit/Source/platform:blink_fuzzer_test_support", 221 "//third_party/WebKit/Source/platform:blink_fuzzer_test_support",
222 ] 222 ]
223 } 223 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698