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 'include_dirs': [ | 11 'include_dirs': [ |
12 '..', | 12 '..', |
13 ], | 13 ], |
14 'dependencies': [ | 14 'dependencies': [ |
15 '../base/base.gyp:base', | 15 '../base/base.gyp:base', |
16 '../net/net.gyp:net', | 16 '../net/net.gyp:net', |
17 '../url/url.gyp:url_lib', | 17 '../url/url.gyp:url_lib', |
18 '../third_party/leveldatabase/leveldatabase.gyp:leveldatabase', | |
18 'keyed_service_core', | 19 'keyed_service_core', |
19 ], | 20 ], |
20 'sources': [ | 21 'sources': [ |
21 'offline_pages/offline_page_archiver.h', | 22 'offline_pages/offline_page_archiver.h', |
22 'offline_pages/offline_page_item.cc', | 23 'offline_pages/offline_page_item.cc', |
23 'offline_pages/offline_page_item.h', | 24 'offline_pages/offline_page_item.h', |
24 'offline_pages/offline_page_model.cc', | 25 'offline_pages/offline_page_model.cc', |
25 'offline_pages/offline_page_model.h', | 26 'offline_pages/offline_page_model.h', |
26 'offline_pages/offline_page_metadata_store.cc', | 27 'offline_pages/offline_page_metadata_store.cc', |
27 'offline_pages/offline_page_metadata_store.h', | 28 'offline_pages/offline_page_metadata_store.h', |
29 'offline_pages/offline_page_metadata_store_impl.cc', | |
30 'offline_pages/offline_page_metadata_store_impl.h', | |
31 'offline_pages/proto/offline_pages.proto', | |
28 ], | 32 ], |
33 'variables': { | |
34 'proto_in_dir': 'offline_pages/proto', | |
35 'proto_out_dir': 'components/offline_pages/proto', | |
36 }, | |
RaviKasibhatla
2015/07/13 14:44:19
For the GN build system, we are following a deps m
blundell
2015/07/15 09:44:34
+1 that the target structure should be parallel fo
Abhishek
2015/07/15 14:24:22
Done.
Yeah! I've followed the same deps model syst
| |
37 'includes': [ '../build/protoc.gypi', ], | |
29 }, | 38 }, |
30 ], | 39 ], |
31 } | 40 } |
OLD | NEW |