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 = [ |
11 "constants.cc", | 11 "constants.cc", |
12 "constants.h", | 12 "constants.h", |
13 "country_code_ios.h", | 13 "country_code_ios.h", |
14 "country_code_ios.mm", | 14 "country_code_ios.mm", |
15 "field_trial.cc", | 15 "field_trial.cc", |
16 "field_trial.h", | 16 "field_trial.h", |
17 "icon_cacher.h", | 17 "icon_cacher.h", |
18 "icon_cacher_impl.cc", | 18 "icon_cacher_impl.cc", |
19 "icon_cacher_impl.h", | 19 "icon_cacher_impl.h", |
20 "metrics.cc", | 20 "metrics.cc", |
21 "metrics.h", | 21 "metrics.h", |
22 "most_visited_sites.cc", | 22 "most_visited_sites.cc", |
23 "most_visited_sites.h", | 23 "most_visited_sites.h", |
24 "ntp_tile.cc", | 24 "ntp_tile.cc", |
25 "ntp_tile.h", | 25 "ntp_tile.h", |
26 "ntp_tile_source.h", | |
27 "popular_sites.h", | 26 "popular_sites.h", |
28 "popular_sites_impl.cc", | 27 "popular_sites_impl.cc", |
29 "popular_sites_impl.h", | 28 "popular_sites_impl.h", |
30 "pref_names.cc", | 29 "pref_names.cc", |
31 "pref_names.h", | 30 "pref_names.h", |
32 "switches.cc", | 31 "switches.cc", |
33 "switches.h", | 32 "switches.h", |
| 33 "tile_source.h", |
| 34 "tile_visual_type.h", |
34 "webui/ntp_tiles_internals_message_handler.cc", | 35 "webui/ntp_tiles_internals_message_handler.cc", |
35 "webui/ntp_tiles_internals_message_handler.h", | 36 "webui/ntp_tiles_internals_message_handler.h", |
36 "webui/ntp_tiles_internals_message_handler_client.cc", | 37 "webui/ntp_tiles_internals_message_handler_client.cc", |
37 "webui/ntp_tiles_internals_message_handler_client.h", | 38 "webui/ntp_tiles_internals_message_handler_client.h", |
38 "webui/popular_sites_internals_message_handler.cc", | 39 "webui/popular_sites_internals_message_handler.cc", |
39 "webui/popular_sites_internals_message_handler.h", | 40 "webui/popular_sites_internals_message_handler.h", |
40 "webui/popular_sites_internals_message_handler_client.h", | 41 "webui/popular_sites_internals_message_handler_client.h", |
41 ] | 42 ] |
42 | 43 |
43 public_deps = [ | 44 public_deps = [ |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
106 "//testing/gmock", | 107 "//testing/gmock", |
107 "//testing/gtest", | 108 "//testing/gtest", |
108 "//ui/base", | 109 "//ui/base", |
109 "//ui/gfx:test_support", | 110 "//ui/gfx:test_support", |
110 ] | 111 ] |
111 } | 112 } |
112 | 113 |
113 if (is_android) { | 114 if (is_android) { |
114 java_cpp_enum("ntp_tiles_enums_java") { | 115 java_cpp_enum("ntp_tiles_enums_java") { |
115 sources = [ | 116 sources = [ |
116 "metrics.h", | 117 "tile_source.h", |
117 "ntp_tile_source.h", | 118 "tile_visual_type.h", |
118 ] | 119 ] |
119 } | 120 } |
120 } | 121 } |
OLD | NEW |