OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 component("ipc") { | 5 component("ipc") { |
6 sources = [ | 6 sources = [ |
7 "file_descriptor_set_posix.cc", | 7 "file_descriptor_set_posix.cc", |
8 "file_descriptor_set_posix.h", | 8 "file_descriptor_set_posix.h", |
9 "ipc_channel.cc", | 9 "ipc_channel.cc", |
10 "ipc_channel.h", | 10 "ipc_channel.h", |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 ] | 62 ] |
63 | 63 |
64 if (!is_nacl) { | 64 if (!is_nacl) { |
65 sources -= [ | 65 sources -= [ |
66 "ipc_channel_nacl.cc", | 66 "ipc_channel_nacl.cc", |
67 "ipc_channel_nacl.h", | 67 "ipc_channel_nacl.h", |
68 ] | 68 ] |
69 } | 69 } |
70 | 70 |
71 if (is_win || is_ios) { | 71 if (is_win || is_ios) { |
72 sources -= [ | 72 sources -= [ "unix_domain_socket_util.cc" ] |
73 "unix_domain_socket_util.cc", | |
74 ] | |
75 } | 73 } |
76 | 74 |
77 defines = [ "IPC_IMPLEMENTATION" ] | 75 defines = [ "IPC_IMPLEMENTATION" ] |
78 | 76 |
79 deps = [ | 77 deps = [ |
80 "//base", | 78 "//base", |
| 79 |
81 # TODO(viettrungluu): Needed for base/lazy_instance.h, which is suspect. | 80 # TODO(viettrungluu): Needed for base/lazy_instance.h, which is suspect. |
82 "//base/third_party/dynamic_annotations", | 81 "//base/third_party/dynamic_annotations", |
83 ] | 82 ] |
84 } | 83 } |
85 | 84 |
86 # TODO(dpranke): crbug.com/360936. Get this to build and run on Android. | 85 # TODO(dpranke): crbug.com/360936. Get this to build and run on Android. |
87 if (!is_android) { | 86 if (!is_android) { |
88 test("ipc_tests") { | 87 test("ipc_tests") { |
89 sources = [ | 88 sources = [ |
90 "file_descriptor_set_posix_unittest.cc", | 89 "file_descriptor_set_posix_unittest.cc", |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
170 "ipc_test_base.h", | 169 "ipc_test_base.h", |
171 "ipc_test_channel_listener.h", | 170 "ipc_test_channel_listener.h", |
172 "ipc_test_channel_listener.cc", | 171 "ipc_test_channel_listener.cc", |
173 ] | 172 ] |
174 deps = [ | 173 deps = [ |
175 ":ipc", | 174 ":ipc", |
176 "//base", | 175 "//base", |
177 "//testing/gtest", | 176 "//testing/gtest", |
178 ] | 177 ] |
179 } | 178 } |
180 | |
OLD | NEW |