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

Side by Side 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 unified diff | Download patch
OLDNEW
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 { 5 {
6 'targets': [ 6 'conditions': [
7 { 7 ['OS != "ios"', {
blundell 2016/06/08 11:46:32 nit: I would just only build this in the !iOS sect
sfiera 2016/06/08 13:07:06 Done.
8 # GN version: //components/ntp_tiles 8 'targets': [
9 'target_name': 'ntp_tiles', 9 {
10 'type': 'static_library', 10 # GN version: //components/ntp_tiles
11 'include_dirs': [ 11 'target_name': 'ntp_tiles',
12 '..', 12 'type': 'static_library',
13 'include_dirs': [
14 '..',
15 ],
16 'dependencies': [
17 '../base/base.gyp:base',
18 'history_core_browser',
19 'pref_registry',
20 'safe_json',
21 'search_engines',
22 'suggestions',
23 'variations',
24 ],
25 'sources': [
26 'ntp_tiles/most_visited_sites.cc',
27 'ntp_tiles/most_visited_sites.h',
28 'ntp_tiles/popular_sites.cc',
29 'ntp_tiles/popular_sites.h',
30 'ntp_tiles/pref_names.h',
31 'ntp_tiles/pref_names.cc',
32 'ntp_tiles/switches.h',
33 'ntp_tiles/switches.cc',
34 ],
35 },
13 ], 36 ],
14 'dependencies': [ 37 }],
15 '../base/base.gyp:base', 38
39 ['OS == "android"', {
40 'targets': [
41 {
42 # GN: //components/ntp_tiles:ntp_tiles_enums_java
43 'target_name': 'ntp_tiles_enums_java',
44 'type': 'none',
45 'variables': {
46 'source_file': 'ntp_tiles/most_visited_sites.cc',
47 },
48 'includes': [
49 '../build/android/java_cpp_enum.gypi'
50 ],
51 },
16 ], 52 ],
17 'sources': [ 53 }],
18 'ntp_tiles/pref_names.h',
19 'ntp_tiles/pref_names.cc',
20 'ntp_tiles/switches.h',
21 'ntp_tiles/switches.cc',
22 ],
23 },
24 ], 54 ],
25 } 55 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698