OLD | NEW |
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/core | 8 # GN version: //components/precache/core |
9 'target_name': 'precache_core', | 9 'target_name': 'precache_core', |
10 'type': 'static_library', | 10 'type': 'static_library', |
11 'dependencies': [ | 11 'dependencies': [ |
12 'precache_core_proto', | 12 'precache_core_proto', |
13 '../base/base.gyp:base', | 13 '../base/base.gyp:base', |
14 '../third_party/protobuf/protobuf.gyp:protobuf_lite', | 14 '../third_party/protobuf/protobuf.gyp:protobuf_lite', |
15 '../url/url.gyp:url_lib', | 15 '../url/url.gyp:url_lib', |
16 ], | 16 ], |
17 'include_dirs': [ | 17 'include_dirs': [ |
18 '..', | 18 '..', |
19 ], | 19 ], |
20 'sources': [ | 20 'sources': [ |
21 'precache/core/fetcher_pool.h', | 21 'precache/core/fetcher_pool.h', |
22 'precache/core/precache_database.cc', | 22 'precache/core/precache_database.cc', |
23 'precache/core/precache_database.h', | 23 'precache/core/precache_database.h', |
24 'precache/core/precache_fetcher.cc', | 24 'precache/core/precache_fetcher.cc', |
25 'precache/core/precache_fetcher.h', | 25 'precache/core/precache_fetcher.h', |
26 'precache/core/precache_switches.cc', | 26 'precache/core/precache_switches.cc', |
27 'precache/core/precache_switches.h', | 27 'precache/core/precache_switches.h', |
| 28 'precache/core/precache_session_table.cc', |
| 29 'precache/core/precache_session_table.h', |
28 'precache/core/precache_url_table.cc', | 30 'precache/core/precache_url_table.cc', |
29 'precache/core/precache_url_table.h', | 31 'precache/core/precache_url_table.h', |
30 ], | 32 ], |
31 'includes': [ 'precache/precache_defines.gypi', ], | 33 'includes': [ 'precache/precache_defines.gypi', ], |
32 'direct_dependent_settings': { | 34 'direct_dependent_settings': { |
33 # Make direct dependents also include the precache defines. This allows | 35 # Make direct dependents also include the precache defines. This allows |
34 # the unit tests to use these defines. | 36 # the unit tests to use these defines. |
35 'includes': [ 'precache/precache_defines.gypi', ], | 37 'includes': [ 'precache/precache_defines.gypi', ], |
36 }, | 38 }, |
37 }, | 39 }, |
38 { | 40 { |
39 # GN version: //components/precache/core:proto | 41 # GN version: //components/precache/core:proto |
40 'target_name': 'precache_core_proto', | 42 'target_name': 'precache_core_proto', |
41 'type': 'static_library', | 43 'type': 'static_library', |
42 'sources': [ | 44 'sources': [ |
43 'precache/core/proto/precache.proto', | 45 'precache/core/proto/precache.proto', |
| 46 'precache/core/proto/unfinished_work.proto', |
44 ], | 47 ], |
45 'variables': { | 48 'variables': { |
46 'proto_in_dir': 'precache/core/proto', | 49 'proto_in_dir': 'precache/core/proto', |
47 'proto_out_dir': 'components/precache/core/proto', | 50 'proto_out_dir': 'components/precache/core/proto', |
48 }, | 51 }, |
49 'includes': [ '../build/protoc.gypi', ], | 52 'includes': [ '../build/protoc.gypi', ], |
50 }, | 53 }, |
51 ], | 54 ], |
52 'conditions': [ | 55 'conditions': [ |
53 ['OS!="ios"', { | 56 ['OS!="ios"', { |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 '../base/base.gyp:base_java_test_support', | 98 '../base/base.gyp:base_java_test_support', |
96 ], | 99 ], |
97 'variables': { | 100 'variables': { |
98 'java_in_dir': 'precache/android/javatests', | 101 'java_in_dir': 'precache/android/javatests', |
99 }, | 102 }, |
100 'includes': [ '../build/java.gypi' ], | 103 'includes': [ '../build/java.gypi' ], |
101 }], | 104 }], |
102 }], | 105 }], |
103 ], | 106 ], |
104 } | 107 } |
OLD | NEW |