Call -loadCurrentURL to proceed with SSL warning in Request Tracker callback.
[chromium-blink-merge.git] / components / enhanced_bookmarks.gypi
blobbe15b26bc41cf08cf670d512d7a43ab6e27ccc95
1 # Copyright 2014 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/enhanced_bookmarks:enhanced_bookmarks
9       'target_name': 'enhanced_bookmarks',
10       'type': 'static_library',
11       'include_dirs': [
12         '..',
13       ],
14       'dependencies': [
15         '../base/base.gyp:base',
16         '../google_apis/google_apis.gyp:google_apis',
17         '../net/net.gyp:net',
18         '../skia/skia.gyp:skia',
19         '../sql/sql.gyp:sql',
20         '../ui/gfx/gfx.gyp:gfx',
21         '../url/url.gyp:url_lib',
22         'bookmarks_browser',
23         'enhanced_bookmarks_proto',
24         'keyed_service_core',
25         'signin_core_browser',
26         'sync_driver',
27       ],
28       'sources': [
29         'enhanced_bookmarks/bookmark_image_service.cc',
30         'enhanced_bookmarks/bookmark_image_service.h',
31         'enhanced_bookmarks/bookmark_server_cluster_service.cc',
32         'enhanced_bookmarks/bookmark_server_cluster_service.h',
33         'enhanced_bookmarks/bookmark_server_service.cc',
34         'enhanced_bookmarks/bookmark_server_service.h',
35         'enhanced_bookmarks/enhanced_bookmark_model.cc',
36         'enhanced_bookmarks/enhanced_bookmark_model.h',
37         'enhanced_bookmarks/enhanced_bookmark_model_observer.h',
38         'enhanced_bookmarks/enhanced_bookmark_utils.cc',
39         'enhanced_bookmarks/enhanced_bookmark_utils.h',
40         'enhanced_bookmarks/image_record.cc',
41         'enhanced_bookmarks/image_record.h',
42         'enhanced_bookmarks/image_store.cc',
43         'enhanced_bookmarks/image_store.h',
44         'enhanced_bookmarks/image_store_util.cc',
45         'enhanced_bookmarks/image_store_util.h',
46         'enhanced_bookmarks/image_store_util_ios.mm',
47         'enhanced_bookmarks/item_position.cc',
48         'enhanced_bookmarks/item_position.h',
49         'enhanced_bookmarks/metadata_accessor.cc',
50         'enhanced_bookmarks/metadata_accessor.h',
51         'enhanced_bookmarks/persistent_image_store.cc',
52         'enhanced_bookmarks/persistent_image_store.h',
53         'enhanced_bookmarks/pref_names.cc',
54         'enhanced_bookmarks/pref_names.h',
55       ],
56       'conditions': [
57         ['OS=="ios"', {
58           'sources!': [
59             'enhanced_bookmarks/image_store_util.cc',
60           ],
61         }],
62       ],
63     },
64     {
65       # GN: //components/enhanced_bookmarks:enhanced_bookmarks_test_support
66       'target_name': 'enhanced_bookmarks_test_support',
67       'type': 'static_library',
68       'include_dirs': [
69         '..',
70       ],
71       'dependencies': [
72         '../testing/gtest.gyp:gtest',
73         'enhanced_bookmarks',
74       ],
75       'sources': [
76         'enhanced_bookmarks/test_image_store.cc',
77         'enhanced_bookmarks/test_image_store.h',
78       ],
79     },
80     {
81       'target_name': 'enhanced_bookmarks_proto',
82       'type': 'static_library',
83       'sources': [
84         'enhanced_bookmarks/proto/cluster.proto',
85         'enhanced_bookmarks/proto/metadata.proto',
86         'enhanced_bookmarks/proto/search.proto',
87       ],
88       'variables': {
89         'proto_in_dir': './enhanced_bookmarks/proto',
90         'proto_out_dir': 'components/enhanced_bookmarks/proto',
91       },
92       'includes': [ '../build/protoc.gypi' ],
93     },
94   ],
95   'conditions' : [
96     ['OS=="android"', {
97       'targets': [
98         {
99           # GN: //components/enhanced_bookmarks:enhanced_bookmarks_java_enums_srcjar
100           'target_name': 'enhanced_bookmarks_java_enums_srcjar',
101           'type': 'none',
102           'variables': {
103             'source_file': 'enhanced_bookmarks/enhanced_bookmark_utils.h',
104           },
105           'includes': [ '../build/android/java_cpp_enum.gypi' ],
106         },
107       ],
108      },
109    ],
110   ],