| 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 assert(!is_ios) # TODO(sfiera): support iOS http://crbug.com/617966 | 5 assert(!is_ios) # TODO(sfiera): support iOS http://crbug.com/617966 |
| 6 | 6 |
| 7 if (is_android) { | 7 if (is_android) { |
| 8 import("//build/config/android/rules.gni") | 8 import("//build/config/android/rules.gni") |
| 9 } | 9 } |
| 10 | 10 |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 ] | 30 ] |
| 31 deps = [ | 31 deps = [ |
| 32 "//components/google/core/browser", | 32 "//components/google/core/browser", |
| 33 "//components/pref_registry", | 33 "//components/pref_registry", |
| 34 "//components/prefs", | 34 "//components/prefs", |
| 35 "//components/safe_json", | 35 "//components/safe_json", |
| 36 "//components/search_engines", | 36 "//components/search_engines", |
| 37 "//components/variations", | 37 "//components/variations", |
| 38 "//components/variations/service", | 38 "//components/variations/service", |
| 39 ] | 39 ] |
| 40 |
| 41 if (is_android) { |
| 42 deps += [ "android:ntp_tiles_jni_headers" ] |
| 43 } |
| 40 } | 44 } |
| 41 | 45 |
| 42 source_set("unit_tests") { | 46 source_set("unit_tests") { |
| 43 testonly = true | 47 testonly = true |
| 44 sources = [ | 48 sources = [ |
| 45 "most_visited_sites_unittest.cc", | 49 "most_visited_sites_unittest.cc", |
| 46 ] | 50 ] |
| 47 | 51 |
| 48 deps = [ | 52 deps = [ |
| 49 ":ntp_tiles", | 53 ":ntp_tiles", |
| 50 "//testing/gtest", | 54 "//testing/gtest", |
| 51 ] | 55 ] |
| 52 } | 56 } |
| 53 | 57 |
| 54 if (is_android) { | 58 if (is_android) { |
| 55 java_cpp_enum("ntp_tiles_enums_java") { | 59 java_cpp_enum("ntp_tiles_enums_java") { |
| 56 sources = [ | 60 sources = [ |
| 57 "most_visited_sites.h", | 61 "most_visited_sites.h", |
| 58 ] | 62 ] |
| 59 } | 63 } |
| 60 } | 64 } |
| OLD | NEW |