| 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 'variables': { | 6 'variables': { |
| 7 'chromium_code': 0, | 7 'chromium_code': 0, |
| 8 'cc_unit_tests_source_files': [ | 8 'cc_unit_tests_source_files': [ |
| 9 'active_animation_unittest.cc', | 9 'active_animation_unittest.cc', |
| 10 'content_layer_unittest.cc', | 10 'content_layer_unittest.cc', |
| 11 'contents_scaling_layer_unittest.cc', | 11 'contents_scaling_layer_unittest.cc', |
| 12 'damage_tracker_unittest.cc', | 12 'damage_tracker_unittest.cc', |
| 13 'delay_based_time_source_unittest.cc', | 13 'delay_based_time_source_unittest.cc', |
| 14 'delegated_renderer_layer_impl_unittest.cc', | 14 'delegated_renderer_layer_impl_unittest.cc', |
| 15 'draw_quad_unittest.cc', | 15 'draw_quad_unittest.cc', |
| 16 'float_quad_unittest.cc', | 16 'float_quad_unittest.cc', |
| 17 'frame_rate_controller_unittest.cc', | 17 'frame_rate_controller_unittest.cc', |
| 18 'gl_renderer_unittest.cc', | 18 'gl_renderer_unittest.cc', |
| 19 'gl_renderer_pixeltest.cc', | |
| 20 'hash_pair_unittest.cc', | 19 'hash_pair_unittest.cc', |
| 21 'heads_up_display_unittest.cc', | 20 'heads_up_display_unittest.cc', |
| 22 'keyframed_animation_curve_unittest.cc', | 21 'keyframed_animation_curve_unittest.cc', |
| 23 'layer_animation_controller_unittest.cc', | 22 'layer_animation_controller_unittest.cc', |
| 24 'layer_impl_unittest.cc', | 23 'layer_impl_unittest.cc', |
| 25 'layer_iterator_unittest.cc', | 24 'layer_iterator_unittest.cc', |
| 26 'layer_quad_unittest.cc', | 25 'layer_quad_unittest.cc', |
| 27 'layer_sorter_unittest.cc', | 26 'layer_sorter_unittest.cc', |
| 28 'layer_tree_host_common_unittest.cc', | 27 'layer_tree_host_common_unittest.cc', |
| 29 'layer_tree_host_impl_unittest.cc', | 28 'layer_tree_host_impl_unittest.cc', |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 80 'test/fake_web_scrollbar_theme_geometry.h', | 79 'test/fake_web_scrollbar_theme_geometry.h', |
| 81 'test/geometry_test_utils.cc', | 80 'test/geometry_test_utils.cc', |
| 82 'test/geometry_test_utils.h', | 81 'test/geometry_test_utils.h', |
| 83 'test/layer_test_common.cc', | 82 'test/layer_test_common.cc', |
| 84 'test/layer_test_common.h', | 83 'test/layer_test_common.h', |
| 85 'test/layer_tree_test_common.cc', | 84 'test/layer_tree_test_common.cc', |
| 86 'test/layer_tree_test_common.h', | 85 'test/layer_tree_test_common.h', |
| 87 'test/mock_quad_culler.cc', | 86 'test/mock_quad_culler.cc', |
| 88 'test/mock_quad_culler.h', | 87 'test/mock_quad_culler.h', |
| 89 'test/occlusion_tracker_test_common.h', | 88 'test/occlusion_tracker_test_common.h', |
| 90 'test/paths.cc', | |
| 91 'test/paths.h', | |
| 92 'test/pixel_test_output_surface.cc', | |
| 93 'test/pixel_test_output_surface.h', | |
| 94 'test/render_pass_test_common.cc', | 89 'test/render_pass_test_common.cc', |
| 95 'test/render_pass_test_common.h', | 90 'test/render_pass_test_common.h', |
| 96 'test/scheduler_test_common.cc', | 91 'test/scheduler_test_common.cc', |
| 97 'test/scheduler_test_common.h', | 92 'test/scheduler_test_common.h', |
| 98 'test/tiled_layer_test_common.cc', | 93 'test/tiled_layer_test_common.cc', |
| 99 'test/tiled_layer_test_common.h', | 94 'test/tiled_layer_test_common.h', |
| 100 ], | 95 ], |
| 101 }, | 96 }, |
| 102 'targets': [ | 97 'targets': [ |
| 103 { | 98 { |
| 104 'target_name': 'cc_unittests', | 99 'target_name': 'cc_unittests', |
| 105 'type': '<(gtest_target_type)', | 100 'type': '<(gtest_target_type)', |
| 106 'dependencies': [ | 101 'dependencies': [ |
| 107 '../base/base.gyp:test_support_base', | 102 '../base/base.gyp:test_support_base', |
| 108 '../media/media.gyp:media', | 103 '../media/media.gyp:media', |
| 109 '../skia/skia.gyp:skia', | 104 '../skia/skia.gyp:skia', |
| 110 '../testing/gmock.gyp:gmock', | 105 '../testing/gmock.gyp:gmock', |
| 111 '../testing/gtest.gyp:gtest', | 106 '../testing/gtest.gyp:gtest', |
| 112 '../ui/ui.gyp:ui', | 107 '../ui/ui.gyp:ui', |
| 113 '../webkit/support/webkit_support.gyp:webkit_gpu', | |
| 114 'cc.gyp:cc', | 108 'cc.gyp:cc', |
| 115 'cc_test_support', | 109 'cc_test_support', |
| 116 'cc_test_utils', | |
| 117 ], | 110 ], |
| 118 'sources': [ | 111 'sources': [ |
| 119 'test/run_all_unittests.cc', | 112 'test/run_all_unittests.cc', |
| 120 '<@(cc_unit_tests_source_files)', | 113 '<@(cc_unit_tests_source_files)', |
| 121 ], | 114 ], |
| 122 'include_dirs': [ | 115 'include_dirs': [ |
| 123 'test', | 116 'test', |
| 124 '.', | 117 '.', |
| 125 '../third_party/WebKit/Source/Platform/chromium', | 118 '../third_party/WebKit/Source/Platform/chromium', |
| 126 ], | 119 ], |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 165 { | 158 { |
| 166 'target_name': 'cc_test_support', | 159 'target_name': 'cc_test_support', |
| 167 'type': 'static_library', | 160 'type': 'static_library', |
| 168 'include_dirs': [ | 161 'include_dirs': [ |
| 169 'test', | 162 'test', |
| 170 '.', | 163 '.', |
| 171 '..', | 164 '..', |
| 172 '../third_party/WebKit/Source/Platform/chromium', | 165 '../third_party/WebKit/Source/Platform/chromium', |
| 173 ], | 166 ], |
| 174 'dependencies': [ | 167 'dependencies': [ |
| 168 '../ui/gl/gl.gyp:gl', |
| 169 '../testing/gtest.gyp:gtest', |
| 170 '../testing/gmock.gyp:gmock', |
| 175 '../skia/skia.gyp:skia', | 171 '../skia/skia.gyp:skia', |
| 176 '../testing/gmock.gyp:gmock', | |
| 177 '../testing/gtest.gyp:gtest', | |
| 178 '../third_party/WebKit/Source/WebKit/chromium/WebKit.gyp:webkit', | 172 '../third_party/WebKit/Source/WebKit/chromium/WebKit.gyp:webkit', |
| 179 '../third_party/mesa/mesa.gyp:osmesa', | |
| 180 '../ui/gl/gl.gyp:gl', | |
| 181 ], | 173 ], |
| 182 'sources': [ | 174 'sources': [ |
| 183 '<@(cc_tests_support_files)', | 175 '<@(cc_tests_support_files)', |
| 184 ], | 176 ], |
| 185 }, | 177 }, |
| 186 { | |
| 187 'target_name': 'cc_test_utils', | |
| 188 'type': 'static_library', | |
| 189 'include_dirs': [ | |
| 190 '..' | |
| 191 ], | |
| 192 'sources': [ | |
| 193 'test/pixel_test_utils.cc', | |
| 194 'test/pixel_test_utils.h', | |
| 195 ], | |
| 196 'dependencies': [ | |
| 197 '../skia/skia.gyp:skia', | |
| 198 '../ui/ui.gyp:ui', # for png_codec | |
| 199 ], | |
| 200 }, | |
| 201 ], | 178 ], |
| 202 'conditions': [ | 179 'conditions': [ |
| 203 # Special target to wrap a gtest_target_type==shared_library | 180 # Special target to wrap a gtest_target_type==shared_library |
| 204 # cc_unittests into an android apk for execution. | 181 # cc_unittests into an android apk for execution. |
| 205 ['OS == "android" and gtest_target_type == "shared_library"', { | 182 ['OS == "android" and gtest_target_type == "shared_library"', { |
| 206 'targets': [ | 183 'targets': [ |
| 207 { | 184 { |
| 208 'target_name': 'cc_unittests_apk', | 185 'target_name': 'cc_unittests_apk', |
| 209 'type': 'none', | 186 'type': 'none', |
| 210 'dependencies': [ | 187 'dependencies': [ |
| (...skipping 18 matching lines...) Expand all Loading... |
| 229 'variables': { | 206 'variables': { |
| 230 'test_suite_name': 'cc_perftests', | 207 'test_suite_name': 'cc_perftests', |
| 231 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)cc_perfte
sts<(SHARED_LIB_SUFFIX)', | 208 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)cc_perfte
sts<(SHARED_LIB_SUFFIX)', |
| 232 }, | 209 }, |
| 233 'includes': [ '../build/apk_test.gypi' ], | 210 'includes': [ '../build/apk_test.gypi' ], |
| 234 }, | 211 }, |
| 235 ], | 212 ], |
| 236 }] | 213 }] |
| 237 ], | 214 ], |
| 238 } | 215 } |
| OLD | NEW |