Index: ppapi/proxy/BUILD.gn |
diff --git a/ppapi/proxy/BUILD.gn b/ppapi/proxy/BUILD.gn |
index 4af9bdcb16f3846f28c01333fb4fbb49a0e19265..31a0262705a86aead26f961a9ad22b5d497a0e2a 100644 |
--- a/ppapi/proxy/BUILD.gn |
+++ b/ppapi/proxy/BUILD.gn |
@@ -272,7 +272,7 @@ component("proxy") { |
"//ipc", |
"//media:shared_memory_support", |
"//ppapi/c", |
- "//ppapi/proxy:ipc", |
+ "//ppapi/proxy:ipc_sources", |
"//ppapi/shared_impl", |
"//third_party/icu", |
] |
@@ -293,7 +293,19 @@ component("proxy") { |
} |
} |
-source_set("ipc") { |
+group("ipc") { |
+ if (is_component_build) { |
+ public_deps = [ |
+ "//ppapi/proxy", |
+ ] |
+ } else { |
+ public_deps = [ |
+ ":ipc_sources", |
+ ] |
+ } |
+} |
+ |
+source_set("ipc_sources") { |
sources = [ |
"nacl_message_scanner.cc", |
"nacl_message_scanner.h", |