Skip to content
Snippets Groups Projects
Commit 499d0b82 authored by Haowei Wu's avatar Haowei Wu Committed by CQ bot account: commit-bot@chromium.org
Browse files

[gn] Neutralize dot_gn_symlink.sh hook and replace .gn symlink

This patch neutralize the dot_gn_symlink.sh file and replace the
.gn symlink with the content of build/gn/dotfile.gn

Test: CQ
Change-Id: I229c338d34c1393ecd662fbc9aa04c039429220e
parent a6e54ee3
No related branches found
No related tags found
No related merge requests found
build/gn/dotfile.gn
\ No newline at end of file
.gn 0 → 100644
# Copyright 2016 The Fuchsia 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 lives at //build/gn/dotfile.gn for maintenance purposes.
# It's actually used by GN via a symlink at //.gn, which is installed
# by a jiri hook. This file directs GN to all the other key files.
# The location of the build configuration file.
buildconfig = "//build/config/BUILDCONFIG.gn"
# The secondary source root is a parallel directory tree where
# GN build files are placed when they can not be placed directly
# in the source tree, e.g. for third party source trees.
secondary_source = "//build/secondary/"
# The source root location.
root = "//build/gn"
# The executable used to execute scripts in action and exec_script.
script_executable = "/usr/bin/env"
# These arguments override the default values for items in a declare_args
# block. "gn args" in turn can override these.
default_args = {
# Disable Skia settings not needed for host builds.
skia_enable_flutter_defines = true
skia_enable_pdf = false
skia_use_dng_sdk = false
skia_use_expat = false
skia_use_fontconfig = false
skia_use_libwebp = false
skia_use_sfntly = false
skia_use_x11 = false
}
# Enable checking for the layers.
check_targets = [
"//garnet/*",
"//peridot/*",
"//topaz/*",
"//vendor/*",
"//zircon/*",
]
......@@ -3,6 +3,5 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
FUCHSIA_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
# do nothing
exec ln -snf build/gn/dotfile.gn "${FUCHSIA_DIR}/.gn"
# Copyright 2016 The Fuchsia 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 lives at //build/gn/dotfile.gn for maintenance purposes.
# It's actually used by GN via a symlink at //.gn, which is installed
# by a jiri hook. This file directs GN to all the other key files.
# The location of the build configuration file.
buildconfig = "//build/config/BUILDCONFIG.gn"
# The secondary source root is a parallel directory tree where
# GN build files are placed when they can not be placed directly
# in the source tree, e.g. for third party source trees.
secondary_source = "//build/secondary/"
# The source root location.
root = "//build/gn"
# The executable used to execute scripts in action and exec_script.
script_executable = "/usr/bin/env"
# These arguments override the default values for items in a declare_args
# block. "gn args" in turn can override these.
default_args = {
# Disable Skia settings not needed for host builds.
skia_enable_flutter_defines = true
skia_enable_pdf = false
skia_use_dng_sdk = false
skia_use_expat = false
skia_use_fontconfig = false
skia_use_libwebp = false
skia_use_sfntly = false
skia_use_x11 = false
}
# Enable checking for the layers.
check_targets = [
"//garnet/*",
"//peridot/*",
"//topaz/*",
"//vendor/*",
"//zircon/*",
]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment