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 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
136 'target_name': 'ppapi_unittests', | 136 'target_name': 'ppapi_unittests', |
137 'type': 'executable', | 137 'type': 'executable', |
138 'variables': { | 138 'variables': { |
139 'chromium_code': 1, | 139 'chromium_code': 1, |
140 }, | 140 }, |
141 'dependencies': [ | 141 'dependencies': [ |
142 'ppapi_host', | 142 'ppapi_host', |
143 'ppapi_proxy', | 143 'ppapi_proxy', |
144 'ppapi_shared', | 144 'ppapi_shared', |
145 'ppapi_unittest_shared', | 145 'ppapi_unittest_shared', |
| 146 '../base/base.gyp:run_all_unittests', |
146 '../base/base.gyp:test_support_base', | 147 '../base/base.gyp:test_support_base', |
147 '../gpu/gpu.gyp:gpu_ipc', | 148 '../gpu/gpu.gyp:gpu_ipc', |
148 '../ipc/ipc.gyp:ipc', | 149 '../ipc/ipc.gyp:ipc', |
149 '../ipc/ipc.gyp:test_support_ipc', | 150 '../ipc/ipc.gyp:test_support_ipc', |
150 '../media/media.gyp:shared_memory_support', | 151 '../media/media.gyp:shared_memory_support', |
151 '../testing/gmock.gyp:gmock', | 152 '../testing/gmock.gyp:gmock', |
152 '../testing/gtest.gyp:gtest', | 153 '../testing/gtest.gyp:gtest', |
153 '../ui/surface/surface.gyp:surface', | 154 '../ui/surface/surface.gyp:surface', |
154 ], | 155 ], |
155 # For the nacl_http_response_headers_unittest below. | 156 # For the nacl_http_response_headers_unittest below. |
156 'include_dirs': [ | 157 'include_dirs': [ |
157 '../ppapi', | 158 '../ppapi', |
158 ], | 159 ], |
159 'sources': [ | 160 'sources': [ |
160 'proxy/run_all_unittests.cc', | |
161 | |
162 'host/resource_message_filter_unittest.cc', | 161 'host/resource_message_filter_unittest.cc', |
163 # Piggy back on ppapi_unittests for a simple NaCl unittest, | 162 # Piggy back on ppapi_unittests for a simple NaCl unittest, |
164 # which must not have dependencies on anything other than stdlibs. | 163 # 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 | 164 # 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 | 165 # is built. Otherwise, we would need to depend on the NaCl trusted |
167 # plugin being built to build the object. | 166 # plugin being built to build the object. |
168 # TODO(jvoung): move this to unit_tests instead of ppapi_unittests | 167 # TODO(jvoung): move this to unit_tests instead of ppapi_unittests |
169 # once this moves into chrome. | 168 # once this moves into chrome. |
170 'native_client/src/trusted/plugin/nacl_http_response_headers.cc', | 169 'native_client/src/trusted/plugin/nacl_http_response_headers.cc', |
171 'native_client/src/trusted/plugin/nacl_http_response_headers_unittest.cc
', | 170 'native_client/src/trusted/plugin/nacl_http_response_headers_unittest.cc
', |
(...skipping 344 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
516 'ppapi.gyp:ppapi_cpp', | 515 'ppapi.gyp:ppapi_cpp', |
517 ], | 516 ], |
518 'sources': [ | 517 'sources': [ |
519 'examples/printing/printing.cc', | 518 'examples/printing/printing.cc', |
520 ], | 519 ], |
521 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 520 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
522 'msvs_disabled_warnings': [ 4267, ], | 521 'msvs_disabled_warnings': [ 4267, ], |
523 }, | 522 }, |
524 ], | 523 ], |
525 } | 524 } |
OLD | NEW |