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

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

Issue 2312093003: Generated bindings for IDL callback functions (Closed)
Patch Set: Changed BUILD.gn Created 4 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/bindings/core/v8/BUILD.gn
diff --git a/third_party/WebKit/Source/bindings/core/v8/BUILD.gn b/third_party/WebKit/Source/bindings/core/v8/BUILD.gn
index 4c915e3a41b066c9965d1f42be76385e69d33217..90ec1ede84414e3037ea48fdc22b401cabd0804c 100644
--- a/third_party/WebKit/Source/bindings/core/v8/BUILD.gn
+++ b/third_party/WebKit/Source/bindings/core/v8/BUILD.gn
@@ -192,6 +192,11 @@ generated_core_testing_dictionary_files = [
"$blink_core_output_dir/testing/InternalDictionaryDerivedDerived.h",
]
+generated_core_testing_callback_function_files = [
+ "$bindings_core_v8_output_dir/V8TestCallback.cpp",
+ "$bindings_core_v8_output_dir/V8TestCallback.h",
+]
+
if (is_win && is_official_build) {
bindings_core_generated_aggregate_files =
[ "$bindings_core_v8_output_dir/V8GeneratedCoreBindings.cpp" ]
@@ -307,9 +312,10 @@ idl_compiler("bindings_core_v8_generated_individual") {
idl_impl("bindings_core_impl_generated") {
sources = core_dictionary_idl_files + core_testing_dictionary_idl_files
- outputs =
- bindings_core_generated_union_type_files +
- generated_core_dictionary_files + generated_core_testing_dictionary_files
+ outputs = bindings_core_generated_union_type_files +
+ generated_core_dictionary_files +
+ generated_core_testing_dictionary_files +
+ generated_core_testing_callback_function_files
output_dir = bindings_core_v8_output_dir
target_component = "core"
}
@@ -330,7 +336,8 @@ blink_core_sources("bindings_core_impl") {
# as part of the "core" component so shouldn't use the blink_core_sources for
# linking on Windows.
source_set("testing") {
- sources = generated_core_testing_dictionary_files
+ sources = generated_core_testing_dictionary_files +
+ generated_core_testing_callback_function_files
configs -= core_config_remove
configs += [

Powered by Google App Engine
This is Rietveld 408576698