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

Side by Side Diff: third_party/WebKit/Source/modules/modules.gni

Issue 2323393004: Complete removing Blink gyp files. (Closed)
Patch Set: Windows Created 4 years, 3 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
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 # DON'T INCLUDE modules_idl_files.gni FROM HERE. 5 # DON'T INCLUDE modules_idl_files.gni FROM HERE.
6 # 6 #
7 # This file is shared with all modules' BUILD files which shouldn't need access 7 # This file is shared with all modules' BUILD files which shouldn't need access
8 # to the huge and slow lists of sources. If sharing is necessary, make a 8 # to the huge and slow lists of sources. If sharing is necessary, make a
9 # separate .gni. 9 # separate .gni.
10 import("//third_party/WebKit/Source/config.gni") 10 import("//third_party/WebKit/Source/config.gni")
11 11
12 _gypi = exec_script(
13 "//build/gypi_to_gn.py",
14 [
15 rebase_path("modules.gypi"),
16 "--replace=<(SHARED_INTERMEDIATE_DIR)=$root_gen_dir",
17 "--replace=<(blink_modules_output_dir)=$root_gen_dir/blink/modules",
18 ],
19 "scope",
20 [ "modules.gypi" ])
21 modules_files = get_path_info(_gypi.modules_files, "abspath")
22
23 # Defines a part of blink modules. This is either a source set or a static 12 # Defines a part of blink modules. This is either a source set or a static
24 # library with defaults for commonly-used values. 13 # library with defaults for commonly-used values.
25 # 14 #
26 # deps 15 # deps
27 # Default deps are automatically appended to any specified on the caller. 16 # Default deps are automatically appended to any specified on the caller.
28 # 17 #
29 # visibility 18 # visibility
30 # Normal meaning if defined. If undefined, defaults to everything in core. 19 # Normal meaning if defined. If undefined, defaults to everything in core.
31 template("blink_modules_sources") { 20 template("blink_modules_sources") {
32 if (is_component_build) { 21 if (is_component_build) {
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 "//third_party/WebKit/Source:config", 53 "//third_party/WebKit/Source:config",
65 "//third_party/WebKit/Source/modules:modules_implementation", 54 "//third_party/WebKit/Source/modules:modules_implementation",
66 "//third_party/WebKit/Source:non_test_config", 55 "//third_party/WebKit/Source:non_test_config",
67 "//third_party/WebKit/Source:inside_blink", 56 "//third_party/WebKit/Source:inside_blink",
68 ] 57 ]
69 if (remove_webcore_debug_symbols) { 58 if (remove_webcore_debug_symbols) {
70 configs -= [ "//build/config/compiler:default_symbols" ] 59 configs -= [ "//build/config/compiler:default_symbols" ]
71 configs += [ "//build/config/compiler:no_symbols" ] 60 configs += [ "//build/config/compiler:no_symbols" ]
72 } 61 }
73 } 62 }
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/modules/mediastream/BUILD.gn ('k') | third_party/WebKit/Source/modules/modules.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698