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

Unified Diff: Source/modules/modules.gni

Issue 343503003: Finish modules build in GN. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: add config 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/modules/BUILD.gn ('k') | Source/modules/modules.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/modules.gni
diff --git a/Source/modules/modules.gni b/Source/modules/modules.gni
index 1a3c784c1272b258216ec16042a09c0cb50f5a54..0f69d83a693f52f41286b2ff134b9efddbdd075b 100644
--- a/Source/modules/modules.gni
+++ b/Source/modules/modules.gni
@@ -2,12 +2,15 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-# This file is gn GN version of modules.gypi. Note that all file lists are
-# relative to the source root.
+# This file is gn GN version of modules.gypi.
+
+blink_modules_output_dir = "$root_gen_dir/blink/modules"
+
_gypi = exec_script(
"//build/gypi_to_gn.py",
[ rebase_path("modules.gypi"),
- "--replace=<(SHARED_INTERMEDIATE_DIR)=$root_gen_dir"],
+ "--replace=<(SHARED_INTERMEDIATE_DIR)=$root_gen_dir",
+ "--replace=<(blink_modules_output_dir)=$blink_modules_output_dir" ],
"scope",
[ "modules.gypi" ])
@@ -45,5 +48,3 @@ modules_testing_dependency_idl_files =
modules_testing_files = get_path_info(_gypi.modules_testing_files, "abspath")
modules_unittest_files = get_path_info(_gypi.modules_unittest_files, "abspath")
-
-blink_modules_output_dir = "$root_gen_dir/blink/modules"
« no previous file with comments | « Source/modules/BUILD.gn ('k') | Source/modules/modules.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698