Chromium Code Reviews| Index: Source/platform/BUILD.gn |
| diff --git a/Source/platform/BUILD.gn b/Source/platform/BUILD.gn |
| index f207c16689d817b357a2e4b8b926163935c561d6..1f4663cdcf00484574121026ad5c5d257cd618c4 100644 |
| --- a/Source/platform/BUILD.gn |
| +++ b/Source/platform/BUILD.gn |
| @@ -7,6 +7,8 @@ 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") |
| +visibility = "//third_party/WebKit/*" |
| + |
| # TODO(GYP) Remove when test targets link (depends on ffmpeg) |
| enable_blink_platform_test_targets = false |
| @@ -94,6 +96,7 @@ if (is_mac) { |
| # FontFamilyNames action in make_platform_generated in |
| # platform_generated.gyp |
| action("font_family_names") { |
| + visibility = ":*" |
|
jamesr
2014/06/19 18:01:14
in core/BUILD.gn you went the other way - restrict
brettw
2014/06/19 18:22:54
Done.
|
| script = "../build/scripts/make_names.py" |
| font_family_names_in = "fonts/FontFamilyNames.in" |
| @@ -114,6 +117,7 @@ action("font_family_names") { |
| # RuntimeEnabledFeatures action in make_platform_generated in |
| # platform_generated.gyp |
| action("runtime_enabled_features") { |
| + visibility = ":*" |
| script = "../build/scripts/make_runtime_features.py" |
| runtime_enabled_features_in = "RuntimeEnabledFeatures.in" |
| @@ -137,6 +141,7 @@ action("runtime_enabled_features") { |
| # ColorData action in make_platform_generated in platform_generated.gyp |
| action("color_data") { |
| + visibility = ":*" |
| script = "../build/scripts/gperf.py" |
| color_data_gperf = "ColorData.gperf" |
| @@ -342,6 +347,7 @@ component("platform") { |
| yasm_assemble("heap_asm_stubs") { |
| + visibility = ":*" |
| if (cpu_arch == "x86" || cpu_arch == "x64") { |
| sources = [ "heap/asm/SaveRegisters_x86.asm" ] |
| } else if (cpu_arch == "arm") { |
| @@ -372,6 +378,7 @@ yasm_assemble("heap_asm_stubs") { |
| } |
| source_set("heap_run_all_tests") { |
| + visibility = ":*" |
| sources = [ |
| "heap/RunAllTests.cpp" |
| ] |
| @@ -393,6 +400,7 @@ source_set("heap_run_all_tests") { |
| if (enable_blink_platform_test_targets) { |
| test("heap_unittests") { |
| + visibility = ":*" |
| output_name = "blink_heap_unittests" |
| sources = rebase_path(heap_gypi.platform_heap_test_files, ".", "heap") |
| @@ -416,6 +424,7 @@ test("heap_unittests") { |
| } |
| source_set("platform_run_all_tests") { |
| + visibility = ":*" |
| sources = [ |
| "testing/RunAllTests.cpp" |
| ] |
| @@ -437,6 +446,7 @@ source_set("platform_run_all_tests") { |
| if (enable_blink_platform_test_targets) { |
| test("platform_unittests") { |
| + visibility = ":*" |
| output_name = "blink_platform_unittests" |
| sources = platform_gypi.platform_test_files |
| @@ -473,6 +483,7 @@ test("platform_unittests") { |
| if (cpu_arch == "arm") { |
| source_set("blink_arm_neon") { |
| + visibility = ":*" |
| sources = blink_platform_neon_files |
| # The *NEON.cpp files fail to compile when -mthumb is passed. Force |