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 3# found in the LICENSE file. 4 5blink_core_output_dir = "$root_gen_dir/blink/core" 6 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 9# worrying about the base directory. 10_gypi = exec_script( 11 "//build/gypi_to_gn.py", 12 [ rebase_path("core.gypi"), 13 "--replace=<(SHARED_INTERMEDIATE_DIR)=$root_gen_dir", 14 "--replace=<(blink_core_output_dir)=$blink_core_output_dir"], 15 "scope", 16 [ "core.gypi" ]) 17 18# Files for which bindings (.cpp and .h files) will be generated. 19core_idl_files = get_path_info(_gypi.core_idl_files, "abspath") 20 21core_dictionary_idl_files = 22 get_path_info(_gypi.core_dictionary_idl_files, "abspath") 23core_testing_dictionary_idl_files = 24 get_path_info(_gypi.core_testing_dictionary_idl_files, "abspath") 25 26# 'partial interface', target (right side of) 'implements', and 27# interfaces with static bindings (in bindings/core/v8/) 28core_dependency_idl_files = 29 get_path_info(_gypi.core_dependency_idl_files, "abspath") 30 31# Interfaces that inherit from Event, including Event itself. 32core_event_idl_files = get_path_info(_gypi.core_event_idl_files, "abspath") 33 34webcore_files = get_path_info(_gypi.webcore_files, "abspath") 35webcore_dom_files = get_path_info(_gypi.webcore_dom_files, "abspath") 36webcore_html_files = get_path_info(_gypi.webcore_html_files, "abspath") 37webcore_svg_files = get_path_info(_gypi.webcore_svg_files, "abspath") 38webcore_testing_idl_files = 39 get_path_info(_gypi.webcore_testing_idl_files, "abspath") 40webcore_testing_dependency_idl_files = 41 get_path_info(_gypi.webcore_testing_dependency_idl_files, "abspath") 42generated_core_dictionary_files = 43 get_path_info(_gypi.generated_core_dictionary_files, "abspath") 44generated_core_testing_dictionary_files = 45 get_path_info(_gypi.generated_core_testing_dictionary_files, "abspath") 46generated_webcore_testing_idl_files = 47 get_path_info(_gypi.generated_webcore_testing_idl_files, "abspath") 48webcore_testing_files = get_path_info(_gypi.webcore_testing_files, "abspath") 49core_unittest_files = get_path_info(_gypi.core_unittest_files, "abspath") 50