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_skia_unittest.cc', | 18 'image/image_skia_unittest.cc', |
19 'image/image_unittest.cc', | 19 'image/image_unittest.cc', |
20 'image/image_unittest_util.cc', | 20 'image/image_unittest_util.cc', |
21 'image/image_unittest_util.h', | 21 'image/image_unittest_util.h', |
22 'image/image_unittest_util_ios.mm', | 22 'image/image_unittest_util_ios.mm', |
23 'image/image_unittest_util_mac.mm', | 23 'image/image_unittest_util_mac.mm', |
| 24 'screen_unittest.cc', |
24 'test/run_all_unittests.cc', | 25 'test/run_all_unittests.cc', |
25 'text_elider_unittest.cc', | 26 'text_elider_unittest.cc', |
26 'text_utils_unittest.cc', | 27 'text_utils_unittest.cc', |
27 ], | 28 ], |
28 'all_sources': [ | 29 'all_sources': [ |
29 '<@(_common_sources)', | 30 '<@(_common_sources)', |
30 'animation/animation_container_unittest.cc', | 31 'animation/animation_container_unittest.cc', |
31 'animation/animation_unittest.cc', | 32 'animation/animation_unittest.cc', |
32 'animation/multi_animation_unittest.cc', | 33 'animation/multi_animation_unittest.cc', |
33 'animation/slide_animation_unittest.cc', | 34 'animation/slide_animation_unittest.cc', |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
130 # does not compile display_observer.cc | 131 # does not compile display_observer.cc |
131 'sources!': [ | 132 'sources!': [ |
132 'display_change_notifier_unittest.cc', | 133 'display_change_notifier_unittest.cc', |
133 ], | 134 ], |
134 }], | 135 }], |
135 ['OS=="android" or OS=="ios"', { | 136 ['OS=="android" or OS=="ios"', { |
136 'sources!': [ | 137 'sources!': [ |
137 'render_text_unittest.cc', | 138 'render_text_unittest.cc', |
138 ], | 139 ], |
139 }], | 140 }], |
| 141 ['use_aura==1', { |
| 142 'sources!': [ |
| 143 'screen_unittest.cc', |
| 144 ], |
| 145 }], |
140 ], | 146 ], |
141 } | 147 } |
142 ], | 148 ], |
143 'conditions': [ | 149 'conditions': [ |
144 ['OS == "android"', { | 150 ['OS == "android"', { |
145 'targets': [ | 151 'targets': [ |
146 { | 152 { |
147 'target_name': 'gfx_unittests_apk', | 153 'target_name': 'gfx_unittests_apk', |
148 'type': 'none', | 154 'type': 'none', |
149 'dependencies': [ | 155 'dependencies': [ |
150 '../android/ui_android.gyp:ui_java', | 156 '../android/ui_android.gyp:ui_java', |
151 'gfx_unittests', | 157 'gfx_unittests', |
152 ], | 158 ], |
153 'variables': { | 159 'variables': { |
154 'test_suite_name': 'gfx_unittests', | 160 'test_suite_name': 'gfx_unittests', |
155 }, | 161 }, |
156 'includes': [ '../../build/apk_test.gypi' ], | 162 'includes': [ '../../build/apk_test.gypi' ], |
157 }, | 163 }, |
158 ], | 164 ], |
159 }], | 165 }], |
160 ], | 166 ], |
161 } | 167 } |
OLD | NEW |