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', | |
danakj
2015/05/04 17:45:12
we shouldn't be including '../*' as sources in a g
| |
30 ], | |
28 'all_sources': [ | 31 'all_sources': [ |
29 '<@(_common_sources)', | 32 '<@(_common_sources)', |
30 'animation/animation_container_unittest.cc', | 33 'animation/animation_container_unittest.cc', |
31 'animation/animation_unittest.cc', | 34 'animation/animation_unittest.cc', |
32 'animation/multi_animation_unittest.cc', | 35 'animation/multi_animation_unittest.cc', |
33 'animation/slide_animation_unittest.cc', | 36 'animation/slide_animation_unittest.cc', |
34 'animation/tween_unittest.cc', | 37 'animation/tween_unittest.cc', |
35 'blit_unittest.cc', | 38 'blit_unittest.cc', |
36 'break_list_unittest.cc', | 39 'break_list_unittest.cc', |
37 'canvas_unittest.cc', | 40 'canvas_unittest.cc', |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
85 '../base/ui_base.gyp:ui_base', | 88 '../base/ui_base.gyp:ui_base', |
86 '../resources/ui_resources.gyp:ui_test_pak', | 89 '../resources/ui_resources.gyp:ui_test_pak', |
87 'gfx.gyp:gfx', | 90 'gfx.gyp:gfx', |
88 'gfx.gyp:gfx_geometry', | 91 'gfx.gyp:gfx_geometry', |
89 'gfx.gyp:gfx_test_support', | 92 'gfx.gyp:gfx_test_support', |
90 ], | 93 ], |
91 'conditions': [ | 94 'conditions': [ |
92 ['OS == "ios"', { | 95 ['OS == "ios"', { |
93 'sources': ['<@(_common_sources)'], | 96 'sources': ['<@(_common_sources)'], |
94 }, { # OS != "ios" | 97 }, { # OS != "ios" |
95 'sources': ['<@(_all_sources)'], | 98 'sources': [ |
99 '<@(_all_sources)', | |
100 '<@(_gl_test_sources)', | |
101 ], | |
102 'dependencies': [ | |
103 '../gl/gl.gyp:gl', | |
104 ], | |
96 }], | 105 }], |
97 ['OS != "mac" and OS != "ios"', { | 106 ['OS != "mac" and OS != "ios"', { |
98 'sources': [ | 107 'sources': [ |
99 'interpolated_transform_unittest.cc', | 108 'interpolated_transform_unittest.cc', |
100 'transform_unittest.cc', | 109 'transform_unittest.cc', |
101 ], | 110 ], |
102 }], | 111 }], |
103 ['OS == "android"', { | 112 ['OS == "android"', { |
104 'dependencies': [ | 113 'dependencies': [ |
105 '../../testing/android/native_test.gyp:native_test_native_code', | 114 '../../testing/android/native_test.gyp:native_test_native_code', |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
193 'dependencies': [ | 202 'dependencies': [ |
194 '../../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', | 203 '../../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', |
195 ], | 204 ], |
196 }], | 205 }], |
197 ], | 206 ], |
198 }, | 207 }, |
199 ], | 208 ], |
200 }], | 209 }], |
201 ], | 210 ], |
202 } | 211 } |
OLD | NEW |