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 'target_name': 'ppapi_tests', | 8 'target_name': 'ppapi_tests', |
9 'type': 'loadable_module', | 9 'type': 'loadable_module', |
10 'include_dirs': [ | 10 'include_dirs': [ |
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
145 'ppapi_unittest_shared', | 145 'ppapi_unittest_shared', |
146 '../base/base.gyp:test_support_base', | 146 '../base/base.gyp:test_support_base', |
147 '../gpu/gpu.gyp:gpu_ipc', | 147 '../gpu/gpu.gyp:gpu_ipc', |
148 '../ipc/ipc.gyp:ipc', | 148 '../ipc/ipc.gyp:ipc', |
149 '../ipc/ipc.gyp:test_support_ipc', | 149 '../ipc/ipc.gyp:test_support_ipc', |
150 '../media/media.gyp:shared_memory_support', | 150 '../media/media.gyp:shared_memory_support', |
151 '../testing/gmock.gyp:gmock', | 151 '../testing/gmock.gyp:gmock', |
152 '../testing/gtest.gyp:gtest', | 152 '../testing/gtest.gyp:gtest', |
153 '../ui/surface/surface.gyp:surface', | 153 '../ui/surface/surface.gyp:surface', |
154 ], | 154 ], |
| 155 # For the nacl_http_response_headers_unittest below. |
| 156 'include_dirs': [ |
| 157 '../ppapi', |
| 158 ], |
155 'sources': [ | 159 'sources': [ |
156 'proxy/run_all_unittests.cc', | 160 'proxy/run_all_unittests.cc', |
157 | 161 |
158 'host/resource_message_filter_unittest.cc', | 162 'host/resource_message_filter_unittest.cc', |
| 163 # Piggy back on ppapi_unittests for a simple NaCl unittest, |
| 164 # which must not have dependencies on anything other than stdlibs. |
| 165 # We add the source file, not just the test to ensure that the object |
| 166 # is built. Otherwise, we would need to depend on the NaCl trusted |
| 167 # plugin being built to build the object. |
| 168 # TODO(jvoung): move this to unit_tests instead of ppapi_unittests |
| 169 # once this moves into chrome. |
| 170 'native_client/src/trusted/plugin/nacl_http_response_headers.cc', |
| 171 'native_client/src/trusted/plugin/nacl_http_response_headers_unittest.cc
', |
159 'proxy/device_enumeration_resource_helper_unittest.cc', | 172 'proxy/device_enumeration_resource_helper_unittest.cc', |
160 'proxy/file_chooser_resource_unittest.cc', | 173 'proxy/file_chooser_resource_unittest.cc', |
161 'proxy/flash_resource_unittest.cc', | 174 'proxy/flash_resource_unittest.cc', |
162 'proxy/mock_resource.cc', | 175 'proxy/mock_resource.cc', |
163 'proxy/mock_resource.h', | 176 'proxy/mock_resource.h', |
164 'proxy/pdf_resource_unittest.cc', | 177 'proxy/pdf_resource_unittest.cc', |
165 'proxy/plugin_dispatcher_unittest.cc', | 178 'proxy/plugin_dispatcher_unittest.cc', |
166 'proxy/plugin_resource_tracker_unittest.cc', | 179 'proxy/plugin_resource_tracker_unittest.cc', |
167 'proxy/plugin_var_tracker_unittest.cc', | 180 'proxy/plugin_var_tracker_unittest.cc', |
168 'proxy/ppb_var_unittest.cc', | 181 'proxy/ppb_var_unittest.cc', |
(...skipping 339 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
508 'ppapi.gyp:ppapi_cpp', | 521 'ppapi.gyp:ppapi_cpp', |
509 ], | 522 ], |
510 'sources': [ | 523 'sources': [ |
511 'examples/printing/printing.cc', | 524 'examples/printing/printing.cc', |
512 ], | 525 ], |
513 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 526 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
514 'msvs_disabled_warnings': [ 4267, ], | 527 'msvs_disabled_warnings': [ 4267, ], |
515 }, | 528 }, |
516 ], | 529 ], |
517 } | 530 } |
OLD | NEW |