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