Index: ppapi/proxy/BUILD.gn |
diff --git a/ppapi/proxy/BUILD.gn b/ppapi/proxy/BUILD.gn |
index e21d347db67c97d217d75c5d5f060ba57802ed2e..a1e62bfeeb168aebaa9375f1c67380e20c60adfd 100644 |
--- a/ppapi/proxy/BUILD.gn |
+++ b/ppapi/proxy/BUILD.gn |
@@ -270,7 +270,7 @@ component("proxy") { |
"//ipc", |
"//media:shared_memory_support", |
"//ppapi/c", |
- "//ppapi/proxy:ipc", |
+ "//ppapi/proxy:ipc_sources", |
"//ppapi/shared_impl", |
"//third_party/icu", |
] |
@@ -291,7 +291,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", |