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

Side by Side Diff: components/ntp_tiles.gypi

Issue 2306443002: Remove GYP files from components. (Closed)
Patch Set: Remove compiled resources Created 4 years, 3 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
« no previous file with comments | « components/ntp_snippets.gypi ('k') | components/offline_pages.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 # found in the LICENSE file.
4
5 {
6 'targets': [
7 {
8 # GN version: //components/ntp_tiles
9 'target_name': 'ntp_tiles',
10 'type': 'static_library',
11 'include_dirs': [
12 '..',
13 ],
14 'dependencies': [
15 '../base/base.gyp:base',
16 'history_core_browser',
17 'pref_registry',
18 'search_engines',
19 'suggestions',
20 'variations',
21 ],
22 'sources': [
23 'ntp_tiles/constants.cc',
24 'ntp_tiles/constants.h',
25 'ntp_tiles/most_visited_sites.cc',
26 'ntp_tiles/most_visited_sites.h',
27 'ntp_tiles/popular_sites.cc',
28 'ntp_tiles/popular_sites.h',
29 'ntp_tiles/pref_names.h',
30 'ntp_tiles/pref_names.cc',
31 'ntp_tiles/switches.h',
32 'ntp_tiles/switches.cc',
33 ],
34 'conditions': [
35 ['OS == "android"', {
36 'dependencies': [
37 'ntp_tiles_jni_headers',
38 ],
39 }],
40 ],
41 },
42 ],
43
44 'conditions': [
45 ['OS == "android"', {
46 'targets': [
47 {
48 # GN: //components/ntp_tiles:ntp_tiles_enums_java
49 'target_name': 'ntp_tiles_enums_java',
50 'type': 'none',
51 'variables': {
52 'source_file': 'ntp_tiles/most_visited_sites.h',
53 },
54 'includes': [
55 '../build/android/java_cpp_enum.gypi'
56 ],
57 },
58 {
59 # GN version: //components/ntp_tiles/android:ntp_tiles_java
60 'target_name': 'ntp_tiles_java',
61 'type': 'none',
62 'dependencies': [
63 '../base/base.gyp:base',
64 ],
65 'variables': {
66 'java_in_dir': 'ntp_tiles/android/java',
67 },
68 'includes': [ '../build/java.gypi' ],
69 },
70 {
71 # GN version: //components/ntp_tiles:jni
72 'target_name': 'ntp_tiles_jni_headers',
73 'type': 'none',
74 'sources': [
75 'ntp_tiles/android/java/src/org/chromium/components/ntptiles/MostVis itedSites.java',
76 ],
77 'variables': {
78 'jni_gen_package': 'ntp_tiles',
79 },
80 'includes': [ '../build/jni_generator.gypi' ],
81 },
82 ],
83 }],
84 ],
85 }
OLDNEW
« no previous file with comments | « components/ntp_snippets.gypi ('k') | components/offline_pages.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698