OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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': 1, | 7 'chromium_code': 1, |
8 }, | 8 }, |
9 'targets': [ | 9 'targets': [ |
10 { | 10 { |
11 'target_name': 'gfx_unittests', | 11 'target_name': 'gfx_unittests', |
12 'type': '<(gtest_target_type)', | 12 'type': '<(gtest_target_type)', |
13 # iOS uses a small subset of ui. common_sources are the only files that | 13 # iOS uses a small subset of ui. common_sources are the only files that |
14 # are built on iOS. | 14 # are built on iOS. |
15 'common_sources' : [ | 15 'common_sources' : [ |
16 'font_unittest.cc', | 16 'font_unittest.cc', |
17 'image/image_family_unittest.cc', | 17 'image/image_family_unittest.cc', |
18 'image/image_ios_unittest.mm', | 18 'image/image_ios_unittest.mm', |
19 'image/image_skia_unittest.cc', | 19 'image/image_skia_unittest.cc', |
20 'image/image_unittest.cc', | 20 'image/image_unittest.cc', |
21 'ios/NSString+CrStringDrawing_unittest.mm', | 21 'ios/NSString+CrStringDrawing_unittest.mm', |
22 'ios/uikit_util_unittest.mm', | 22 'ios/uikit_util_unittest.mm', |
23 'screen_unittest.cc', | 23 'screen_unittest.cc', |
24 'test/run_all_unittests.cc', | 24 'test/run_all_unittests.cc', |
25 'text_elider_unittest.cc', | 25 'text_elider_unittest.cc', |
26 'text_utils_unittest.cc', | 26 'text_utils_unittest.cc', |
27 ], | 27 ], |
| 28 'gl_test_sources' : [ |
| 29 '../gl/gl_api_unittest.cc', |
| 30 ], |
28 'all_sources': [ | 31 'all_sources': [ |
29 '<@(_common_sources)', | 32 '<@(_common_sources)', |
| 33 '<@(_gl_test_sources)', |
30 'animation/animation_container_unittest.cc', | 34 'animation/animation_container_unittest.cc', |
31 'animation/animation_unittest.cc', | 35 'animation/animation_unittest.cc', |
32 'animation/multi_animation_unittest.cc', | 36 'animation/multi_animation_unittest.cc', |
33 'animation/slide_animation_unittest.cc', | 37 'animation/slide_animation_unittest.cc', |
34 'animation/tween_unittest.cc', | 38 'animation/tween_unittest.cc', |
35 'blit_unittest.cc', | 39 'blit_unittest.cc', |
36 'break_list_unittest.cc', | 40 'break_list_unittest.cc', |
37 'canvas_unittest.cc', | 41 'canvas_unittest.cc', |
38 'canvas_unittest_mac.mm', | 42 'canvas_unittest_mac.mm', |
39 'codec/jpeg_codec_unittest.cc', | 43 'codec/jpeg_codec_unittest.cc', |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 'skrect_conversion_unittest.cc', | 79 'skrect_conversion_unittest.cc', |
76 'transform_util_unittest.cc', | 80 'transform_util_unittest.cc', |
77 'utf16_indexing_unittest.cc', | 81 'utf16_indexing_unittest.cc', |
78 ], | 82 ], |
79 'dependencies': [ | 83 'dependencies': [ |
80 '../../base/base.gyp:base', | 84 '../../base/base.gyp:base', |
81 '../../base/base.gyp:test_support_base', | 85 '../../base/base.gyp:test_support_base', |
82 '../../skia/skia.gyp:skia', | 86 '../../skia/skia.gyp:skia', |
83 '../../testing/gtest.gyp:gtest', | 87 '../../testing/gtest.gyp:gtest', |
84 '../../third_party/libpng/libpng.gyp:libpng', | 88 '../../third_party/libpng/libpng.gyp:libpng', |
| 89 '../../ui/gl/gl.gyp:gl', |
85 '../base/ui_base.gyp:ui_base', | 90 '../base/ui_base.gyp:ui_base', |
86 '../resources/ui_resources.gyp:ui_test_pak', | 91 '../resources/ui_resources.gyp:ui_test_pak', |
87 'gfx.gyp:gfx', | 92 'gfx.gyp:gfx', |
88 'gfx.gyp:gfx_geometry', | 93 'gfx.gyp:gfx_geometry', |
89 'gfx.gyp:gfx_test_support', | 94 'gfx.gyp:gfx_test_support', |
90 ], | 95 ], |
91 'conditions': [ | 96 'conditions': [ |
92 ['OS == "ios"', { | 97 ['OS == "ios"', { |
93 'sources': ['<@(_common_sources)'], | 98 'sources': ['<@(_common_sources)'], |
94 }, { # OS != "ios" | 99 }, { # OS != "ios" |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
193 'dependencies': [ | 198 'dependencies': [ |
194 '../../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', | 199 '../../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', |
195 ], | 200 ], |
196 }], | 201 }], |
197 ], | 202 ], |
198 }, | 203 }, |
199 ], | 204 ], |
200 }], | 205 }], |
201 ], | 206 ], |
202 } | 207 } |
OLD | NEW |