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/modules/modules.gni") | 7 import("//third_party/WebKit/Source/modules/modules.gni") |
8 | 8 |
9 bindings_modules_output_dir = "$bindings_output_dir/modules" | 9 bindings_modules_output_dir = "$bindings_output_dir/modules" |
10 | 10 |
11 modules_core_global_constructors_original_interfaces = [ | 11 modules_core_global_constructors_original_interfaces = [ |
| 12 "CompositorWorkerGlobalScope", |
12 "ServiceWorkerGlobalScope", | 13 "ServiceWorkerGlobalScope", |
13 ] | 14 ] |
14 | 15 |
15 modules_global_constructors_original_interfaces = [ | 16 modules_global_constructors_original_interfaces = [ |
16 "Window", | 17 "Window", |
17 "SharedWorkerGlobalScope", | 18 "CompositorWorkerGlobalScope", |
18 "DedicatedWorkerGlobalScope", | 19 "DedicatedWorkerGlobalScope", |
19 "ServiceWorkerGlobalScope", | 20 "ServiceWorkerGlobalScope", |
| 21 "SharedWorkerGlobalScope", |
20 ] | 22 ] |
21 | 23 |
22 modules_core_global_constructors_generated_idl_files = [] | 24 modules_core_global_constructors_generated_idl_files = [] |
23 foreach (interface, modules_core_global_constructors_original_interfaces) { | 25 foreach (interface, modules_core_global_constructors_original_interfaces) { |
24 modules_core_global_constructors_generated_idl_files += [ | 26 modules_core_global_constructors_generated_idl_files += [ |
25 "$blink_modules_output_dir/${interface}CoreConstructors.idl" | 27 "$blink_modules_output_dir/${interface}CoreConstructors.idl" |
26 ] | 28 ] |
27 } | 29 } |
28 | 30 |
29 modules_global_constructors_generated_idl_files = [] | 31 modules_global_constructors_generated_idl_files = [] |
30 foreach (interface, modules_global_constructors_original_interfaces) { | 32 foreach (interface, modules_global_constructors_original_interfaces) { |
31 modules_global_constructors_generated_idl_files += [ | 33 modules_global_constructors_generated_idl_files += [ |
32 "$blink_modules_output_dir/${interface}ModulesConstructors.idl" | 34 "$blink_modules_output_dir/${interface}ModulesConstructors.idl" |
33 ] | 35 ] |
34 } | 36 } |
35 | 37 |
OLD | NEW |