OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 # GN version: //ppapi:ppapi_tests |
8 'target_name': 'ppapi_tests', | 9 'target_name': 'ppapi_tests', |
9 'type': 'loadable_module', | 10 'type': 'loadable_module', |
10 'include_dirs': [ | 11 'include_dirs': [ |
11 'lib/gl/include', | 12 'lib/gl/include', |
12 ], | 13 ], |
13 'defines': [ | 14 'defines': [ |
14 'GL_GLEXT_PROTOTYPES', | 15 'GL_GLEXT_PROTOTYPES', |
15 ], | 16 ], |
16 'sources': [ | 17 'sources': [ |
17 '<@(test_common_source_files)', | 18 '<@(test_common_source_files)', |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
99 'proxy/resource_message_test_sink.cc', | 100 'proxy/resource_message_test_sink.cc', |
100 'proxy/resource_message_test_sink.h', | 101 'proxy/resource_message_test_sink.h', |
101 'shared_impl/test_globals.cc', | 102 'shared_impl/test_globals.cc', |
102 'shared_impl/test_globals.h', | 103 'shared_impl/test_globals.h', |
103 'shared_impl/unittest_utils.cc', | 104 'shared_impl/unittest_utils.cc', |
104 'shared_impl/unittest_utils.h', | 105 'shared_impl/unittest_utils.h', |
105 ], | 106 ], |
106 }, | 107 }, |
107 | 108 |
108 { | 109 { |
| 110 # GN version: //ppapi:ppapi_perftests |
109 'target_name': 'ppapi_perftests', | 111 'target_name': 'ppapi_perftests', |
110 'type': 'executable', | 112 'type': 'executable', |
111 'variables': { | 113 'variables': { |
112 'chromium_code': 1, | 114 'chromium_code': 1, |
113 }, | 115 }, |
114 'dependencies': [ | 116 'dependencies': [ |
115 'ppapi_proxy', | 117 'ppapi_proxy', |
116 'ppapi_shared', | 118 'ppapi_shared', |
117 'ppapi_unittest_shared', | 119 'ppapi_unittest_shared', |
118 '../base/base.gyp:test_support_base', | 120 '../base/base.gyp:test_support_base', |
119 '../testing/gtest.gyp:gtest', | 121 '../testing/gtest.gyp:gtest', |
120 ], | 122 ], |
121 'sources': [ | 123 'sources': [ |
122 'proxy/ppapi_perftests.cc', | 124 'proxy/ppapi_perftests.cc', |
123 'proxy/ppp_messaging_proxy_perftest.cc', | 125 'proxy/ppp_messaging_proxy_perftest.cc', |
124 ], | 126 ], |
125 'conditions': [ | 127 'conditions': [ |
126 # See http://crbug.com/162998#c4 for why this is needed. | 128 # See http://crbug.com/162998#c4 for why this is needed. |
127 ['OS=="linux" and use_allocator!="none"', { | 129 ['OS=="linux" and use_allocator!="none"', { |
128 'dependencies': [ | 130 'dependencies': [ |
129 '../base/allocator/allocator.gyp:allocator', | 131 '../base/allocator/allocator.gyp:allocator', |
130 ], | 132 ], |
131 }], | 133 }], |
132 ], | 134 ], |
133 }, | 135 }, |
134 { | 136 { |
| 137 # GN version: //ppapi:ppapi_unittests |
135 'target_name': 'ppapi_unittests', | 138 'target_name': 'ppapi_unittests', |
136 'type': 'executable', | 139 'type': 'executable', |
137 'variables': { | 140 'variables': { |
138 'chromium_code': 1, | 141 'chromium_code': 1, |
139 }, | 142 }, |
140 'dependencies': [ | 143 'dependencies': [ |
141 'ppapi_host', | 144 'ppapi_host', |
142 'ppapi_proxy', | 145 'ppapi_proxy', |
143 'ppapi_shared', | 146 'ppapi_shared', |
144 'ppapi_unittest_shared', | 147 'ppapi_unittest_shared', |
145 '../base/base.gyp:run_all_unittests', | 148 '../base/base.gyp:run_all_unittests', |
146 '../base/base.gyp:test_support_base', | 149 '../base/base.gyp:test_support_base', |
147 '../gpu/gpu.gyp:gpu_ipc', | 150 '../gpu/gpu.gyp:gpu_ipc', |
148 '../ipc/ipc.gyp:ipc', | 151 '../ipc/ipc.gyp:ipc', |
149 '../ipc/ipc.gyp:test_support_ipc', | 152 '../ipc/ipc.gyp:test_support_ipc', |
150 '../media/media.gyp:shared_memory_support', | 153 '../media/media.gyp:shared_memory_support', |
151 '../testing/gmock.gyp:gmock', | 154 '../testing/gmock.gyp:gmock', |
152 '../testing/gtest.gyp:gtest', | 155 '../testing/gtest.gyp:gtest', |
153 '../ui/surface/surface.gyp:surface', | 156 '../ui/surface/surface.gyp:surface', |
154 ], | 157 ], |
155 'sources': [ | 158 'sources': [ |
| 159 # Note: sources list duplicated in GN build. |
156 'host/resource_message_filter_unittest.cc', | 160 'host/resource_message_filter_unittest.cc', |
157 'proxy/device_enumeration_resource_helper_unittest.cc', | 161 'proxy/device_enumeration_resource_helper_unittest.cc', |
158 'proxy/file_chooser_resource_unittest.cc', | 162 'proxy/file_chooser_resource_unittest.cc', |
159 'proxy/file_system_resource_unittest.cc', | 163 'proxy/file_system_resource_unittest.cc', |
160 'proxy/flash_resource_unittest.cc', | 164 'proxy/flash_resource_unittest.cc', |
161 'proxy/interface_list_unittest.cc', | 165 'proxy/interface_list_unittest.cc', |
162 'proxy/mock_resource.cc', | 166 'proxy/mock_resource.cc', |
163 'proxy/mock_resource.h', | 167 'proxy/mock_resource.h', |
164 'proxy/nacl_message_scanner_unittest.cc', | 168 'proxy/nacl_message_scanner_unittest.cc', |
165 'proxy/pdf_resource_unittest.cc', | 169 'proxy/pdf_resource_unittest.cc', |
(...skipping 457 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
623 'sources': [ | 627 'sources': [ |
624 'examples/compositor/compositor.cc', | 628 'examples/compositor/compositor.cc', |
625 'examples/compositor/spinning_cube.cc', | 629 'examples/compositor/spinning_cube.cc', |
626 'examples/compositor/spinning_cube.h', | 630 'examples/compositor/spinning_cube.h', |
627 ], | 631 ], |
628 }, | 632 }, |
629 # Adding a new PPAPI example? Don't forget to update the GN build. | 633 # Adding a new PPAPI example? Don't forget to update the GN build. |
630 # See //ppapi/examples/BUILD.gn | 634 # See //ppapi/examples/BUILD.gn |
631 ], | 635 ], |
632 } | 636 } |
OLD | NEW |