Commit ca5b9cba authored by agrieve's avatar agrieve Committed by Commit bot

Make chrome/BUILD.gn use symlink.gni rather than symlink.py directly

Review-Url: https://codereview.chromium.org/2349603002
Cr-Commit-Position: refs/heads/master@{#419168}
parent 4521a9bb
...@@ -11,6 +11,7 @@ import("//build/config/sanitizers/sanitizers.gni") ...@@ -11,6 +11,7 @@ import("//build/config/sanitizers/sanitizers.gni")
import("//build/config/ui.gni") import("//build/config/ui.gni")
import("//build/config/win/console_app.gni") import("//build/config/win/console_app.gni")
import("//build/config/win/manifest.gni") import("//build/config/win/manifest.gni")
import("//build/symlink.gni")
import("//chrome/chrome_repack_locales.gni") import("//chrome/chrome_repack_locales.gni")
import("//chrome/common/features.gni") import("//chrome/common/features.gni")
import("//chrome/version.gni") import("//chrome/version.gni")
...@@ -773,25 +774,9 @@ if (is_win) { ...@@ -773,25 +774,9 @@ if (is_win) {
# root_out_dir, since copy_bundle_data copies the contents of the link # root_out_dir, since copy_bundle_data copies the contents of the link
# rather than the link itself. # rather than the link itself.
if (debug_devtools) { if (debug_devtools) {
action("devtools_debug_resources") { symlink("devtools_debug_resources") {
_stamp = "$target_out_dir/run_${target_name}.stamp" source = "$root_out_dir/resources/inspector"
output = "$root_out_dir/$chrome_product_full_name.app/Contents/Versions/$chrome_version_full/$chrome_framework_name.framework/Resources/inspector"
outputs = [
_stamp,
]
script = "//build/symlink.py"
args = [
"-f",
"--touch",
rebase_path(_stamp, root_out_dir),
# Convert the symlink source and destination to an absolute paths, which
# makes symlinking easier (now pwd manipulation).
rebase_path("$root_out_dir/resources/inspector"),
rebase_path(
"$root_out_dir/$chrome_product_full_name.app/Contents/Versions/$chrome_version_full/$chrome_framework_name.framework/Resources/inspector"),
]
deps = [ deps = [
# Depend on :chrome_app to ensure that the bundle is produced before # Depend on :chrome_app to ensure that the bundle is produced before
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment