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

Unified Diff: Source/modules/modules.gni

Issue 298703005: First pass on blink compiling for GN build (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebuilding fixed Created 6 years, 7 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
Index: Source/modules/modules.gni
diff --git a/Source/modules/modules.gni b/Source/modules/modules.gni
new file mode 100644
index 0000000000000000000000000000000000000000..52d3fe9c9c0070fc23a6d9edd49fea47128713a7
--- /dev/null
+++ b/Source/modules/modules.gni
@@ -0,0 +1,34 @@
+# Copyright 2014 The Chromium Authors. All rights reserved.
+# 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.
+_gypi = exec_script(
+ "//build/gypi_to_gn.py",
+ [ rebase_path("modules.gypi"),
+ "--replace=<(SHARED_INTERMEDIATE_DIR)=$root_gen_dir"],
+ "scope",
+ [ "modules.gypi" ])
+
+_tmp_modules_idl_files = _gypi.modules_idl_files
+# modules_idl_files has a magic variable in it that is an embedder hook,
+# remove that since it's not a file.
+_tmp_modules_idl_files -= [ "<@(extra_blink_module_idl_files)" ]
+modules_idl_files = rebase_path(_tmp_modules_idl_files, "//")
+
+# 'partial interface' or target (right side of) 'implements'
+modules_dependency_idl_files =
+ rebase_path(_gypi.modules_dependency_idl_files, "//")
+
+# interfaces that inherit from Event
+modules_event_idl_files = rebase_path(_gypi.modules_event_idl_files, "//")
+generated_modules_files = rebase_path(_gypi.generated_modules_files, "//")
+modules_files = rebase_path(_gypi.modules_files, "//")
+
+# 'partial interface' or target (right side of) 'implements'
+modules_testing_dependency_idl_files =
+ rebase_path(_gypi.modules_testing_dependency_idl_files, "//")
+
+modules_testing_files = rebase_path(_gypi.modules_testing_files, "//")
+modules_unittest_files = rebase_path(_gypi.modules_unittest_files, "//")

Powered by Google App Engine
This is Rietveld 408576698