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

Side by Side Diff: components/BUILD.gn

Issue 1212163011: Componentize chrome/browser/rlz (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix compilation with gn Created 5 years, 5 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
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 import("//testing/test.gni") 7 import("//testing/test.gni")
8 import("//tools/grit/repack.gni") 8 import("//tools/grit/repack.gni")
9 9
10 # Collection of all components. You wouldn't link to this, but this is rather 10 # Collection of all components. You wouldn't link to this, but this is rather
(...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after
300 300
301 # These are the deps required by the code in this target. 301 # These are the deps required by the code in this target.
302 "//base", 302 "//base",
303 "//base/test:test_support", 303 "//base/test:test_support",
304 "//content/test:test_support", 304 "//content/test:test_support",
305 "//net", 305 "//net",
306 "//ui/base", 306 "//ui/base",
307 "//ui/resources:ui_test_pak", 307 "//ui/resources:ui_test_pak",
308 ] 308 ]
309 309
310 if (enable_rlz) {
311 deps += [ "//components/rlz:unittests" ]
312 }
Roger Tawa OOO till Jul 10th 2015/07/02 18:22:28 I wonder if the tests should always be compiled an
sdefresne 2015/07/03 16:16:37 Make sense. This will require changing client code
313
310 if (is_android) { 314 if (is_android) {
311 isolate_file = "components_unittests.isolate" 315 isolate_file = "components_unittests.isolate"
312 } 316 }
313 317
314 data_deps = [ ":components_tests_pak" ] 318 data_deps = [ ":components_tests_pak" ]
315 319
316 if (is_android) { 320 if (is_android) {
317 deps += [ "//content/public/android:content_java" ] 321 deps += [ "//content/public/android:content_java" ]
318 } 322 }
319 323
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
425 429
426 deps = [ 430 deps = [
427 "//base", 431 "//base",
428 "//base/test:test_support_perf", 432 "//base/test:test_support_perf",
429 "//testing/gtest", 433 "//testing/gtest",
430 "//testing/perf", 434 "//testing/perf",
431 "//content/test:test_support", 435 "//content/test:test_support",
432 "//components/visitedlink/browser", 436 "//components/visitedlink/browser",
433 ] 437 ]
434 } 438 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698