Chromium Code Reviews| 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) | |
|
Marc Treib
2016/05/17 15:50:25
Do we want to keep the assert here? If so, then I
sfiera
2016/05/18 08:43:42
Figuring out why ios broke was enough of annoyance
| |
| 6 if (is_android) { | |
| 7 import("//build/config/android/rules.gni") | |
| 8 } | |
| 9 | |
| 5 # GYP version: components/ntp_tiles.gypi:ntp_tiles | 10 # GYP version: components/ntp_tiles.gypi:ntp_tiles |
| 6 source_set("ntp_tiles") { | 11 source_set("ntp_tiles") { |
| 7 sources = [ | 12 sources = [ |
| 13 "most_visited_sites.cc", | |
| 14 "most_visited_sites.h", | |
| 15 "popular_sites.cc", | |
| 16 "popular_sites.h", | |
| 8 "pref_names.cc", | 17 "pref_names.cc", |
| 9 "pref_names.h", | 18 "pref_names.h", |
| 10 "switches.cc", | 19 "switches.cc", |
| 11 "switches.h", | 20 "switches.h", |
| 12 ] | 21 ] |
| 13 | 22 |
| 14 public_deps = [ | 23 public_deps = [ |
| 15 "//base", | 24 "//base", |
| 25 "//components/history/core/browser", | |
| 26 "//components/suggestions", | |
| 27 ] | |
| 28 deps = [ | |
| 29 "//components/google/core/browser", | |
| 30 "//components/pref_registry", | |
| 31 "//components/prefs", | |
| 32 "//components/safe_json", | |
| 33 "//components/search_engines", | |
| 34 "//components/variations", | |
| 35 "//components/variations/service", | |
| 36 "//content/public/browser", | |
| 16 ] | 37 ] |
| 17 } | 38 } |
| 39 | |
| 40 source_set("unit_tests") { | |
| 41 testonly = true | |
| 42 sources = [ | |
| 43 "most_visited_sites_unittest.cc", | |
| 44 ] | |
| 45 | |
| 46 deps = [ | |
| 47 ":ntp_tiles", | |
| 48 "//testing/gtest", | |
| 49 ] | |
| 50 } | |
| 51 | |
| 52 if (is_android) { | |
| 53 java_cpp_enum("most_visited_sites_enums_java") { | |
| 54 sources = [ | |
| 55 "most_visited_sites.cc", | |
| 56 ] | |
| 57 } | |
| 58 } | |
| OLD | NEW |