Chromium Code Reviews| Index: ipc/BUILD.gn |
| diff --git a/ipc/BUILD.gn b/ipc/BUILD.gn |
| index 0ff1279b30492ce4ac5eb6047c5ddc802163809f..13fbaef351b874e20fb33f2abcc61b31a33e9005 100644 |
| --- a/ipc/BUILD.gn |
| +++ b/ipc/BUILD.gn |
| @@ -67,7 +67,13 @@ component("ipc") { |
| "unix_domain_socket_util.h", |
| ] |
| - if (!is_nacl) { |
| + if (is_nacl) { |
| + sources -= [ |
| + "ipc_channel.cc", |
| + "ipc_channel_posix.cc", |
| + "unix_domain_socket_util.cc", |
| + ] |
| + } else { |
| sources -= [ |
| "ipc_channel_nacl.cc", |
| "ipc_channel_nacl.h", |
| @@ -82,10 +88,14 @@ component("ipc") { |
| deps = [ |
| "//base", |
| - |
| - # TODO(viettrungluu): Needed for base/lazy_instance.h, which is suspect. |
| - "//base/third_party/dynamic_annotations", |
| ] |
| + |
| + if (!is_nacl) { |
| + deps += [ |
| + # TODO(viettrungluu): Needed for base/lazy_instance.h, which is suspect. |
| + "//base/third_party/dynamic_annotations", |
|
brettw
2015/02/25 21:27:29
Ditto about dynamic annotations.
Dirk Pranke
2015/02/25 21:37:40
Acknowledged.
|
| + ] |
| + } |
| } |
| # TODO(dpranke): crbug.com/360936. Get this to build and run on Android. |
| @@ -149,7 +159,6 @@ if (!is_android) { |
| # deps += "//base/allocator" |
| # } |
| #} |
| - |
| deps = [ |
| ":ipc", |
| ":test_support", |