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

Side by Side Diff: components/precache.gypi

Issue 27047003: Precache tracking database (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@precache
Patch Set: General fixes, added tests, and moved PrecacheManager into component Created 7 years, 1 month 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 2013 The Chromium Authors. All rights reserved. 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 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 'targets': [
7 { 7 {
8 'target_name': 'precache', 8 'target_name': 'precache',
9 'type': 'static_library', 9 'type': 'static_library',
10 'dependencies': [ 10 'dependencies': [
11 'precache_content',
11 'precache_core', 12 'precache_core',
12 ], 13 ],
13 'include_dirs': [ 14 'include_dirs': [
14 '..', 15 '..',
15 ], 16 ],
16 }, 17 },
17 { 18 {
18 'target_name': 'precache_core', 19 'target_name': 'precache_core',
19 'type': 'static_library', 20 'type': 'static_library',
20 'dependencies': [ 21 'dependencies': [
21 'precache_core_proto', 22 'precache_core_proto',
22 '../base/base.gyp:base', 23 '../base/base.gyp:base',
23 '../third_party/protobuf/protobuf.gyp:protobuf_lite', 24 '../third_party/protobuf/protobuf.gyp:protobuf_lite',
24 '../url/url.gyp:url_lib', 25 '../url/url.gyp:url_lib',
25 ], 26 ],
26 'include_dirs': [ 27 'include_dirs': [
27 '..', 28 '..',
28 ], 29 ],
29 'sources': [ 30 'sources': [
31 'precache/core/precache_database.cc',
32 'precache/core/precache_database.h',
30 'precache/core/precache_fetcher.cc', 33 'precache/core/precache_fetcher.cc',
31 'precache/core/precache_fetcher.h', 34 'precache/core/precache_fetcher.h',
32 'precache/core/precache_switches.cc', 35 'precache/core/precache_switches.cc',
33 'precache/core/precache_switches.h', 36 'precache/core/precache_switches.h',
37 'precache/core/precache_statistics_table.cc',
bengr 2013/10/23 19:03:36 alphabetize.
sclittle 2013/10/24 22:11:38 Done.
38 'precache/core/precache_statistics_table.h',
39 'precache/core/precache_url_table.cc',
40 'precache/core/precache_url_table.h',
34 ], 41 ],
35 'includes': [ 'precache/precache_defines.gypi', ], 42 'includes': [ 'precache/precache_defines.gypi', ],
36 'direct_dependent_settings': { 43 'direct_dependent_settings': {
37 # Make direct dependents also include the precache defines. This allows 44 # Make direct dependents also include the precache defines. This allows
38 # the unit tests to use these defines. 45 # the unit tests to use these defines.
39 'includes': [ 'precache/precache_defines.gypi', ], 46 'includes': [ 'precache/precache_defines.gypi', ],
40 }, 47 },
41 }, 48 },
42 { 49 {
50 'target_name': 'precache_content',
51 'type': 'static_library',
52 'dependencies': [
53 'precache_core_proto',
54 '../base/base.gyp:base',
55 '../content/content.gyp:content_browser',
56 '../url/url.gyp:url_lib',
57 ],
58 'include_dirs': [
59 '..',
60 ],
61 'sources': [
62 'precache/content/precache_manager.cc',
63 'precache/content/precache_manager.h',
64 'precache/content/precache_manager_factory.cc',
65 'precache/content/precache_manager_factory.h',
66 ],
67 },
68 {
43 'target_name': 'precache_core_proto', 69 'target_name': 'precache_core_proto',
44 'type': 'static_library', 70 'type': 'static_library',
45 'sources': [ 71 'sources': [
46 'precache/core/proto/precache.proto', 72 'precache/core/proto/precache.proto',
47 ], 73 ],
48 'variables': { 74 'variables': {
49 'proto_in_dir': 'precache/core/proto', 75 'proto_in_dir': 'precache/core/proto',
50 'proto_out_dir': 'components/precache/core/proto', 76 'proto_out_dir': 'components/precache/core/proto',
51 }, 77 },
52 'includes': [ '../build/protoc.gypi', ], 78 'includes': [ '../build/protoc.gypi', ],
53 }, 79 },
54 ], 80 ],
55 } 81 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698