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

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: Reduced CL down to just the PrecacheDatabase 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_core', 11 'precache_core',
12 ], 12 ],
13 'include_dirs': [ 13 'include_dirs': [
14 '..', 14 '..',
15 ], 15 ],
16 }, 16 },
17 { 17 {
18 'target_name': 'precache_core', 18 'target_name': 'precache_core',
19 'type': 'static_library', 19 'type': 'static_library',
20 'dependencies': [ 20 'dependencies': [
21 'precache_core_proto', 21 'precache_core_proto',
22 '../base/base.gyp:base', 22 '../base/base.gyp:base',
23 '../third_party/protobuf/protobuf.gyp:protobuf_lite', 23 '../third_party/protobuf/protobuf.gyp:protobuf_lite',
24 '../url/url.gyp:url_lib', 24 '../url/url.gyp:url_lib',
25 ], 25 ],
26 'include_dirs': [ 26 'include_dirs': [
27 '..', 27 '..',
28 ], 28 ],
29 'sources': [ 29 'sources': [
30 'precache/core/precache_database.cc',
31 'precache/core/precache_database.h',
30 'precache/core/precache_fetcher.cc', 32 'precache/core/precache_fetcher.cc',
31 'precache/core/precache_fetcher.h', 33 'precache/core/precache_fetcher.h',
34 'precache/core/precache_statistics_table.cc',
35 'precache/core/precache_statistics_table.h',
32 'precache/core/precache_switches.cc', 36 'precache/core/precache_switches.cc',
33 'precache/core/precache_switches.h', 37 'precache/core/precache_switches.h',
38 'precache/core/precache_url_table.cc',
39 'precache/core/precache_url_table.h',
34 ], 40 ],
35 'includes': [ 'precache/precache_defines.gypi', ], 41 'includes': [ 'precache/precache_defines.gypi', ],
36 'direct_dependent_settings': { 42 'direct_dependent_settings': {
37 # Make direct dependents also include the precache defines. This allows 43 # Make direct dependents also include the precache defines. This allows
38 # the unit tests to use these defines. 44 # the unit tests to use these defines.
39 'includes': [ 'precache/precache_defines.gypi', ], 45 'includes': [ 'precache/precache_defines.gypi', ],
40 }, 46 },
41 }, 47 },
42 { 48 {
43 'target_name': 'precache_core_proto', 49 'target_name': 'precache_core_proto',
44 'type': 'static_library', 50 'type': 'static_library',
45 'sources': [ 51 'sources': [
46 'precache/core/proto/precache.proto', 52 'precache/core/proto/precache.proto',
47 ], 53 ],
48 'variables': { 54 'variables': {
49 'proto_in_dir': 'precache/core/proto', 55 'proto_in_dir': 'precache/core/proto',
50 'proto_out_dir': 'components/precache/core/proto', 56 'proto_out_dir': 'components/precache/core/proto',
51 }, 57 },
52 'includes': [ '../build/protoc.gypi', ], 58 'includes': [ '../build/protoc.gypi', ],
53 }, 59 },
54 ], 60 ],
55 } 61 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698