| 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 |
| 11 # GYP version: components/ntp_tiles.gypi:ntp_tiles | 11 # GYP version: components/ntp_tiles.gypi:ntp_tiles |
| 12 source_set("ntp_tiles") { | 12 static_library("ntp_tiles") { |
| 13 sources = [ | 13 sources = [ |
| 14 "constants.cc", | 14 "constants.cc", |
| 15 "constants.h", | 15 "constants.h", |
| 16 "most_visited_sites.cc", | 16 "most_visited_sites.cc", |
| 17 "most_visited_sites.h", | 17 "most_visited_sites.h", |
| 18 "popular_sites.cc", | 18 "popular_sites.cc", |
| 19 "popular_sites.h", | 19 "popular_sites.h", |
| 20 "pref_names.cc", | 20 "pref_names.cc", |
| 21 "pref_names.h", | 21 "pref_names.h", |
| 22 "switches.cc", | 22 "switches.cc", |
| (...skipping 28 matching lines...) Expand all Loading... |
| 51 ] | 51 ] |
| 52 } | 52 } |
| 53 | 53 |
| 54 if (is_android) { | 54 if (is_android) { |
| 55 java_cpp_enum("ntp_tiles_enums_java") { | 55 java_cpp_enum("ntp_tiles_enums_java") { |
| 56 sources = [ | 56 sources = [ |
| 57 "most_visited_sites.h", | 57 "most_visited_sites.h", |
| 58 ] | 58 ] |
| 59 } | 59 } |
| 60 } | 60 } |
| OLD | NEW |