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