| 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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 46 ] | 46 ] |
| 47 deps = [ | 47 deps = [ |
| 48 "//components/data_use_measurement/core", | 48 "//components/data_use_measurement/core", |
| 49 "//components/favicon/core", | 49 "//components/favicon/core", |
| 50 "//components/favicon_base", | 50 "//components/favicon_base", |
| 51 "//components/google/core/browser", | 51 "//components/google/core/browser", |
| 52 "//components/image_fetcher", | 52 "//components/image_fetcher", |
| 53 "//components/pref_registry", | 53 "//components/pref_registry", |
| 54 "//components/prefs", | 54 "//components/prefs", |
| 55 "//components/rappor/public", | 55 "//components/rappor/public", |
| 56 "//components/resources", |
| 56 "//components/search_engines", | 57 "//components/search_engines", |
| 57 "//components/url_formatter", | 58 "//components/url_formatter", |
| 58 "//components/variations", | 59 "//components/variations", |
| 59 "//components/variations/service", | 60 "//components/variations/service", |
| 61 "//ui/base", |
| 60 ] | 62 ] |
| 61 | 63 |
| 62 if (is_android) { | 64 if (is_android) { |
| 63 deps += [ "android:ntp_tiles_jni_headers" ] | 65 deps += [ "android:ntp_tiles_jni_headers" ] |
| 64 } | 66 } |
| 65 } | 67 } |
| 66 | 68 |
| 67 # If you want to use this, let us (ntp-dev@chromium.org) know. In that case, it | 69 # If you want to use this, let us (ntp-dev@chromium.org) know. In that case, it |
| 68 # should be moved to a more common location as it has 2+ callers already. | 70 # should be moved to a more common location as it has 2+ callers already. |
| 69 # Note that you probably shouldn't be using it outside of ios or tests. | 71 # Note that you probably shouldn't be using it outside of ios or tests. |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 107 } | 109 } |
| 108 | 110 |
| 109 if (is_android) { | 111 if (is_android) { |
| 110 java_cpp_enum("ntp_tiles_enums_java") { | 112 java_cpp_enum("ntp_tiles_enums_java") { |
| 111 sources = [ | 113 sources = [ |
| 112 "metrics.h", | 114 "metrics.h", |
| 113 "ntp_tile_source.h", | 115 "ntp_tile_source.h", |
| 114 ] | 116 ] |
| 115 } | 117 } |
| 116 } | 118 } |
| OLD | NEW |