| OLD | NEW |
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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("//third_party/WebKit/Source/bindings/bindings.gni") |
| 5 import("//third_party/WebKit/Source/core/core.gni") | 6 import("//third_party/WebKit/Source/core/core.gni") |
| 6 | 7 |
| 7 # The paths in this file are absolute since it is imported from different | 8 # The paths in this file are absolute since this file is imported and the |
| 8 # source directories. | 9 # file lists must be valid from multple "current directories". |
| 10 |
| 11 bindings_core_output_dir = "$bindings_output_dir/core" |
| 12 |
| 13 # Global constructors |
| 14 core_global_constructors_original_interfaces = [ |
| 15 "Window", |
| 16 "SharedWorkerGlobalScope", |
| 17 "DedicatedWorkerGlobalScope", |
| 18 ] |
| 19 |
| 20 # The interfaces aren't technically files, but we can treat them as file names |
| 21 # to get process_file_template to generate lists of IDL files corresponding |
| 22 # to each interface. |
| 23 core_global_constructors_generated_idl_files = |
| 24 process_file_template( |
| 25 core_global_constructors_original_interfaces, |
| 26 [ "$blink_core_output_dir/{{source_name_part}}CoreConstructors.idl" ]) |
| 9 | 27 |
| 10 core_idl_files = get_path_info([ | 28 core_idl_files = get_path_info([ |
| 11 "animation/KeyframeEffect.idl", | 29 "animation/KeyframeEffect.idl", |
| 12 "animation/AnimationEffectReadOnly.idl", | 30 "animation/AnimationEffectReadOnly.idl", |
| 13 "animation/AnimationEffectTiming.idl", | 31 "animation/AnimationEffectTiming.idl", |
| 14 "animation/Animation.idl", | 32 "animation/Animation.idl", |
| 15 "animation/AnimationTimeline.idl", | 33 "animation/AnimationTimeline.idl", |
| 16 "animation/DocumentTimeline.idl", | 34 "animation/DocumentTimeline.idl", |
| 17 "clipboard/DataTransfer.idl", | 35 "clipboard/DataTransfer.idl", |
| 18 "clipboard/DataTransferItemList.idl", | 36 "clipboard/DataTransferItemList.idl", |
| (...skipping 562 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 581 ], | 599 ], |
| 582 "abspath") | 600 "abspath") |
| 583 | 601 |
| 584 generated_webcore_testing_idl_files = | 602 generated_webcore_testing_idl_files = |
| 585 get_path_info( | 603 get_path_info( |
| 586 [ | 604 [ |
| 587 "$blink_core_output_dir/testing/InternalRuntimeFlags.idl", | 605 "$blink_core_output_dir/testing/InternalRuntimeFlags.idl", |
| 588 "$blink_core_output_dir/testing/InternalSettingsGenerated.idl", | 606 "$blink_core_output_dir/testing/InternalSettingsGenerated.idl", |
| 589 ], | 607 ], |
| 590 "abspath") | 608 "abspath") |
| 609 |
| 610 core_definition_idl_files = core_dictionary_idl_files + core_idl_files + |
| 611 core_idl_with_modules_dependency_files |
| 612 |
| 613 core_testing_definition_idl_files = |
| 614 core_testing_dictionary_idl_files + webcore_testing_idl_files + |
| 615 webcore_testing_idl_with_modules_dependency_files |
| 616 |
| 617 # Static IDL files |
| 618 core_static_interface_idl_files = |
| 619 core_definition_idl_files + core_testing_definition_idl_files + |
| 620 core_typedefs_enums_only_idl_files |
| 621 |
| 622 core_static_dependency_idl_files = |
| 623 core_dependency_idl_files + webcore_testing_dependency_idl_files |
| 624 |
| 625 # Generated IDL files |
| 626 core_generated_interface_idl_files = generated_webcore_testing_idl_files # inte
rfaces |
| 627 core_generated_dependency_idl_files = |
| 628 core_global_constructors_generated_idl_files # partial interfaces |
| 629 |
| 630 # Dependency IDL files: don't generate individual bindings, but do process |
| 631 # in IDL dependency computation, and count as build dependencies |
| 632 # 'core_dependency_idl_files' is already used in Source/core, so avoid |
| 633 # collision |
| 634 core_all_dependency_idl_files = |
| 635 core_static_dependency_idl_files + core_generated_dependency_idl_files |
| OLD | NEW |