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