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

Side by Side Diff: components/precache.gypi

Issue 393193002: Add search_engines and precache components to GN build. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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 | Annotate | Revision Log
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 # GN Version: //components/precache/content
8 'target_name': 'precache_content', 9 'target_name': 'precache_content',
9 'type': 'static_library', 10 'type': 'static_library',
10 'dependencies': [ 11 'dependencies': [
11 'precache_core', 12 'precache_core',
12 '../base/base.gyp:base', 13 '../base/base.gyp:base',
13 '../content/content.gyp:content_browser', 14 '../content/content.gyp:content_browser',
14 '../url/url.gyp:url_lib', 15 '../url/url.gyp:url_lib',
15 ], 16 ],
16 'include_dirs': [ 17 'include_dirs': [
17 '..', 18 '..',
18 ], 19 ],
19 'sources': [ 20 'sources': [
21 # Note: sources list duplicated in GN build.
20 'precache/content/precache_manager.cc', 22 'precache/content/precache_manager.cc',
21 'precache/content/precache_manager.h', 23 'precache/content/precache_manager.h',
22 'precache/content/precache_manager_factory.cc', 24 'precache/content/precache_manager_factory.cc',
23 'precache/content/precache_manager_factory.h', 25 'precache/content/precache_manager_factory.h',
24 ], 26 ],
25 }, 27 },
26 { 28 {
29 # GN version: //components/precache/core
27 'target_name': 'precache_core', 30 'target_name': 'precache_core',
28 'type': 'static_library', 31 'type': 'static_library',
29 'dependencies': [ 32 'dependencies': [
30 'precache_core_proto', 33 'precache_core_proto',
31 '../base/base.gyp:base', 34 '../base/base.gyp:base',
32 '../third_party/protobuf/protobuf.gyp:protobuf_lite', 35 '../third_party/protobuf/protobuf.gyp:protobuf_lite',
33 '../url/url.gyp:url_lib', 36 '../url/url.gyp:url_lib',
34 ], 37 ],
35 'include_dirs': [ 38 'include_dirs': [
36 '..', 39 '..',
(...skipping 10 matching lines...) Expand all
47 'precache/core/url_list_provider.h', 50 'precache/core/url_list_provider.h',
48 ], 51 ],
49 'includes': [ 'precache/precache_defines.gypi', ], 52 'includes': [ 'precache/precache_defines.gypi', ],
50 'direct_dependent_settings': { 53 'direct_dependent_settings': {
51 # Make direct dependents also include the precache defines. This allows 54 # Make direct dependents also include the precache defines. This allows
52 # the unit tests to use these defines. 55 # the unit tests to use these defines.
53 'includes': [ 'precache/precache_defines.gypi', ], 56 'includes': [ 'precache/precache_defines.gypi', ],
54 }, 57 },
55 }, 58 },
56 { 59 {
60 # GN version: //components/precache/core:proto
57 'target_name': 'precache_core_proto', 61 'target_name': 'precache_core_proto',
58 'type': 'static_library', 62 'type': 'static_library',
59 'sources': [ 63 'sources': [
60 'precache/core/proto/precache.proto', 64 'precache/core/proto/precache.proto',
61 ], 65 ],
62 'variables': { 66 'variables': {
63 'proto_in_dir': 'precache/core/proto', 67 'proto_in_dir': 'precache/core/proto',
64 'proto_out_dir': 'components/precache/core/proto', 68 'proto_out_dir': 'components/precache/core/proto',
65 }, 69 },
66 'includes': [ '../build/protoc.gypi', ], 70 'includes': [ '../build/protoc.gypi', ],
67 }, 71 },
68 ], 72 ],
69 } 73 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698