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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
|
# Copyright (c) 2009 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
{
'includes': [
'../build/common.gypi',
],
'targets': [
{
'target_name': 'gpu_plugin',
'type': '<(library)',
'dependencies': [
'../../base/base.gyp:base',
],
'include_dirs': [
'../..',
'../../third_party/npapi',
],
'sources': [
'gpu_plugin.cc',
'gpu_plugin.h',
'gpu_plugin_object.cc',
'gpu_plugin_object.h',
'gpu_plugin_object_win.cc',
'gpu_plugin_object_factory.cc',
'gpu_plugin_object_factory.h',
'np_utils/base_np_object.cc',
'np_utils/base_np_object.h',
'np_utils/dispatched_np_object.cc',
'np_utils/dispatched_np_object.h',
'np_utils/np_browser.cc',
'np_utils/np_browser.h',
'np_utils/np_dispatcher.h',
'np_utils/np_dispatcher_specializations.h',
'np_utils/np_object_pointer.h',
'np_utils/np_plugin_object.h',
'np_utils/np_plugin_object_factory.cc',
'np_utils/np_plugin_object_factory.h',
'np_utils/np_utils.cc',
'np_utils/np_utils.h',
],
},
# This is a standalone executable until O3D is fully moved over to using
# gyp. At that point these can become part of the regular O3D unit tests.
{
'target_name': 'gpu_plugin_unittests',
'type': 'executable',
'dependencies': [
'gpu_plugin',
'../../testing/gmock.gyp:gmock',
'../../testing/gmock.gyp:gmockmain',
'../../testing/gtest.gyp:gtest',
],
'include_dirs': [
'../..',
'../../third_party/npapi',
],
'sources': [
'gpu_plugin_unittest.cc',
'gpu_plugin_object_unittest.cc',
'gpu_plugin_object_factory_unittest.cc',
'np_utils/base_np_object_mock.cc',
'np_utils/base_np_object_mock.h',
'np_utils/base_np_object_unittest.cc',
'np_utils/np_browser_stub.h',
'np_utils/np_browser_stub.cc',
'np_utils/dispatched_np_object_unittest.cc',
'np_utils/np_object_pointer_unittest.cc',
'np_utils/np_plugin_object_factory_mock.h',
'np_utils/np_plugin_object_mock.h',
'np_utils/np_utils_unittest.cc',
],
},
]
}
|