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

Side by Side Diff: components/BUILD.gn

Issue 658383003: Componentize Constrained Window Views (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: rebase Created 6 years, 1 month 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
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/features.gni") 5 import("//build/config/features.gni")
6 import("//build/config/ui.gni") 6 import("//build/config/ui.gni")
7 7
8 # Collection of all components. You wouldn't link to this, but this is rather 8 # Collection of all components. You wouldn't link to this, but this is rather
9 # to reference the files so they can be compiled by the build system. 9 # to reference the files so they can be compiled by the build system.
10 group("all_components") { 10 group("all_components") {
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
186 "//components/web_modal", # Blocked on content. 186 "//components/web_modal", # Blocked on content.
187 ] 187 ]
188 } 188 }
189 189
190 if (!is_ios && !is_android) { 190 if (!is_ios && !is_android) {
191 deps += [ 191 deps += [
192 "//components/copresence", 192 "//components/copresence",
193 "//components/storage_monitor", 193 "//components/storage_monitor",
194 ] 194 ]
195 } 195 }
196
197 if (toolkit_views) {
198 deps += [ "//components/constrained_window" ]
199 }
196 } 200 }
197 201
198 # TODO(GYP) enable when it links. 202 # TODO(GYP) enable when it links.
199 if (false) { 203 if (false) {
200 204
201 # To add a unit test to this target, make a "unit_test" source_set in your 205 # To add a unit test to this target, make a "unit_test" source_set in your
202 # component (it's important to use a source_set instead of a static library or 206 # component (it's important to use a source_set instead of a static library or
203 # no tests will run) and add a reference here. You can add more than one unit 207 # no tests will run) and add a reference here. You can add more than one unit
204 # test target if convenient. 208 # test target if convenient.
205 test("components_unittests") { 209 test("components_unittests") {
(...skipping 25 matching lines...) Expand all
231 "//components/ownership:unit_tests", 235 "//components/ownership:unit_tests",
232 "//components/proximity_auth:unit_tests", 236 "//components/proximity_auth:unit_tests",
233 "//components/variations:unit_tests", 237 "//components/variations:unit_tests",
234 ] 238 ]
235 239
236 # TODO(GYP) need this target. 240 # TODO(GYP) need this target.
237 #'breakpad/app/crash_keys_win_unittest.cc', 241 #'breakpad/app/crash_keys_win_unittest.cc',
238 242
239 # Precache tests need these defines. 243 # Precache tests need these defines.
240 #configs += [ "//components/precache/core:precache_config" ] 244 #configs += [ "//components/precache/core:precache_config" ]
245
246 if (toolkit_views) {
247 deps += [ "//components/constrained_window:unit_tests" ]
248 }
241 } 249 }
242 250
243 } 251 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698