| OLD | NEW |
| 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 Loading... |
| 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", |
| 64 "//components/favicon/core", | 65 "//components/favicon/core", |
| 65 "//components/favicon_base", | 66 "//components/favicon_base", |
| 66 "//components/image_fetcher", | 67 "//components/image_fetcher", |
| 67 "//testing/gmock", | 68 "//testing/gmock", |
| 68 "//testing/gtest", | 69 "//testing/gtest", |
| 69 "//ui/gfx:test_support", | 70 "//ui/gfx:test_support", |
| 70 ] | 71 ] |
| 71 } | 72 } |
| 72 | 73 |
| 73 if (is_android) { | 74 if (is_android) { |
| 74 java_cpp_enum("ntp_tiles_enums_java") { | 75 java_cpp_enum("ntp_tiles_enums_java") { |
| 75 sources = [ | 76 sources = [ |
| 76 "metrics.h", | 77 "metrics.h", |
| 77 "ntp_tile.h", | 78 "ntp_tile.h", |
| 78 ] | 79 ] |
| 79 } | 80 } |
| 80 } | 81 } |
| OLD | NEW |