| 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 "CompositorWorkerGlobalScope", |
| 13 "PaintWorkletGlobalScope", | 13 "PaintWorkletGlobalScope", |
| 14 "ServiceWorkerGlobalScope", | 14 "ServiceWorkerGlobalScope", |
| 15 "AudioWorkletGlobalScope", |
| 15 ] | 16 ] |
| 16 | 17 |
| 17 modules_global_constructors_original_interfaces = [ | 18 modules_global_constructors_original_interfaces = [ |
| 18 "Window", | 19 "Window", |
| 19 "CompositorWorkerGlobalScope", | 20 "CompositorWorkerGlobalScope", |
| 20 "DedicatedWorkerGlobalScope", | 21 "DedicatedWorkerGlobalScope", |
| 21 "PaintWorkletGlobalScope", | 22 "PaintWorkletGlobalScope", |
| 22 "ServiceWorkerGlobalScope", | 23 "ServiceWorkerGlobalScope", |
| 23 "SharedWorkerGlobalScope", | 24 "SharedWorkerGlobalScope", |
| 25 "AudioWorkletGlobalScope", |
| 24 ] | 26 ] |
| 25 | 27 |
| 26 modules_core_global_constructors_generated_idl_files = [] | 28 modules_core_global_constructors_generated_idl_files = [] |
| 27 foreach(interface, modules_core_global_constructors_original_interfaces) { | 29 foreach(interface, modules_core_global_constructors_original_interfaces) { |
| 28 modules_core_global_constructors_generated_idl_files += | 30 modules_core_global_constructors_generated_idl_files += |
| 29 [ "$blink_modules_output_dir/${interface}CoreConstructors.idl" ] | 31 [ "$blink_modules_output_dir/${interface}CoreConstructors.idl" ] |
| 30 } | 32 } |
| 31 | 33 |
| 32 modules_global_constructors_generated_idl_files = [] | 34 modules_global_constructors_generated_idl_files = [] |
| 33 foreach(interface, modules_global_constructors_original_interfaces) { | 35 foreach(interface, modules_global_constructors_original_interfaces) { |
| 34 modules_global_constructors_generated_idl_files += | 36 modules_global_constructors_generated_idl_files += |
| 35 [ "$blink_modules_output_dir/${interface}ModulesConstructors.idl" ] | 37 [ "$blink_modules_output_dir/${interface}ModulesConstructors.idl" ] |
| 36 } | 38 } |
| OLD | NEW |