Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(173)

Side by Side Diff: ui/compositor/BUILD.gn

Issue 1662053002: Move gn _run target generation into test(). (RELAND) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: +kbr changes Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ui/base/BUILD.gn ('k') | ui/display/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 import("//build/config/ui.gni") 5 import("//build/config/ui.gni")
6 import("//testing/test.gni") 6 import("//testing/test.gni")
7 7
8 component("compositor") { 8 component("compositor") {
9 sources = [ 9 sources = [
10 "callback_layer_animation_observer.cc", 10 "callback_layer_animation_observer.cc",
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 deps += [ "//ui/gfx/x" ] 153 deps += [ "//ui/gfx/x" ]
154 } 154 }
155 155
156 if (use_ozone) { 156 if (use_ozone) {
157 sources += [ "test/test_compositor_host_ozone.cc" ] 157 sources += [ "test/test_compositor_host_ozone.cc" ]
158 } else if (use_x11) { 158 } else if (use_x11) {
159 sources += [ "test/test_compositor_host_x11.cc" ] 159 sources += [ "test/test_compositor_host_x11.cc" ]
160 } 160 }
161 } 161 }
162 162
163 # TODO(GYP): Delete this after we've converted everything to GN.
164 # The _run targets exist only for compatibility w/ GYP.
165 group("compositor_unittests_run") {
166 testonly = true
167 deps = [
168 ":compositor_unittests",
169 ]
170 }
171
172 test("compositor_unittests") { 163 test("compositor_unittests") {
173 sources = [ 164 sources = [
174 "callback_layer_animation_observer_unittest.cc", 165 "callback_layer_animation_observer_unittest.cc",
175 "compositor_unittest.cc", 166 "compositor_unittest.cc",
176 "layer_animation_element_unittest.cc", 167 "layer_animation_element_unittest.cc",
177 "layer_animation_sequence_unittest.cc", 168 "layer_animation_sequence_unittest.cc",
178 "layer_animator_unittest.cc", 169 "layer_animator_unittest.cc",
179 "layer_owner_unittest.cc", 170 "layer_owner_unittest.cc",
180 "layer_unittest.cc", 171 "layer_unittest.cc",
181 "run_all_unittests.cc", 172 "run_all_unittests.cc",
(...skipping 17 matching lines...) Expand all
199 "//ui/base", 190 "//ui/base",
200 "//ui/gfx", 191 "//ui/gfx",
201 "//ui/gfx/geometry", 192 "//ui/gfx/geometry",
202 "//ui/gl", 193 "//ui/gl",
203 "//ui/resources", 194 "//ui/resources",
204 ] 195 ]
205 if (is_linux) { 196 if (is_linux) {
206 deps += [ "//third_party/mesa:osmesa" ] 197 deps += [ "//third_party/mesa:osmesa" ]
207 } 198 }
208 } 199 }
OLDNEW
« no previous file with comments | « ui/base/BUILD.gn ('k') | ui/display/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698