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 'targets': [ | 6 'targets': [ |
7 { | 7 { |
8 # GN version: //ppapi:ppapi_tests | 8 # GN version: //ppapi:ppapi_tests |
9 'target_name': 'ppapi_tests', | 9 'target_name': 'ppapi_tests', |
10 'type': 'loadable_module', | 10 'type': 'loadable_module', |
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
157 'ppapi_proxy', | 157 'ppapi_proxy', |
158 'ppapi_shared', | 158 'ppapi_shared', |
159 'ppapi_unittest_shared', | 159 'ppapi_unittest_shared', |
160 '../base/base.gyp:test_support_base', | 160 '../base/base.gyp:test_support_base', |
161 '../testing/gtest.gyp:gtest', | 161 '../testing/gtest.gyp:gtest', |
162 ], | 162 ], |
163 'sources': [ | 163 'sources': [ |
164 'proxy/ppapi_perftests.cc', | 164 'proxy/ppapi_perftests.cc', |
165 'proxy/ppp_messaging_proxy_perftest.cc', | 165 'proxy/ppp_messaging_proxy_perftest.cc', |
166 ], | 166 ], |
167 'conditions': [ | |
168 # See http://crbug.com/162998#c4 for why this is needed. | |
169 ['OS=="linux" and use_allocator!="none"', { | |
170 'dependencies': [ | |
171 '../base/allocator/allocator.gyp:allocator', | |
172 ], | |
173 }], | |
174 ], | |
175 }, | 167 }, |
176 { | 168 { |
177 # GN version: //ppapi:ppapi_unittests | 169 # GN version: //ppapi:ppapi_unittests |
178 'target_name': 'ppapi_unittests', | 170 'target_name': 'ppapi_unittests', |
179 'type': 'executable', | 171 'type': 'executable', |
180 'variables': { | 172 'variables': { |
181 'chromium_code': 1, | 173 'chromium_code': 1, |
182 }, | 174 }, |
183 'dependencies': [ | 175 'dependencies': [ |
184 'ppapi_host', | 176 'ppapi_host', |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
223 'proxy/websocket_resource_unittest.cc', | 215 'proxy/websocket_resource_unittest.cc', |
224 'shared_impl/media_stream_audio_track_shared_unittest.cc', | 216 'shared_impl/media_stream_audio_track_shared_unittest.cc', |
225 'shared_impl/media_stream_buffer_manager_unittest.cc', | 217 'shared_impl/media_stream_buffer_manager_unittest.cc', |
226 'shared_impl/media_stream_video_track_shared_unittest.cc', | 218 'shared_impl/media_stream_video_track_shared_unittest.cc', |
227 'shared_impl/proxy_lock_unittest.cc', | 219 'shared_impl/proxy_lock_unittest.cc', |
228 'shared_impl/resource_tracker_unittest.cc', | 220 'shared_impl/resource_tracker_unittest.cc', |
229 'shared_impl/thread_aware_callback_unittest.cc', | 221 'shared_impl/thread_aware_callback_unittest.cc', |
230 'shared_impl/time_conversion_unittest.cc', | 222 'shared_impl/time_conversion_unittest.cc', |
231 'shared_impl/var_tracker_unittest.cc', | 223 'shared_impl/var_tracker_unittest.cc', |
232 ], | 224 ], |
233 'conditions': [ | |
234 [ 'os_posix == 1 and OS != "mac" and OS != "android" and OS != "ios"', { | |
235 'conditions': [ | |
236 [ 'use_allocator!="none"', { | |
237 'dependencies': [ | |
238 '../base/allocator/allocator.gyp:allocator', | |
239 ], | |
240 }], | |
241 ], | |
242 }], | |
243 ], | |
244 }, | 225 }, |
245 { | 226 { |
246 'target_name': 'ppapi_example_skeleton', | 227 'target_name': 'ppapi_example_skeleton', |
247 'suppress_wildcard': 1, | 228 'suppress_wildcard': 1, |
248 'type': 'none', | 229 'type': 'none', |
249 'direct_dependent_settings': { | 230 'direct_dependent_settings': { |
250 'product_name': '>(_target_name)', | 231 'product_name': '>(_target_name)', |
251 'conditions': [ | 232 'conditions': [ |
252 ['os_posix==1 and OS!="mac"', { | 233 ['os_posix==1 and OS!="mac"', { |
253 'cflags': ['-fvisibility=hidden'], | 234 'cflags': ['-fvisibility=hidden'], |
(...skipping 422 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
676 'sources': [ | 657 'sources': [ |
677 'examples/compositor/compositor.cc', | 658 'examples/compositor/compositor.cc', |
678 'examples/compositor/spinning_cube.cc', | 659 'examples/compositor/spinning_cube.cc', |
679 'examples/compositor/spinning_cube.h', | 660 'examples/compositor/spinning_cube.h', |
680 ], | 661 ], |
681 }, | 662 }, |
682 # Adding a new PPAPI example? Don't forget to update the GN build. | 663 # Adding a new PPAPI example? Don't forget to update the GN build. |
683 # See //ppapi/examples/BUILD.gn | 664 # See //ppapi/examples/BUILD.gn |
684 ], | 665 ], |
685 } | 666 } |
OLD | NEW |