| 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 # FIXME: factor out bindings_core http://crbug.com/358074 | 5 # FIXME: factor out bindings_core http://crbug.com/358074 |
| 6 import("//third_party/WebKit/Source/bindings/bindings.gni") | 6 import("//third_party/WebKit/Source/bindings/bindings.gni") |
| 7 import("//third_party/WebKit/Source/core/core.gni") | 7 import("//third_party/WebKit/Source/core/core.gni") |
| 8 | 8 |
| 9 bindings_core_output_dir = "$bindings_output_dir/core" | 9 bindings_core_output_dir = "$bindings_output_dir/core" |
| 10 bindings_core_web_modules_output_dir = "$bindings_core_output_dir/webmodules" |
| 10 | 11 |
| 11 # Global constructors | 12 # Global constructors |
| 12 core_global_constructors_original_interfaces = [ | 13 core_global_constructors_original_interfaces = [ |
| 13 "Window", | 14 "Window", |
| 14 "SharedWorkerGlobalScope", | 15 "SharedWorkerGlobalScope", |
| 15 "DedicatedWorkerGlobalScope", | 16 "DedicatedWorkerGlobalScope", |
| 16 ] | 17 ] |
| 17 | 18 |
| 18 core_global_constructors_generated_idl_files = [] | 19 core_global_constructors_generated_idl_files = [] |
| 19 foreach (interface, core_global_constructors_original_interfaces) { | 20 foreach (interface, core_global_constructors_original_interfaces) { |
| 20 core_global_constructors_generated_idl_files += [ | 21 core_global_constructors_generated_idl_files += [ |
| 21 "$blink_core_output_dir/${interface}CoreConstructors.idl" | 22 "$blink_core_output_dir/${interface}CoreConstructors.idl" |
| 22 ] | 23 ] |
| 23 } | 24 } |
| 25 |
| 26 # TODO(ojan): Auto-generate this list from the list of idl inputs. |
| 27 bindings_core_generated_web_modules_files = [ |
| 28 "$bindings_core_web_modules_output_dir/WebModuleNode.cpp", |
| 29 ] |
| OLD | NEW |