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 { | 5 { |
6 'variables': { | 6 'variables': { |
7 'chromium_code': 1, | 7 'chromium_code': 1, |
8 }, | 8 }, |
9 'includes': [ | 9 'includes': [ |
10 'ipc.gypi', | 10 'ipc.gypi', |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 }], | 82 }], |
83 ['OS == "android"', { | 83 ['OS == "android"', { |
84 'sources!': [ | 84 'sources!': [ |
85 # These multiprocess tests don't work on Android. | 85 # These multiprocess tests don't work on Android. |
86 'ipc_channel_unittest.cc', | 86 'ipc_channel_unittest.cc', |
87 ], | 87 ], |
88 'dependencies': [ | 88 'dependencies': [ |
89 '../testing/android/native_test.gyp:native_test_native_code', | 89 '../testing/android/native_test.gyp:native_test_native_code', |
90 ], | 90 ], |
91 }], | 91 }], |
92 ['os_posix == 1 and OS != "mac" and OS != "android"', { | |
93 'conditions': [ | |
94 ['use_allocator!="none"', { | |
95 'dependencies': [ | |
96 '../base/allocator/allocator.gyp:allocator', | |
97 ], | |
98 }], | |
99 ], | |
100 }] | |
101 ], | 92 ], |
102 }, | 93 }, |
103 { | 94 { |
104 'target_name': 'ipc_perftests', | 95 'target_name': 'ipc_perftests', |
105 'type': '<(gtest_target_type)', | 96 'type': '<(gtest_target_type)', |
106 # TODO(viettrungluu): Figure out which dependencies are really needed. | 97 # TODO(viettrungluu): Figure out which dependencies are really needed. |
107 'dependencies': [ | 98 'dependencies': [ |
108 'ipc', | 99 'ipc', |
109 'test_support_ipc', | 100 'test_support_ipc', |
110 '../base/base.gyp:base', | 101 '../base/base.gyp:base', |
111 '../base/base.gyp:base_i18n', | 102 '../base/base.gyp:base_i18n', |
112 '../base/base.gyp:test_support_base', | 103 '../base/base.gyp:test_support_base', |
113 '../base/base.gyp:test_support_perf', | 104 '../base/base.gyp:test_support_perf', |
114 '../testing/gtest.gyp:gtest', | 105 '../testing/gtest.gyp:gtest', |
115 ], | 106 ], |
116 'include_dirs': [ | 107 'include_dirs': [ |
117 '..' | 108 '..' |
118 ], | 109 ], |
119 'sources': [ | 110 'sources': [ |
120 'ipc_perftests.cc', | 111 'ipc_perftests.cc', |
121 'ipc_test_base.cc', | 112 'ipc_test_base.cc', |
122 'ipc_test_base.h', | 113 'ipc_test_base.h', |
123 ], | 114 ], |
124 'conditions': [ | 115 'conditions': [ |
125 ['OS == "android"', { | 116 ['OS == "android"', { |
126 'dependencies': [ | 117 'dependencies': [ |
127 '../testing/android/native_test.gyp:native_test_native_code', | 118 '../testing/android/native_test.gyp:native_test_native_code', |
128 ], | 119 ], |
129 }], | 120 }], |
130 ['os_posix == 1 and OS != "mac" and OS != "android"', { | |
131 'conditions': [ | |
132 ['use_allocator!="none"', { | |
133 'dependencies': [ | |
134 '../base/allocator/allocator.gyp:allocator', | |
135 ], | |
136 }], | |
137 ], | |
138 }] | |
139 ], | 121 ], |
140 }, | 122 }, |
141 { | 123 { |
142 'target_name': 'test_support_ipc', | 124 'target_name': 'test_support_ipc', |
143 'type': 'static_library', | 125 'type': 'static_library', |
144 'dependencies': [ | 126 'dependencies': [ |
145 'ipc', | 127 'ipc', |
146 '../base/base.gyp:base', | 128 '../base/base.gyp:base', |
147 '../testing/gtest.gyp:gtest', | 129 '../testing/gtest.gyp:gtest', |
148 ], | 130 ], |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
252 '../build/isolate.gypi', | 234 '../build/isolate.gypi', |
253 ], | 235 ], |
254 'sources': [ | 236 'sources': [ |
255 'ipc_tests.isolate', | 237 'ipc_tests.isolate', |
256 ], | 238 ], |
257 }, | 239 }, |
258 ], | 240 ], |
259 }], | 241 }], |
260 ], | 242 ], |
261 } | 243 } |
OLD | NEW |