OLD | NEW |
1 | 1 |
2 { | 2 { |
3 'targets': [ | 3 'targets': [ |
4 { | 4 { |
5 'target_name': 'pepper_test_plugin', | 5 'target_name': 'pepper_test_plugin', |
6 'type': 'shared_library', | 6 'type': 'shared_library', |
7 'dependencies': [ | 7 'dependencies': [ |
8 '../../../base/base.gyp:base', | 8 '../../../base/base.gyp:base', |
9 '../../../skia/skia.gyp:skia', | 9 '../../../skia/skia.gyp:skia', |
10 '../../../third_party/npapi/npapi.gyp:npapi', | 10 '../../../third_party/npapi/npapi.gyp:npapi', |
11 ], | 11 ], |
12 'include_dirs': [ | 12 'include_dirs': [ |
13 '../../..', # Root of Chrome Checkout | 13 '../../..', # Root of Chrome Checkout |
14 ], | 14 ], |
15 'conditions': [ | 15 'conditions': [ |
16 ['OS=="win"', { | 16 ['OS=="win"', { |
17 'product_name': 'pepper_test_plugin', | 17 'product_name': 'pepper_test_plugin', |
18 'msvs_guid': 'EE00E36E-9E8C-4DFB-925E-FBE32CEDB91A', | 18 'msvs_guid': 'EE00E36E-9E8C-4DFB-925E-FBE32CEDB91A', |
| 19 'dependencies': [ |
| 20 '../../../gpu/gpu.gyp:gles2_demo_lib', |
| 21 ], |
19 'sources': [ | 22 'sources': [ |
20 'pepper_test_plugin.def', | 23 'pepper_test_plugin.def', |
21 'pepper_test_plugin.rc', | 24 'pepper_test_plugin.rc', |
22 ], | 25 ], |
23 }] | 26 }] |
24 ], | 27 ], |
25 'sources': [ | 28 'sources': [ |
| 29 'command_buffer_pepper.cc', |
| 30 'command_buffer_pepper.h', |
26 'main.cc', | 31 'main.cc', |
27 'plugin_object.cc', | 32 'plugin_object.cc', |
28 'plugin_object.h', | 33 'plugin_object.h', |
29 'test_object.cc', | 34 'test_object.cc', |
30 'test_object.h', | 35 'test_object.h', |
31 'event_handler.cc', | 36 'event_handler.cc', |
32 'event_handler.h' | 37 'event_handler.h' |
33 ], | 38 ], |
34 'run_as': { | 39 'run_as': { |
35 'working_directory': '.', | |
36 'action': [ | 40 'action': [ |
37 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)chrome<(EXECUTABLE_SUFFIX)', | 41 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)chrome<(EXECUTABLE_SUFFIX)', |
38 '--no-sandbox', | 42 '--no-sandbox', |
39 '--internal-pepper', | 43 '--internal-pepper', |
| 44 '--enable-gpu-plugin', |
40 '--load-plugin=$(TargetPath)', | 45 '--load-plugin=$(TargetPath)', |
41 'file://$(ProjectDir)test_page.html', | 46 'file://$(ProjectDir)test_page.html', |
42 ], | 47 ], |
43 }, | 48 }, |
44 } | 49 } |
45 ], | 50 ], |
46 } | 51 } |
OLD | NEW |