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

Unified Diff: Source/platform/BUILD.gn

Issue 329993006: Implement main blink target in GN. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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
« no previous file with comments | « Source/modules/BUILD.gn ('k') | Source/platform/heap/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/BUILD.gn
diff --git a/Source/platform/BUILD.gn b/Source/platform/BUILD.gn
index f207c16689d817b357a2e4b8b926163935c561d6..670a70b11e14f46053eaeac988b881dce2acc587 100644
--- a/Source/platform/BUILD.gn
+++ b/Source/platform/BUILD.gn
@@ -7,6 +7,9 @@ import("//third_party/WebKit/Source/build/scripts/scripts.gni")
import("//third_party/WebKit/Source/config.gni")
import("//third_party/WebKit/Source/platform/platform_generated.gni")
+# Most targets in this file are private actions so use that as the default.
+visibility = ":*"
+
# TODO(GYP) Remove when test targets link (depends on ffmpeg)
enable_blink_platform_test_targets = false
@@ -36,6 +39,7 @@ blink_platform_neon_files = [
# blink_common in blink_platform.gyp
component("blink_common") {
+ visibility = "//third_party/WebKit/*"
sources = [
"exported/WebCString.cpp",
"exported/WebString.cpp",
@@ -157,6 +161,7 @@ action("color_data") {
# This isn't strictly necessary since we can just add the deps to "platform",
# but it helps to have the targets match the GYP build.
group("make_platform_generated") {
+ visibility = "//third_party/WebKit/Source/*"
deps = [
":blink_common",
":color_data",
@@ -168,6 +173,7 @@ group("make_platform_generated") {
# TODO(brettw) Objective C Renaming postbuild steps on Mac.
# blink_platform target in blink_platform.gyp
component("platform") {
+ visibility = "//third_party/WebKit/*"
output_name = "blink_platform"
sources = platform_gypi.platform_files
@@ -340,7 +346,6 @@ component("platform") {
}
}
-
yasm_assemble("heap_asm_stubs") {
if (cpu_arch == "x86" || cpu_arch == "x64") {
sources = [ "heap/asm/SaveRegisters_x86.asm" ]
« no previous file with comments | « Source/modules/BUILD.gn ('k') | Source/platform/heap/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698