| Index: third_party/mojo/src/mojo/edk/embedder/BUILD.gn
|
| diff --git a/third_party/mojo/src/mojo/edk/embedder/BUILD.gn b/third_party/mojo/src/mojo/edk/embedder/BUILD.gn
|
| index f54d9cb4ce7645af93816729d7a0765db49f0ba8..0f2d369fa030eb85d5b4adbfefe0942ca12f6dbd 100644
|
| --- a/third_party/mojo/src/mojo/edk/embedder/BUILD.gn
|
| +++ b/third_party/mojo/src/mojo/edk/embedder/BUILD.gn
|
| @@ -16,7 +16,10 @@ mojo_edk_source_set("headers") {
|
| mojo_edk_source_set("embedder") {
|
| # This isn't really a standalone target; it must be linked into the
|
| # mojo_system_impl component.
|
| - mojo_edk_visibility = [ "mojo/edk/system" ]
|
| + visibility = [
|
| + "//components/nacl",
|
| + "//third_party/mojo/src/mojo/edk/system",
|
| + ]
|
|
|
| sources = [
|
| "embedder.cc",
|
| @@ -53,9 +56,10 @@ mojo_edk_source_set("embedder") {
|
| mojo_edk_source_set("platform") {
|
| # This isn't really a standalone target; it must be linked into the
|
| # mojo_system_impl component.
|
| - visibility = [ ":embedder" ]
|
| -
|
| - mojo_edk_visibility = [ "mojo/edk/system" ]
|
| + visibility = [
|
| + ":embedder",
|
| + "//third_party/mojo/src/mojo/edk/system",
|
| + ]
|
|
|
| sources = [
|
| "platform_channel_pair.cc",
|
| @@ -100,9 +104,10 @@ mojo_edk_source_set("platform") {
|
| mojo_edk_source_set("delegates") {
|
| # This isn't really a standalone target; it must be linked into the
|
| # mojo_system_impl component.
|
| - visibility = [ ":embedder" ]
|
| -
|
| - mojo_edk_visibility = [ "mojo/edk/system" ]
|
| + visibility = [
|
| + ":embedder",
|
| + "//third_party/mojo/src/mojo/edk/system",
|
| + ]
|
|
|
| sources = [
|
| "master_process_delegate.h",
|
| @@ -121,7 +126,10 @@ mojo_edk_source_set("delegates") {
|
|
|
| mojo_edk_source_set("embedder_unittests") {
|
| testonly = true
|
| - mojo_edk_visibility = [ "mojo/edk/system:mojo_system_unittests" ]
|
| + visibility = [
|
| + "//third_party/mojo/src/mojo/edk/system:mojo_system_unittests",
|
| + "//third_party/mojo/src/mojo/edk/system:_mojo_system_unittests__library",
|
| + ]
|
|
|
| sources = [
|
| "embedder_unittest.cc",
|
|
|