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 'product_name': 'ppapi_example', | |
21 'type': 'shared_library', | 20 'type': 'shared_library', |
22 'msvs_guid': 'EE00E36E-9E8C-4DFB-925E-FBE32CEDB91B', | 21 'msvs_guid': 'EE00E36E-9E8C-4DFB-925E-FBE32CEDB91B', |
23 'sources': [ | 22 'sources': [ |
24 'example/example.rc', | 23 'example/example.rc', |
25 ], | 24 ], |
26 'run_as': { | 25 'run_as': { |
27 'action': [ | 26 'action': [ |
28 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)chrome<(EXECUTABLE_SUFFIX)', | 27 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)chrome<(EXECUTABLE_SUFFIX)', |
29 '--register-pepper-plugins=$(TargetPath);application/x-ppapi-examp
le', | 28 '--register-pepper-plugins=$(TargetPath);application/x-ppapi-examp
le', |
30 'file://$(ProjectDir)/example/example.html', | 29 'file://$(ProjectDir)/example/example.html', |
31 ], | 30 ], |
32 }, | 31 }, |
33 }], | 32 }], |
34 ['os_posix == 1 and OS != "mac"', { | 33 ['os_posix == 1 and OS != "mac"', { |
35 'product_name': 'ppapi_example', | |
36 'type': 'shared_library', | 34 'type': 'shared_library', |
37 'cflags': ['-fvisibility=hidden'], | 35 'cflags': ['-fvisibility=hidden'], |
38 # -gstabs, used in the official builds, causes an ICE. Simply remove | 36 # -gstabs, used in the official builds, causes an ICE. Simply remove |
39 # it. | 37 # it. |
40 'cflags!': ['-gstabs'], | 38 'cflags!': ['-gstabs'], |
41 }], | 39 }], |
42 ['OS=="mac"', { | 40 ['OS=="mac"', { |
43 'type': 'loadable_module', | 41 'type': 'loadable_module', |
44 'mac_bundle': 1, | 42 'mac_bundle': 1, |
45 'product_name': 'PPAPIExample', | 43 'product_name': 'PPAPIExample', |
(...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 |