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

Side by Side Diff: components/precache.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/power.gypi ('k') | components/precache/precache_defines.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 2013 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/precache/core
9 'target_name': 'precache_core',
10 'type': 'static_library',
11 'dependencies': [
12 'precache_core_proto',
13 '../base/base.gyp:base',
14 '../third_party/protobuf/protobuf.gyp:protobuf_lite',
15 '../url/url.gyp:url_lib',
16 ],
17 'include_dirs': [
18 '..',
19 ],
20 'sources': [
21 'precache/core/fetcher_pool.h',
22 'precache/core/precache_database.cc',
23 'precache/core/precache_database.h',
24 'precache/core/precache_fetcher.cc',
25 'precache/core/precache_fetcher.h',
26 'precache/core/precache_referrer_host_table.cc',
27 'precache/core/precache_referrer_host_table.h',
28 'precache/core/precache_switches.cc',
29 'precache/core/precache_switches.h',
30 'precache/core/precache_session_table.cc',
31 'precache/core/precache_session_table.h',
32 'precache/core/precache_url_table.cc',
33 'precache/core/precache_url_table.h',
34 ],
35 'includes': [ 'precache/precache_defines.gypi', ],
36 'direct_dependent_settings': {
37 # Make direct dependents also include the precache defines. This allows
38 # the unit tests to use these defines.
39 'includes': [ 'precache/precache_defines.gypi', ],
40 },
41 },
42 {
43 # GN version: //components/precache/core:proto
44 'target_name': 'precache_core_proto',
45 'type': 'static_library',
46 'sources': [
47 'precache/core/proto/precache.proto',
48 'precache/core/proto/timestamp.proto',
49 'precache/core/proto/unfinished_work.proto',
50 ],
51 'variables': {
52 'proto_in_dir': 'precache/core/proto',
53 'proto_out_dir': 'components/precache/core/proto',
54 },
55 'includes': [ '../build/protoc.gypi', ],
56 },
57 ],
58 'conditions': [
59 ['OS!="ios"', {
60 'targets': [
61 {
62 # GN Version: //components/precache/content
63 'target_name': 'precache_content',
64 'type': 'static_library',
65 'dependencies': [
66 'precache_core',
67 'precache_core_proto',
68 '../base/base.gyp:base',
69 '../components/sync.gyp:sync',
70 '../content/content.gyp:content_browser',
71 '../url/url.gyp:url_lib',
72 ],
73 'include_dirs': [
74 '..',
75 ],
76 'sources': [
77 # Note: sources list duplicated in GN build.
78 'precache/content/precache_manager.cc',
79 'precache/content/precache_manager.h',
80 ],
81 },
82 ],
83 }],
84 ['OS=="android"', {
85 'targets': [{
86 'target_name': 'precache_java',
87 'type': 'none',
88 'dependencies': [
89 '../base/base.gyp:base',
90 '../content/content.gyp:content_java',
91 ],
92 'variables': {
93 'java_in_dir': 'precache/android/java',
94 },
95 'includes': [ '../build/java.gypi' ],
96 }, {
97 'target_name': 'precache_javatests',
98 'type': 'none',
99 'dependencies': [
100 'precache_java',
101 '../base/base.gyp:base_java_test_support',
102 ],
103 'variables': {
104 'java_in_dir': 'precache/android/javatests',
105 },
106 'includes': [ '../build/java.gypi' ],
107 }],
108 }],
109 ],
110 }
OLDNEW
« no previous file with comments | « components/power.gypi ('k') | components/precache/precache_defines.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698