| 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   external = true | 6   external = true | 
| 7   sources = [ | 7   sources = [ | 
| 8     "file_descriptor_set_posix.cc", | 8     "file_descriptor_set_posix.cc", | 
| 9     "file_descriptor_set_posix.h", | 9     "file_descriptor_set_posix.h", | 
| 10     "ipc_channel.cc", | 10     "ipc_channel.cc", | 
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 98     "unix_domain_socket_util_unittest.cc", | 98     "unix_domain_socket_util_unittest.cc", | 
| 99   ] | 99   ] | 
| 100 | 100 | 
| 101   if (is_win || is_ios) { | 101   if (is_win || is_ios) { | 
| 102     sources -= [ "unix_domain_socket_util_unittest.cc" ] | 102     sources -= [ "unix_domain_socket_util_unittest.cc" ] | 
| 103   } | 103   } | 
| 104   #if (is_android && gtest_target_type == "shared_library") { | 104   #if (is_android && gtest_target_type == "shared_library") { | 
| 105   #  deps += "/testing/android/native_test.gyp:native_testNative_code" | 105   #  deps += "/testing/android/native_test.gyp:native_testNative_code" | 
| 106   #} | 106   #} | 
| 107   #if (is_posix && !is_mac && !is_android) { | 107   #if (is_posix && !is_mac && !is_android) { | 
| 108   #  if (linux_use_tcmalloc) { | 108   #  # TODO(dmikurube): Kill linux_use_tcmalloc. http://crbug.com/345554 | 
|  | 109   #  if ((use_allocator!="none" && use_allocator!="see_use_tcmalloc") || (use_al
     locator=="see_use_tcmalloc" && linux_use_tcmalloc)) { | 
| 109   #    deps += "/base/allocator" | 110   #    deps += "/base/allocator" | 
| 110   #  } | 111   #  } | 
| 111   #} | 112   #} | 
| 112 | 113 | 
| 113   deps = [ | 114   deps = [ | 
| 114     ":ipc", | 115     ":ipc", | 
| 115     ":test_support_ipc", | 116     ":test_support_ipc", | 
| 116     "//base", | 117     "//base", | 
| 117     "//base:base_i18n", | 118     "//base:base_i18n", | 
| 118     "//base/test:run_all_unittests", | 119     "//base/test:run_all_unittests", | 
| 119     "//base/test:test_support_base", | 120     "//base/test:test_support_base", | 
| 120     "//testing/gtest", | 121     "//testing/gtest", | 
| 121   ] | 122   ] | 
| 122 } | 123 } | 
| 123 | 124 | 
| 124 test("ipc_perftests") { | 125 test("ipc_perftests") { | 
| 125   external = true | 126   external = true | 
| 126   sources = [ | 127   sources = [ | 
| 127     "ipc_perftests.cc", | 128     "ipc_perftests.cc", | 
| 128     "ipc_test_base.cc", | 129     "ipc_test_base.cc", | 
| 129     "ipc_test_base.h", | 130     "ipc_test_base.h", | 
| 130   ] | 131   ] | 
| 131 | 132 | 
| 132   #if (is_android && gtest_target_type == "shared_library") { | 133   #if (is_android && gtest_target_type == "shared_library") { | 
| 133   #  deps += "/testing/android/native_test.gyp:native_testNative_code" | 134   #  deps += "/testing/android/native_test.gyp:native_testNative_code" | 
| 134   #} | 135   #} | 
| 135   #if (is_posix && !is_mac && !is_android) { | 136   #if (is_posix && !is_mac && !is_android) { | 
| 136   #  if (linux_use_tcmalloc) { | 137   #  # TODO(dmikurube): Kill linux_use_tcmalloc. http://crbug.com/345554 | 
|  | 138   #  if ((use_allocator!="none" && use_allocator!="see_use_tcmalloc") || (use_al
     locator=="see_use_tcmalloc" && linux_use_tcmalloc)) { | 
| 137   #    deps += "//base/allocator" | 139   #    deps += "//base/allocator" | 
| 138   #  } | 140   #  } | 
| 139   #} | 141   #} | 
| 140 | 142 | 
| 141   deps = [ | 143   deps = [ | 
| 142     ":ipc", | 144     ":ipc", | 
| 143     ":test_support_ipc", | 145     ":test_support_ipc", | 
| 144     "//base", | 146     "//base", | 
| 145     "//base:base_i18n", | 147     "//base:base_i18n", | 
| 146     "//base/test:test_support_base", | 148     "//base/test:test_support_base", | 
| (...skipping 10 matching lines...) Expand all  Loading... | 
| 157     "ipc_test_sink.cc", | 159     "ipc_test_sink.cc", | 
| 158     "ipc_test_sink.h", | 160     "ipc_test_sink.h", | 
| 159   ] | 161   ] | 
| 160   deps = [ | 162   deps = [ | 
| 161     ":ipc", | 163     ":ipc", | 
| 162     "//base", | 164     "//base", | 
| 163     "//testing/gtest", | 165     "//testing/gtest", | 
| 164   ] | 166   ] | 
| 165 } | 167 } | 
| 166 | 168 | 
| OLD | NEW | 
|---|