OLD | NEW |
1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2009 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 'includes': [ | 6 'includes': [ |
7 '../build/common.gypi', | 7 '../build/common.gypi', |
8 ], | 8 ], |
9 'targets': [ | 9 'targets': [ |
10 { | 10 { |
11 'target_name': 'gpu_plugin', | 11 'target_name': 'np_utils', |
12 'type': '<(library)', | 12 'type': '<(library)', |
13 'dependencies': [ | 13 'dependencies': [ |
14 '../../base/base.gyp:base', | 14 '../../base/base.gyp:base', |
15 ], | 15 ], |
16 'include_dirs': [ | 16 'include_dirs': [ |
17 '../..', | 17 '../..', |
18 '../../third_party/npapi', | 18 '../../third_party/npapi', |
19 ], | 19 ], |
20 'sources': [ | 20 'sources': [ |
| 21 'np_utils/default_np_object.h', |
| 22 'np_utils/dynamic_np_object.cc', |
| 23 'np_utils/dynamic_np_object.h', |
| 24 'np_utils/np_browser.cc', |
| 25 'np_utils/np_browser.h', |
| 26 'np_utils/np_browser_mock.h', |
| 27 'np_utils/np_browser_stub.cc', |
| 28 'np_utils/np_browser_stub.h', |
| 29 'np_utils/np_class.h', |
| 30 'np_utils/np_dispatcher.cc', |
| 31 'np_utils/np_dispatcher.h', |
| 32 'np_utils/np_dispatcher_specializations.h', |
| 33 'np_utils/np_object_mock.h', |
| 34 'np_utils/np_object_pointer.h', |
| 35 'np_utils/np_plugin_object.h', |
| 36 'np_utils/np_plugin_object_factory.cc', |
| 37 'np_utils/np_plugin_object_factory.h', |
| 38 'np_utils/np_plugin_object_factory_mock.h', |
| 39 'np_utils/np_plugin_object_mock.h', |
| 40 'np_utils/np_utils.cc', |
| 41 'np_utils/np_utils.h', |
| 42 'np_utils/webkit_browser.h', |
| 43 ], |
| 44 }, |
| 45 |
| 46 # This is a standalone executable until O3D is fully moved over to using |
| 47 # gyp. At that point these can become part of the regular O3D unit tests. |
| 48 { |
| 49 'target_name': 'np_utils_unittests', |
| 50 'type': 'executable', |
| 51 'dependencies': [ |
| 52 'gpu_plugin', |
| 53 '../../testing/gmock.gyp:gmock', |
| 54 '../../testing/gmock.gyp:gmockmain', |
| 55 '../../testing/gtest.gyp:gtest', |
| 56 ], |
| 57 'include_dirs': [ |
| 58 '../..', |
| 59 '../../third_party/npapi', |
| 60 ], |
| 61 'sources': [ |
| 62 'np_utils/dispatched_np_object_unittest.cc', |
| 63 'np_utils/dynamic_np_object_unittest.cc', |
| 64 'np_utils/np_class_unittest.cc', |
| 65 'np_utils/np_object_pointer_unittest.cc', |
| 66 'np_utils/np_utils_unittest.cc', |
| 67 ], |
| 68 }, |
| 69 |
| 70 { |
| 71 'target_name': 'system_services', |
| 72 'type': '<(library)', |
| 73 'dependencies': [ |
| 74 '../../base/base.gyp:base', |
| 75 'np_utils', |
| 76 ], |
| 77 'include_dirs': [ |
| 78 '../..', |
| 79 '../../third_party/npapi', |
| 80 ], |
| 81 'sources': [ |
| 82 'system_services/shared_memory.cc', |
| 83 'system_services/shared_memory.h', |
| 84 'system_services/shared_memory_mock.h', |
| 85 'system_services/shared_memory_public.h', |
| 86 ], |
| 87 }, |
| 88 |
| 89 # This is a standalone executable until O3D is fully moved over to using |
| 90 # gyp. At that point these can become part of the regular O3D unit tests. |
| 91 { |
| 92 'target_name': 'system_services_unittests', |
| 93 'type': 'executable', |
| 94 'dependencies': [ |
| 95 'system_services', |
| 96 '../../testing/gmock.gyp:gmock', |
| 97 '../../testing/gmock.gyp:gmockmain', |
| 98 '../../testing/gtest.gyp:gtest', |
| 99 ], |
| 100 'include_dirs': [ |
| 101 '../..', |
| 102 '../../third_party/npapi', |
| 103 ], |
| 104 'sources': [ |
| 105 'system_services/shared_memory_unittest.cc', |
| 106 ], |
| 107 }, |
| 108 |
| 109 { |
| 110 'target_name': 'gpu_plugin', |
| 111 'type': '<(library)', |
| 112 'dependencies': [ |
| 113 '../../base/base.gyp:base', |
| 114 'np_utils', |
| 115 ], |
| 116 'include_dirs': [ |
| 117 '../..', |
| 118 '../../third_party/npapi', |
| 119 ], |
| 120 'sources': [ |
21 'command_buffer.cc', | 121 'command_buffer.cc', |
22 'command_buffer.h', | 122 'command_buffer.h', |
23 'gpu_plugin.cc', | 123 'gpu_plugin.cc', |
24 'gpu_plugin.h', | 124 'gpu_plugin.h', |
25 'gpu_plugin_object.cc', | 125 'gpu_plugin_object.cc', |
26 'gpu_plugin_object.h', | 126 'gpu_plugin_object.h', |
27 'gpu_plugin_object_win.cc', | 127 'gpu_plugin_object_win.cc', |
28 'gpu_plugin_object_factory.cc', | 128 'gpu_plugin_object_factory.cc', |
29 'gpu_plugin_object_factory.h', | 129 'gpu_plugin_object_factory.h', |
30 'np_utils/default_np_object.h', | |
31 'np_utils/dynamic_np_object.cc', | |
32 'np_utils/dynamic_np_object.h', | |
33 'np_utils/np_browser.cc', | |
34 'np_utils/np_browser.h', | |
35 'np_utils/np_class.h', | |
36 'np_utils/np_dispatcher.cc', | |
37 'np_utils/np_dispatcher.h', | |
38 'np_utils/np_dispatcher_specializations.h', | |
39 'np_utils/np_object_pointer.h', | |
40 'np_utils/np_plugin_object.h', | |
41 'np_utils/np_plugin_object_factory.cc', | |
42 'np_utils/np_plugin_object_factory.h', | |
43 'np_utils/np_utils.cc', | |
44 'np_utils/np_utils.h', | |
45 ], | 130 ], |
46 }, | 131 }, |
47 | 132 |
48 # This is a standalone executable until O3D is fully moved over to using | 133 # This is a standalone executable until O3D is fully moved over to using |
49 # gyp. At that point these can become part of the regular O3D unit tests. | 134 # gyp. At that point these can become part of the regular O3D unit tests. |
50 { | 135 { |
51 'target_name': 'gpu_plugin_unittests', | 136 'target_name': 'gpu_plugin_unittests', |
52 'type': 'executable', | 137 'type': 'executable', |
53 'dependencies': [ | 138 'dependencies': [ |
54 'gpu_plugin', | 139 'gpu_plugin', |
| 140 'np_utils', |
| 141 'system_services', |
55 '../../testing/gmock.gyp:gmock', | 142 '../../testing/gmock.gyp:gmock', |
56 '../../testing/gmock.gyp:gmockmain', | 143 '../../testing/gmock.gyp:gmockmain', |
57 '../../testing/gtest.gyp:gtest', | 144 '../../testing/gtest.gyp:gtest', |
58 ], | 145 ], |
59 'include_dirs': [ | 146 'include_dirs': [ |
60 '../..', | 147 '../..', |
61 '../../third_party/npapi', | 148 '../../third_party/npapi', |
62 ], | 149 ], |
63 'sources': [ | 150 'sources': [ |
64 'command_buffer_mock.h', | 151 'command_buffer_mock.h', |
65 'command_buffer_unittest.cc', | 152 'command_buffer_unittest.cc', |
66 'gpu_plugin_unittest.cc', | 153 'gpu_plugin_unittest.cc', |
67 'gpu_plugin_object_unittest.cc', | 154 'gpu_plugin_object_unittest.cc', |
68 'gpu_plugin_object_factory_unittest.cc', | 155 'gpu_plugin_object_factory_unittest.cc', |
69 'np_utils/dispatched_np_object_unittest.cc', | |
70 'np_utils/dynamic_np_object_unittest.cc', | |
71 'np_utils/np_browser_mock.h', | |
72 'np_utils/np_browser_stub.cc', | |
73 'np_utils/np_browser_stub.h', | |
74 'np_utils/np_class_unittest.cc', | |
75 'np_utils/np_object_mock.h', | |
76 'np_utils/np_object_pointer_unittest.cc', | |
77 'np_utils/np_plugin_object_factory_mock.h', | |
78 'np_utils/np_plugin_object_mock.h', | |
79 'np_utils/np_utils_unittest.cc', | |
80 ], | 156 ], |
81 }, | 157 }, |
82 ] | 158 ] |
83 } | 159 } |
OLD | NEW |