Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(395)

Unified Diff: components/ntp_tiles.gypi

Issue 1983063002: Move classes to //components/ntp_tiles. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: sync Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/components_tests.gyp ('k') | components/ntp_tiles/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/ntp_tiles.gypi
diff --git a/components/ntp_tiles.gypi b/components/ntp_tiles.gypi
index a02ab063dcf681bfc5a13a03eb9a7b46bc8616a4..8a77eff021a24e222f497ecd552dd6ef0a9afc86 100644
--- a/components/ntp_tiles.gypi
+++ b/components/ntp_tiles.gypi
@@ -13,13 +13,47 @@
],
'dependencies': [
'../base/base.gyp:base',
+ 'history_core_browser',
+ 'pref_registry',
+ 'search_engines',
+ 'suggestions',
+ 'variations',
],
'sources': [
+ 'ntp_tiles/most_visited_sites.cc',
+ 'ntp_tiles/most_visited_sites.h',
+ 'ntp_tiles/popular_sites.cc',
+ 'ntp_tiles/popular_sites.h',
'ntp_tiles/pref_names.h',
'ntp_tiles/pref_names.cc',
'ntp_tiles/switches.h',
'ntp_tiles/switches.cc',
],
+ 'conditions': [
+ ['OS != "ios"', {
+ 'dependencies': [
+ 'safe_json',
+ ],
+ }],
+ ],
},
],
+
+ 'conditions': [
+ ['OS == "android"', {
+ 'targets': [
+ {
+ # GN: //components/ntp_tiles:ntp_tiles_enums_java
+ 'target_name': 'ntp_tiles_enums_java',
+ 'type': 'none',
+ 'variables': {
+ 'source_file': 'ntp_tiles/most_visited_sites.cc',
+ },
+ 'includes': [
+ '../build/android/java_cpp_enum.gypi'
+ ],
+ },
+ ],
+ }],
+ ],
}
« no previous file with comments | « components/components_tests.gyp ('k') | components/ntp_tiles/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698