Add readelf and nm dummy values to cros.
[chromium-blink-merge.git] / components / offline_pages.gypi
blob322f676b0d882ef4e195856cc235c016222817b0
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
3 # found in the LICENSE file.
6   'targets': [
7     {
8       # GN: //components/offline_pages:offline_pages
9       'target_name': 'offline_pages',
10       'type': 'static_library',
11       'include_dirs': [
12         '..',
13       ],
14       'dependencies': [
15         '../base/base.gyp:base',
16         '../net/net.gyp:net',
17         '../url/url.gyp:url_lib',
18         '../third_party/leveldatabase/leveldatabase.gyp:leveldatabase',
19         'components.gyp:leveldb_proto',
20         'keyed_service_core',
21         'offline_pages_proto',
22       ],
23       'sources': [
24         'offline_pages/offline_page_archiver.h',
25         'offline_pages/offline_page_feature.cc',
26         'offline_pages/offline_page_feature.h',
27         'offline_pages/offline_page_item.cc',
28         'offline_pages/offline_page_item.h',
29         'offline_pages/offline_page_model.cc',
30         'offline_pages/offline_page_model.h',
31         'offline_pages/offline_page_metadata_store.cc',
32         'offline_pages/offline_page_metadata_store.h',
33         'offline_pages/offline_page_metadata_store_impl.cc',
34         'offline_pages/offline_page_metadata_store_impl.h',
35         'offline_pages/offline_page_switches.cc',
36         'offline_pages/offline_page_switches.h',
37       ],
38     },
39     {
40       # Protobuf compiler / generator for the offline page item protocol buffer.
41       # GN version: //components/offline_pages/proto
42       'target_name': 'offline_pages_proto',
43       'type': 'static_library',
44       'sources': [ 'offline_pages/proto/offline_pages.proto', ],
45       'variables': {
46         'proto_in_dir': 'offline_pages/proto',
47         'proto_out_dir': 'components/offline_pages/proto',
48       },
49       'includes': [ '../build/protoc.gypi', ],
50     },
51   ],
52   'conditions': [
53     ['OS == "android"', {
54       'targets': [
55         {
56           # GN: //components/offline_pages:offline_pages_enums_java
57           'target_name': 'offline_pages_enums_java',
58           'type': 'none',
59           'variables': {
60             'source_file': 'offline_pages/offline_page_model.h',
61           },
62           'includes': [ '../build/android/java_cpp_enum.gypi' ],
63         },
64       ],
65     }],
66   ],