OLD | NEW |
1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2011 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 'target_name': 'ppapi_example', | 8 'target_name': 'ppapi_example', |
9 'dependencies': [ | 9 'dependencies': [ |
10 'ppapi.gyp:ppapi_cpp' | 10 'ppapi.gyp:ppapi_cpp' |
11 ], | 11 ], |
12 'xcode_settings': { | 12 'xcode_settings': { |
13 'INFOPLIST_FILE': 'example/Info.plist', | 13 'INFOPLIST_FILE': 'example/Info.plist', |
14 }, | 14 }, |
15 'sources': [ | 15 'sources': [ |
16 'example/example.cc', | 16 'example/example.cc', |
17 ], | 17 ], |
18 'conditions': [ | 18 'conditions': [ |
19 ['OS=="win"', { | 19 ['OS=="win"', { |
20 'type': 'shared_library', | 20 'type': 'shared_library', |
21 'msvs_guid': 'EE00E36E-9E8C-4DFB-925E-FBE32CEDB91B', | |
22 'sources': [ | 21 'sources': [ |
23 'example/example.rc', | 22 'example/example.rc', |
24 ], | 23 ], |
25 'run_as': { | 24 'run_as': { |
26 'action': [ | 25 'action': [ |
27 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)chrome<(EXECUTABLE_SUFFIX)', | 26 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)chrome<(EXECUTABLE_SUFFIX)', |
28 '--register-pepper-plugins=$(TargetPath);application/x-ppapi-examp
le', | 27 '--register-pepper-plugins=$(TargetPath);application/x-ppapi-examp
le', |
29 'file://$(ProjectDir)/example/example.html', | 28 'file://$(ProjectDir)/example/example.html', |
30 ], | 29 ], |
31 }, | 30 }, |
(...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
284 # ], | 283 # ], |
285 # }, | 284 # }, |
286 # ], | 285 # ], |
287 }, | 286 }, |
288 { | 287 { |
289 'target_name': 'ppapi_unittests', | 288 'target_name': 'ppapi_unittests', |
290 'type': 'executable', | 289 'type': 'executable', |
291 'variables': { | 290 'variables': { |
292 'chromium_code': 1, | 291 'chromium_code': 1, |
293 }, | 292 }, |
294 'msvs_guid': 'C2BD9365-5BD7-44A7-854E-A49E606BE8E4', | |
295 'dependencies': [ | 293 'dependencies': [ |
296 'ppapi_proxy', | 294 'ppapi_proxy', |
297 '../base/base.gyp:test_support_base', | 295 '../base/base.gyp:test_support_base', |
298 '../ipc/ipc.gyp:test_support_ipc', | 296 '../ipc/ipc.gyp:test_support_ipc', |
299 '../testing/gmock.gyp:gmock', | 297 '../testing/gmock.gyp:gmock', |
300 '../testing/gtest.gyp:gtest', | 298 '../testing/gtest.gyp:gtest', |
301 '../ui/gfx/surface/surface.gyp:surface', | 299 '../ui/gfx/surface/surface.gyp:surface', |
302 ], | 300 ], |
303 'sources': [ | 301 'sources': [ |
304 'proxy/run_all_unittests.cc', | 302 'proxy/run_all_unittests.cc', |
305 | 303 |
306 'proxy/host_dispatcher_unittest.cc', | 304 'proxy/host_dispatcher_unittest.cc', |
307 'proxy/mock_resource.cc', | 305 'proxy/mock_resource.cc', |
308 'proxy/mock_resource.h', | 306 'proxy/mock_resource.h', |
309 'proxy/plugin_dispatcher_unittest.cc', | 307 'proxy/plugin_dispatcher_unittest.cc', |
310 'proxy/plugin_resource_tracker_unittest.cc', | 308 'proxy/plugin_resource_tracker_unittest.cc', |
311 'proxy/plugin_var_tracker_unittest.cc', | 309 'proxy/plugin_var_tracker_unittest.cc', |
312 'proxy/ppapi_proxy_test.cc', | 310 'proxy/ppapi_proxy_test.cc', |
313 'proxy/ppapi_proxy_test.h', | 311 'proxy/ppapi_proxy_test.h', |
314 'proxy/serialized_var_unittest.cc', | 312 'proxy/serialized_var_unittest.cc', |
315 ], | 313 ], |
316 }, | 314 }, |
317 ], | 315 ], |
318 } | 316 } |
OLD | NEW |