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.
8 # GN Version: //components/precache/content
9 'target_name': 'precache_content',
10 'type': 'static_library',
13 '../base/base.gyp:base',
14 '../content/content.gyp:content_browser',
15 '../url/url.gyp:url_lib',
21 # Note: sources list duplicated in GN build.
22 'precache/content/precache_manager.cc',
23 'precache/content/precache_manager.h',
24 'precache/content/precache_manager_factory.cc',
25 'precache/content/precache_manager_factory.h',
29 # GN version: //components/precache/core
30 'target_name': 'precache_core',
31 'type': 'static_library',
33 'precache_core_proto',
34 '../base/base.gyp:base',
35 '../third_party/protobuf/protobuf.gyp:protobuf_lite',
36 '../url/url.gyp:url_lib',
42 'precache/core/precache_database.cc',
43 'precache/core/precache_database.h',
44 'precache/core/precache_fetcher.cc',
45 'precache/core/precache_fetcher.h',
46 'precache/core/precache_switches.cc',
47 'precache/core/precache_switches.h',
48 'precache/core/precache_url_table.cc',
49 'precache/core/precache_url_table.h',
51 'includes': [ 'precache/precache_defines.gypi', ],
52 'direct_dependent_settings': {
53 # Make direct dependents also include the precache defines. This allows
54 # the unit tests to use these defines.
55 'includes': [ 'precache/precache_defines.gypi', ],
59 # GN version: //components/precache/core:proto
60 'target_name': 'precache_core_proto',
61 'type': 'static_library',
63 'precache/core/proto/precache.proto',
66 'proto_in_dir': 'precache/core/proto',
67 'proto_out_dir': 'components/precache/core/proto',
69 'includes': [ '../build/protoc.gypi', ],
75 'target_name': 'precache_java',
78 '../base/base.gyp:base',
79 '../content/content.gyp:content_java',
82 'java_in_dir': 'precache/android/java',
84 'includes': [ '../build/java.gypi' ],
86 'target_name': 'precache_javatests',
90 '../base/base.gyp:base_java_test_support',
93 'java_in_dir': 'precache/android/javatests',
95 'includes': [ '../build/java.gypi' ],