Index: Source/core/BUILD.gn |
diff --git a/Source/core/BUILD.gn b/Source/core/BUILD.gn |
index aa5dc0c844a9509a51df5ceae4cd00ebacd58719..7a0250c9d87340d3d16ad1ec7563f09d0afa5cc7 100644 |
--- a/Source/core/BUILD.gn |
+++ b/Source/core/BUILD.gn |
@@ -936,6 +936,9 @@ make_token_matcher("make_core_generated_make_token_matcher_for_viewport") { |
# One-off scripts -------------------------------------------------------------- |
# "generatePrivateScript" in make_core_generated from GYP. |
+# FIXME: The implementation of Blink-in-JS is not yet mature. |
+# You can use Blink-in-JS in your local experiment, but don't ship it. |
+# crbug.com/341031 |
action("make_core_generated_private_script") { |
visibility = ":make_core_generated" |
script = "../build/scripts/make_private_script_source.py" |
@@ -953,6 +956,23 @@ action("make_core_generated_private_script") { |
deps = make_core_generated_deps |
} |
+action("make_core_generated_private_script_for_testing") { |
+ visibility = ":make_core_generated" |
+ script = "../build/scripts/make_private_script_source.py" |
+ |
+ source_prereqs = [ |
+ "testing/Internals.js", |
+ ] |
+ outputs = [ |
+ "$blink_core_output_dir/PrivateScriptSourcesForTesting.h", |
+ ] |
+ |
+ args = rebase_path(outputs, root_build_dir) |
+ args += rebase_path(source_prereqs, root_build_dir) |
+ |
+ deps = make_core_generated_deps |
+} |
+ |
# "generateXMLViewerCSS" in make_core_generated from GYP. |
action("make_core_generated_xml_viewer_css") { |
visibility = ":make_core_generated" |