Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(27)

Side by Side Diff: Source/core/core.gni

Issue 319983003: Work on blink GN bindings (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 # This file is gn GN version of core.gypi. Note that all file lists are 5 blink_core_output_dir = "$root_gen_dir/blink/core"
6 # relative to the source root unless otherwise noted. 6
7 # This file is gn GN version of core.gypi. We rebase most paths to be absolute
Nils Barth (inactive) 2014/06/10 08:44:17 gn GN?
8 # so these lists can be used by BUILD files in different directories without
9 # worrying about the base directory.
7 _gypi = exec_script( 10 _gypi = exec_script(
8 "//build/gypi_to_gn.py", 11 "//build/gypi_to_gn.py",
9 [ rebase_path("core.gypi"), 12 [ rebase_path("core.gypi"),
10 "--replace=<(SHARED_INTERMEDIATE_DIR)=$root_gen_dir" ], 13 "--replace=<(SHARED_INTERMEDIATE_DIR)=$root_gen_dir",
14 "--replace=<(blink_core_output_dir)=$blink_core_output_dir"],
11 "scope", 15 "scope",
12 [ "core.gypi" ]) 16 [ "core.gypi" ])
13 17
14 # Files for which bindings (.cpp and .h files) will be generated 18 # Files for which bindings (.cpp and .h files) will be generated.
15 core_idl_files = rebase_path(_gypi.core_idl_files, "//") 19 core_idl_files = get_path_info(_gypi.core_idl_files, "abspath")
16 20
17 # 'partial interface', target (right side of) 'implements', and 21 # 'partial interface', target (right side of) 'implements', and
18 # interfaces with static bindings (in bindings/v8/) 22 # interfaces with static bindings (in bindings/v8/)
19 core_dependency_idl_files = rebase_path(_gypi.core_dependency_idl_files, "//") 23 core_dependency_idl_files =
24 get_path_info(_gypi.core_dependency_idl_files, "abspath")
20 25
21 # Interfaces that inherit from Event, including Event itself. 26 # Interfaces that inherit from Event, including Event itself.
22 # Files relative to Source/core 27 core_event_idl_files = get_path_info(_gypi.core_event_idl_files, "abspath")
23 core_event_idl_files = _gypi.core_event_idl_files
24 28
25 webcore_files = rebase_path(_gypi.webcore_files, "//") 29 webcore_files = get_path_info(_gypi.webcore_files, "abspath")
26 webcore_dom_files = rebase_path(_gypi.webcore_dom_files, "//") 30 webcore_dom_files = get_path_info(_gypi.webcore_dom_files, "abspath")
27 webcore_html_files = rebase_path(_gypi.webcore_html_files, "//") 31 webcore_html_files = get_path_info(_gypi.webcore_html_files, "abspath")
28 webcore_svg_files = rebase_path(_gypi.webcore_svg_files, "//") 32 webcore_svg_files = get_path_info(_gypi.webcore_svg_files, "abspath")
29 webcore_testing_idl_files = rebase_path(_gypi.webcore_testing_idl_files, "//") 33 webcore_testing_idl_files = get_path_info(_gypi.webcore_testing_idl_files, "absp ath")
30 generated_webcore_testing_idl_files = 34 generated_webcore_testing_idl_files =
31 rebase_path(_gypi.generated_webcore_testing_idl_files, "//") 35 get_path_info(_gypi.generated_webcore_testing_idl_files, "abspath")
32 webcore_testing_files = rebase_path(_gypi.webcore_testing_files, "//") 36 webcore_testing_files = get_path_info(_gypi.webcore_testing_files, "abspath")
33 core_unittest_files = rebase_path(_gypi.core_unittest_files, "//") 37 core_unittest_files = get_path_info(_gypi.core_unittest_files, "abspath")
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698