OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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: //components/offline_pages:offline_pages | 8 # GN: //components/offline_pages:offline_pages |
9 'target_name': 'offline_pages', | 9 'target_name': 'offline_pages', |
10 'type': 'static_library', | 10 'type': 'static_library', |
| 11 'variables': { |
| 12 'proto_in_dir': './offline_pages/proto', |
| 13 'proto_out_dir': 'components/offline_pages/proto', |
| 14 }, |
11 'include_dirs': [ | 15 'include_dirs': [ |
12 '..', | 16 '..', |
13 ], | 17 ], |
14 'dependencies': [ | 18 'dependencies': [ |
15 '../base/base.gyp:base', | 19 '../base/base.gyp:base', |
16 '../net/net.gyp:net', | 20 '../net/net.gyp:net', |
| 21 '../third_party/leveldatabase/leveldatabase.gyp:leveldatabase', |
| 22 '../third_party/protobuf/protobuf.gyp:protobuf_lite', |
17 '../url/url.gyp:url_lib', | 23 '../url/url.gyp:url_lib', |
18 'keyed_service_core', | 24 'keyed_service_core', |
19 ], | 25 ], |
| 26 'includes': [ |
| 27 '../build/protoc.gypi' |
| 28 ], |
20 'sources': [ | 29 'sources': [ |
21 'offline_pages/offline_page_item.cc', | 30 'offline_pages/offline_page_item.cc', |
22 'offline_pages/offline_page_item.h', | 31 'offline_pages/offline_page_item.h', |
23 'offline_pages/offline_page_model.cc', | 32 'offline_pages/offline_page_model.cc', |
24 'offline_pages/offline_page_model.h', | 33 'offline_pages/offline_page_model.h', |
| 34 'offline_pages/offline_page_metadata_store.cc', |
| 35 'offline_pages/offline_page_metadata_store.h', |
| 36 'offline_pages/offline_page_metadata_store_impl.cc', |
| 37 'offline_pages/offline_page_metadata_store_impl.h', |
| 38 'offline_pages/proto/offline_pages.proto', |
25 ], | 39 ], |
26 }, | 40 }, |
27 ], | 41 ], |
28 } | 42 } |
OLD | NEW |