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' |
(...skipping 13 matching lines...) Expand all Loading... |
24 'example/example.rc', | 24 'example/example.rc', |
25 ], | 25 ], |
26 'run_as': { | 26 'run_as': { |
27 'action': [ | 27 'action': [ |
28 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)chrome<(EXECUTABLE_SUFFIX)', | 28 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)chrome<(EXECUTABLE_SUFFIX)', |
29 '--register-pepper-plugins=$(TargetPath);application/x-ppapi-examp
le', | 29 '--register-pepper-plugins=$(TargetPath);application/x-ppapi-examp
le', |
30 'file://$(ProjectDir)/example/example.html', | 30 'file://$(ProjectDir)/example/example.html', |
31 ], | 31 ], |
32 }, | 32 }, |
33 }], | 33 }], |
34 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris"', { | 34 ['os_posix == 1 and OS != "mac"', { |
35 'product_name': 'ppapi_example', | 35 'product_name': 'ppapi_example', |
36 'type': 'shared_library', | 36 'type': 'shared_library', |
37 'cflags': ['-fvisibility=hidden'], | 37 'cflags': ['-fvisibility=hidden'], |
38 # -gstabs, used in the official builds, causes an ICE. Simply remove | 38 # -gstabs, used in the official builds, causes an ICE. Simply remove |
39 # it. | 39 # it. |
40 'cflags!': ['-gstabs'], | 40 'cflags!': ['-gstabs'], |
41 }], | 41 }], |
42 ['OS=="mac"', { | 42 ['OS=="mac"', { |
43 'type': 'loadable_module', | 43 'type': 'loadable_module', |
44 'mac_bundle': 1, | 44 'mac_bundle': 1, |
(...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
305 'proxy/plugin_dispatcher_unittest.cc', | 305 'proxy/plugin_dispatcher_unittest.cc', |
306 'proxy/plugin_resource_tracker_unittest.cc', | 306 'proxy/plugin_resource_tracker_unittest.cc', |
307 'proxy/plugin_var_tracker_unittest.cc', | 307 'proxy/plugin_var_tracker_unittest.cc', |
308 'proxy/ppapi_proxy_test.cc', | 308 'proxy/ppapi_proxy_test.cc', |
309 'proxy/ppapi_proxy_test.h', | 309 'proxy/ppapi_proxy_test.h', |
310 'proxy/serialized_var_unittest.cc', | 310 'proxy/serialized_var_unittest.cc', |
311 ], | 311 ], |
312 }, | 312 }, |
313 ], | 313 ], |
314 } | 314 } |
OLD | NEW |