Add readelf and nm dummy values to cros.
[chromium-blink-merge.git] / components / enhanced_bookmarks.gypi
blob8c2076205b556e10439bc5e247b354994981efdf
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         'variations',
28       ],
29       'sources': [
30         'enhanced_bookmarks/bookmark_image_service.cc',
31         'enhanced_bookmarks/bookmark_image_service.h',
32         'enhanced_bookmarks/bookmark_server_cluster_service.cc',
33         'enhanced_bookmarks/bookmark_server_cluster_service.h',
34         'enhanced_bookmarks/bookmark_server_service.cc',
35         'enhanced_bookmarks/bookmark_server_service.h',
36         'enhanced_bookmarks/enhanced_bookmark_features.cc',
37         'enhanced_bookmarks/enhanced_bookmark_features.h',
38         'enhanced_bookmarks/enhanced_bookmark_model.cc',
39         'enhanced_bookmarks/enhanced_bookmark_model.h',
40         'enhanced_bookmarks/enhanced_bookmark_model_observer.h',
41         'enhanced_bookmarks/enhanced_bookmark_switches.cc',
42         'enhanced_bookmarks/enhanced_bookmark_switches.h',
43         'enhanced_bookmarks/enhanced_bookmark_utils.cc',
44         'enhanced_bookmarks/enhanced_bookmark_utils.h',
45         'enhanced_bookmarks/image_record.cc',
46         'enhanced_bookmarks/image_record.h',
47         'enhanced_bookmarks/image_store.cc',
48         'enhanced_bookmarks/image_store.h',
49         'enhanced_bookmarks/image_store_util.cc',
50         'enhanced_bookmarks/image_store_util.h',
51         'enhanced_bookmarks/image_store_util_ios.mm',
52         'enhanced_bookmarks/item_position.cc',
53         'enhanced_bookmarks/item_position.h',
54         'enhanced_bookmarks/metadata_accessor.cc',
55         'enhanced_bookmarks/metadata_accessor.h',
56         'enhanced_bookmarks/persistent_image_store.cc',
57         'enhanced_bookmarks/persistent_image_store.h',
58         'enhanced_bookmarks/pref_names.cc',
59         'enhanced_bookmarks/pref_names.h',
60       ],
61       'conditions': [
62         ['OS=="ios"', {
63           'sources!': [
64             'enhanced_bookmarks/image_store_util.cc',
65           ],
66         }],
67       ],
68     },
69     {
70       # GN: //components/enhanced_bookmarks:enhanced_bookmarks_test_support
71       'target_name': 'enhanced_bookmarks_test_support',
72       'type': 'static_library',
73       'include_dirs': [
74         '..',
75       ],
76       'dependencies': [
77         '../testing/gtest.gyp:gtest',
78         'enhanced_bookmarks',
79       ],
80       'sources': [
81         'enhanced_bookmarks/test_image_store.cc',
82         'enhanced_bookmarks/test_image_store.h',
83       ],
84     },
85     {
86       'target_name': 'enhanced_bookmarks_proto',
87       'type': 'static_library',
88       'sources': [
89         'enhanced_bookmarks/proto/cluster.proto',
90         'enhanced_bookmarks/proto/metadata.proto',
91         'enhanced_bookmarks/proto/search.proto',
92       ],
93       'variables': {
94         'proto_in_dir': './enhanced_bookmarks/proto',
95         'proto_out_dir': 'components/enhanced_bookmarks/proto',
96       },
97       'includes': [ '../build/protoc.gypi' ],
98     },
99   ],
100   'conditions' : [
101     ['OS=="android"', {
102       'targets': [
103         {
104           # GN: //components/enhanced_bookmarks:enhanced_bookmarks_java_enums_srcjar
105           'target_name': 'enhanced_bookmarks_java_enums_srcjar',
106           'type': 'none',
107           'variables': {
108             'source_file': 'enhanced_bookmarks/enhanced_bookmark_utils.h',
109           },
110           'includes': [ '../build/android/java_cpp_enum.gypi' ],
111         },
112       ],
113      },
114    ],
115   ],