Re-enable WebInputEventAuraTest.TestMakeWebKeyboardEventWindowsKeyCode
[chromium-blink-merge.git] / components / offline_pages.gypi
blob77bca152ea174ad18b4d5ecc23630d606c39feca
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_item.cc',
26         'offline_pages/offline_page_item.h',
27         'offline_pages/offline_page_model.cc',
28         'offline_pages/offline_page_model.h',
29         'offline_pages/offline_page_metadata_store.cc',
30         'offline_pages/offline_page_metadata_store.h',
31         'offline_pages/offline_page_metadata_store_impl.cc',
32         'offline_pages/offline_page_metadata_store_impl.h',
33       ],
34     },
35     {
36       # Protobuf compiler / generator for the offline page item protocol buffer.
37       # GN version: //components/offline_pages/proto
38       'target_name': 'offline_pages_proto',
39       'type': 'static_library',
40       'sources': [ 'offline_pages/proto/offline_pages.proto', ],
41       'variables': {
42         'proto_in_dir': 'offline_pages/proto',
43         'proto_out_dir': 'components/offline_pages/proto',
44       },
45       'includes': [ '../build/protoc.gypi', ],
46     },
47   ],
48   'conditions': [
49     ['OS == "android"', {
50       'targets': [
51         {
52           # GN: //components/offline_pages:offline_pages_enums_java
53           'target_name': 'offline_pages_enums_java',
54           'type': 'none',
55           'variables': {
56             'source_file': 'offline_pages/offline_page_model.h',
57           },
58           'includes': [ '../build/android/java_cpp_enum.gypi' ],
59         },
60       ],
61     }],
62   ],