| 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 blink_core_output_dir = "$root_gen_dir/blink/core" | 5 blink_core_output_dir = "$root_gen_dir/blink/core" |
| 6 | 6 |
| 7 # This file is the GN version of core.gypi. We rebase most paths to be absolute | 7 # This file is the GN version of core.gypi. We rebase most paths to be absolute |
| 8 # so these lists can be used by BUILD files in different directories without | 8 # so these lists can be used by BUILD files in different directories without |
| 9 # worrying about the base directory. | 9 # worrying about the base directory. |
| 10 _gypi = exec_script( | 10 _gypi = |
| 11 "//build/gypi_to_gn.py", | 11 exec_script("//build/gypi_to_gn.py", |
| 12 [ rebase_path("core.gypi"), | 12 [ |
| 13 "--replace=<(SHARED_INTERMEDIATE_DIR)=$root_gen_dir", | 13 rebase_path("core.gypi"), |
| 14 "--replace=<(blink_core_output_dir)=$blink_core_output_dir"], | 14 "--replace=<(SHARED_INTERMEDIATE_DIR)=$root_gen_dir", |
| 15 "scope", | 15 "--replace=<(blink_core_output_dir)=$blink_core_output_dir", |
| 16 [ "core.gypi" ]) | 16 ], |
| 17 "scope", |
| 18 [ "core.gypi" ]) |
| 17 | 19 |
| 18 # Files for which bindings (.cpp and .h files) will be generated. | 20 # Files for which bindings (.cpp and .h files) will be generated. |
| 19 core_idl_files = get_path_info(_gypi.core_idl_files, "abspath") | 21 core_idl_files = get_path_info(_gypi.core_idl_files, "abspath") |
| 20 core_idl_with_modules_dependency_files = | 22 core_idl_with_modules_dependency_files = |
| 21 get_path_info(_gypi.core_idl_with_modules_dependency_files, "abspath") | 23 get_path_info(_gypi.core_idl_with_modules_dependency_files, "abspath") |
| 22 | 24 |
| 23 core_dictionary_idl_files = | 25 core_dictionary_idl_files = |
| 24 get_path_info(_gypi.core_dictionary_idl_files, "abspath") | 26 get_path_info(_gypi.core_dictionary_idl_files, "abspath") |
| 25 core_testing_dictionary_idl_files = | 27 core_testing_dictionary_idl_files = |
| 26 get_path_info(_gypi.core_testing_dictionary_idl_files, "abspath") | 28 get_path_info(_gypi.core_testing_dictionary_idl_files, "abspath") |
| 27 | 29 |
| 28 # 'partial interface', target (right side of) 'implements', and | 30 # 'partial interface', target (right side of) 'implements', and |
| 29 # interfaces with static bindings (in bindings/core/v8/) | 31 # interfaces with static bindings (in bindings/core/v8/) |
| 30 core_dependency_idl_files = | 32 core_dependency_idl_files = |
| 31 get_path_info(_gypi.core_dependency_idl_files, "abspath") | 33 get_path_info(_gypi.core_dependency_idl_files, "abspath") |
| 32 | 34 |
| 33 # Interfaces that inherit from Event, including Event itself. | 35 # Interfaces that inherit from Event, including Event itself. |
| 34 core_event_idl_files = get_path_info(_gypi.core_event_idl_files, "abspath") | 36 core_event_idl_files = get_path_info(_gypi.core_event_idl_files, "abspath") |
| 35 | 37 |
| 36 # IDL files that only have typedefs/enums. | 38 # IDL files that only have typedefs/enums. |
| 37 core_typedefs_enums_only_idl_files = | 39 core_typedefs_enums_only_idl_files = |
| 38 get_path_info(_gypi.core_typedefs_enums_only_idl_files, "abspath") | 40 get_path_info(_gypi.core_typedefs_enums_only_idl_files, "abspath") |
| 39 | 41 |
| 40 webcore_non_rendering_files = | 42 webcore_non_rendering_files = |
| 41 get_path_info(_gypi.webcore_non_rendering_files, "abspath") | 43 get_path_info(_gypi.webcore_non_rendering_files, "abspath") |
| 42 webcore_rendering_files = | 44 webcore_rendering_files = |
| 43 get_path_info(_gypi.webcore_rendering_files, "abspath") | 45 get_path_info(_gypi.webcore_rendering_files, "abspath") |
| 44 webcore_dom_files = get_path_info(_gypi.webcore_dom_files, "abspath") | 46 webcore_dom_files = get_path_info(_gypi.webcore_dom_files, "abspath") |
| 45 webcore_html_files = get_path_info(_gypi.webcore_html_files, "abspath") | 47 webcore_html_files = get_path_info(_gypi.webcore_html_files, "abspath") |
| 46 webcore_svg_files = get_path_info(_gypi.webcore_svg_files, "abspath") | 48 webcore_svg_files = get_path_info(_gypi.webcore_svg_files, "abspath") |
| 47 webcore_testing_idl_files = | 49 webcore_testing_idl_files = |
| 48 get_path_info(_gypi.webcore_testing_idl_files, "abspath") | 50 get_path_info(_gypi.webcore_testing_idl_files, "abspath") |
| 49 webcore_testing_idl_with_modules_dependency_files = | 51 webcore_testing_idl_with_modules_dependency_files = |
| 50 get_path_info(_gypi.webcore_testing_idl_with_modules_dependency_files, "abspat
h") | 52 get_path_info(_gypi.webcore_testing_idl_with_modules_dependency_files, |
| 53 "abspath") |
| 51 webcore_testing_dependency_idl_files = | 54 webcore_testing_dependency_idl_files = |
| 52 get_path_info(_gypi.webcore_testing_dependency_idl_files, "abspath") | 55 get_path_info(_gypi.webcore_testing_dependency_idl_files, "abspath") |
| 53 generated_core_dictionary_files = | 56 generated_core_dictionary_files = |
| 54 get_path_info(_gypi.generated_core_dictionary_files, "abspath") | 57 get_path_info(_gypi.generated_core_dictionary_files, "abspath") |
| 55 generated_core_testing_dictionary_files = | 58 generated_core_testing_dictionary_files = |
| 56 get_path_info(_gypi.generated_core_testing_dictionary_files, "abspath") | 59 get_path_info(_gypi.generated_core_testing_dictionary_files, "abspath") |
| 57 generated_webcore_testing_idl_files = | 60 generated_webcore_testing_idl_files = |
| 58 get_path_info(_gypi.generated_webcore_testing_idl_files, "abspath") | 61 get_path_info(_gypi.generated_webcore_testing_idl_files, "abspath") |
| 59 webcore_testing_files = get_path_info(_gypi.webcore_testing_files, "abspath") | 62 webcore_testing_files = get_path_info(_gypi.webcore_testing_files, "abspath") |
| 60 core_unittest_files = get_path_info(_gypi.core_unittest_files, "abspath") | 63 core_unittest_files = get_path_info(_gypi.core_unittest_files, "abspath") |
| OLD | NEW |