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

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: Changed components_tests.gyp to depend on precache_core target instead of precache target Created 7 years 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/components_tests.gyp ('k') | components/precache/core/DEPS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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',
9 'type': 'static_library',
10 'dependencies': [
11 'precache_core',
12 ],
13 'include_dirs': [
14 '..',
15 ],
16 },
17 {
18 'target_name': 'precache_core', 8 'target_name': 'precache_core',
19 'type': 'static_library', 9 'type': 'static_library',
20 'dependencies': [ 10 'dependencies': [
21 'precache_core_proto', 11 'precache_core_proto',
22 '../base/base.gyp:base', 12 '../base/base.gyp:base',
23 '../third_party/protobuf/protobuf.gyp:protobuf_lite', 13 '../third_party/protobuf/protobuf.gyp:protobuf_lite',
24 '../url/url.gyp:url_lib', 14 '../url/url.gyp:url_lib',
25 ], 15 ],
26 'include_dirs': [ 16 'include_dirs': [
27 '..', 17 '..',
28 ], 18 ],
29 'sources': [ 19 'sources': [
20 'precache/core/precache_database.cc',
21 'precache/core/precache_database.h',
30 'precache/core/precache_fetcher.cc', 22 'precache/core/precache_fetcher.cc',
31 'precache/core/precache_fetcher.h', 23 'precache/core/precache_fetcher.h',
32 'precache/core/precache_switches.cc', 24 'precache/core/precache_switches.cc',
33 'precache/core/precache_switches.h', 25 'precache/core/precache_switches.h',
26 'precache/core/precache_url_table.cc',
27 'precache/core/precache_url_table.h',
34 ], 28 ],
35 'includes': [ 'precache/precache_defines.gypi', ], 29 'includes': [ 'precache/precache_defines.gypi', ],
36 'direct_dependent_settings': { 30 'direct_dependent_settings': {
37 # Make direct dependents also include the precache defines. This allows 31 # Make direct dependents also include the precache defines. This allows
38 # the unit tests to use these defines. 32 # the unit tests to use these defines.
39 'includes': [ 'precache/precache_defines.gypi', ], 33 'includes': [ 'precache/precache_defines.gypi', ],
40 }, 34 },
41 }, 35 },
42 { 36 {
43 'target_name': 'precache_core_proto', 37 'target_name': 'precache_core_proto',
44 'type': 'static_library', 38 'type': 'static_library',
45 'sources': [ 39 'sources': [
46 'precache/core/proto/precache.proto', 40 'precache/core/proto/precache.proto',
47 ], 41 ],
48 'variables': { 42 'variables': {
49 'proto_in_dir': 'precache/core/proto', 43 'proto_in_dir': 'precache/core/proto',
50 'proto_out_dir': 'components/precache/core/proto', 44 'proto_out_dir': 'components/precache/core/proto',
51 }, 45 },
52 'includes': [ '../build/protoc.gypi', ], 46 'includes': [ '../build/protoc.gypi', ],
53 }, 47 },
54 ], 48 ],
55 } 49 }
OLDNEW
« no previous file with comments | « components/components_tests.gyp ('k') | components/precache/core/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698