Implement GN visibility in the build, which this new version implements

BUG=
R=scottmg@chromium.org

Review URL: https://codereview.chromium.org/217273004

git-svn-id: http://src.chromium.org/svn/trunk/src/build@262438 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
This commit is contained in:
brettw@chromium.org 2014-04-08 16:50:01 +00:00
Родитель 22729fdce0
Коммит 08fbbcc064
3 изменённых файлов: 4 добавлений и 3 удалений

Просмотреть файл

@ -39,5 +39,8 @@ template("pkg_config") {
if (defined(invoker.defines)) {
defines = invoker.defines
}
if (defined(invoker.visibility)) {
visibility = invoker.visibility
}
}
}

Просмотреть файл

@ -2,7 +2,6 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
toolchain("x86_newlib") {
toolprefix = "gen/sdk/toolchain/linux_x86_newlib/bin/x86_64-nacl-"
cc = toolprefix + "gcc"

Просмотреть файл

@ -2,13 +2,12 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//build/config/win/visual_studio_version.gni")
import("//build/toolchain/goma.gni")
# Should only be running on Windows.
assert(is_win)
import("//build/config/win/visual_studio_version.gni")
# Setup the Visual Studio state.
#
# Its arguments are the VS path and the compiler wrapper tool. It will write