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

Side by Side Diff: components/ntp_tiles/BUILD.gn

Issue 2471133004: Add PopularSites test. (Closed)
Patch Set: Add test deps. Created 4 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
« no previous file with comments | « no previous file | components/ntp_tiles/popular_sites_unittest.cc » ('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 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 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 if (is_android) { 5 if (is_android) {
6 import("//build/config/android/rules.gni") 6 import("//build/config/android/rules.gni")
7 } 7 }
8 8
9 static_library("ntp_tiles") { 9 static_library("ntp_tiles") {
10 sources = [ 10 sources = [
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 if (is_android) { 50 if (is_android) {
51 deps += [ "android:ntp_tiles_jni_headers" ] 51 deps += [ "android:ntp_tiles_jni_headers" ]
52 } 52 }
53 } 53 }
54 54
55 source_set("unit_tests") { 55 source_set("unit_tests") {
56 testonly = true 56 testonly = true
57 sources = [ 57 sources = [
58 "icon_cacher_unittest.cc", 58 "icon_cacher_unittest.cc",
59 "most_visited_sites_unittest.cc", 59 "most_visited_sites_unittest.cc",
60 "popular_sites_unittest.cc",
60 ] 61 ]
61 62
62 deps = [ 63 deps = [
63 ":ntp_tiles", 64 ":ntp_tiles",
65 "//base/test:test_support",
64 "//components/favicon/core", 66 "//components/favicon/core",
65 "//components/favicon_base", 67 "//components/favicon_base",
66 "//components/image_fetcher", 68 "//components/image_fetcher",
69 "//components/pref_registry:test_support",
70 "//net:test_support",
67 "//testing/gmock", 71 "//testing/gmock",
68 "//testing/gtest", 72 "//testing/gtest",
69 "//ui/gfx:test_support", 73 "//ui/gfx:test_support",
70 ] 74 ]
71 } 75 }
72 76
73 if (is_android) { 77 if (is_android) {
74 java_cpp_enum("ntp_tiles_enums_java") { 78 java_cpp_enum("ntp_tiles_enums_java") {
75 sources = [ 79 sources = [
76 "metrics.h", 80 "metrics.h",
77 "ntp_tile.h", 81 "ntp_tile.h",
78 ] 82 ]
79 } 83 }
80 } 84 }
OLDNEW
« no previous file with comments | « no previous file | components/ntp_tiles/popular_sites_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698