| 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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 107 sources -= [ "unix_domain_socket_util_unittest.cc" ] | 107 sources -= [ "unix_domain_socket_util_unittest.cc" ] |
| 108 } | 108 } |
| 109 | 109 |
| 110 # TODO(brettw) hook up Android testing. | 110 # TODO(brettw) hook up Android testing. |
| 111 #if (is_android && gtest_target_type == "shared_library") { | 111 #if (is_android && gtest_target_type == "shared_library") { |
| 112 # deps += "/testing/android/native_test.gyp:native_testNative_code" | 112 # deps += "/testing/android/native_test.gyp:native_testNative_code" |
| 113 #} | 113 #} |
| 114 | 114 |
| 115 # TODO(brettw) hook up tcmalloc to this target. | 115 # TODO(brettw) hook up tcmalloc to this target. |
| 116 #if (is_posix && !is_mac && !is_android) { | 116 #if (is_posix && !is_mac && !is_android) { |
| 117 # # TODO(dmikurube): Kill linux_use_tcmalloc. http://crbug.com/345554 | 117 # if (use_allocator!="none") { |
| 118 # if ((use_allocator!="none" && use_allocator!="see_use_tcmalloc") || (use_
allocator=="see_use_tcmalloc" && linux_use_tcmalloc)) { | |
| 119 # deps += "/base/allocator" | 118 # deps += "/base/allocator" |
| 120 # } | 119 # } |
| 121 #} | 120 #} |
| 122 | 121 |
| 123 deps = [ | 122 deps = [ |
| 124 ":ipc", | 123 ":ipc", |
| 125 ":test_support_ipc", | 124 ":test_support_ipc", |
| 126 "//base", | 125 "//base", |
| 127 "//base:i18n", | 126 "//base:i18n", |
| 128 "//base/test:run_all_unittests", | 127 "//base/test:run_all_unittests", |
| 129 "//base/test:test_support", | 128 "//base/test:test_support", |
| 130 "//testing/gtest", | 129 "//testing/gtest", |
| 131 ] | 130 ] |
| 132 } | 131 } |
| 133 | 132 |
| 134 test("ipc_perftests") { | 133 test("ipc_perftests") { |
| 135 sources = [ | 134 sources = [ |
| 136 "ipc_perftests.cc", | 135 "ipc_perftests.cc", |
| 137 "ipc_test_base.cc", | 136 "ipc_test_base.cc", |
| 138 "ipc_test_base.h", | 137 "ipc_test_base.h", |
| 139 ] | 138 ] |
| 140 | 139 |
| 141 # TODO(brettw) hook up Android testing. | 140 # TODO(brettw) hook up Android testing. |
| 142 #if (is_android && gtest_target_type == "shared_library") { | 141 #if (is_android && gtest_target_type == "shared_library") { |
| 143 # deps += "/testing/android/native_test.gyp:native_testNative_code" | 142 # deps += "/testing/android/native_test.gyp:native_testNative_code" |
| 144 #} | 143 #} |
| 145 | 144 |
| 146 # TODO(brettw) hook up tcmalloc to this target. | 145 # TODO(brettw) hook up tcmalloc to this target. |
| 147 #if (is_posix && !is_mac && !is_android) { | 146 #if (is_posix && !is_mac && !is_android) { |
| 148 # # TODO(dmikurube): Kill linux_use_tcmalloc. http://crbug.com/345554 | 147 # if (use_allocator!="none") { |
| 149 # if ((use_allocator!="none" && use_allocator!="see_use_tcmalloc") || (use_
allocator=="see_use_tcmalloc" && linux_use_tcmalloc)) { | |
| 150 # deps += "//base/allocator" | 148 # deps += "//base/allocator" |
| 151 # } | 149 # } |
| 152 #} | 150 #} |
| 153 | 151 |
| 154 deps = [ | 152 deps = [ |
| 155 ":ipc", | 153 ":ipc", |
| 156 ":test_support_ipc", | 154 ":test_support_ipc", |
| 157 "//base", | 155 "//base", |
| 158 "//base:i18n", | 156 "//base:i18n", |
| 159 "//base/test:test_support", | 157 "//base/test:test_support", |
| (...skipping 10 matching lines...) Expand all Loading... |
| 170 "ipc_test_sink.cc", | 168 "ipc_test_sink.cc", |
| 171 "ipc_test_sink.h", | 169 "ipc_test_sink.h", |
| 172 ] | 170 ] |
| 173 deps = [ | 171 deps = [ |
| 174 ":ipc", | 172 ":ipc", |
| 175 "//base", | 173 "//base", |
| 176 "//testing/gtest", | 174 "//testing/gtest", |
| 177 ] | 175 ] |
| 178 } | 176 } |
| 179 | 177 |
| OLD | NEW |