Manual fixups in compositor code scoped_refptr operator T* removal.
[chromium-blink-merge.git] / components / enhanced_bookmarks.gypi
bloba26cc602391fa4329b6836a415b031cfacf7ce9e
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       'target_name': 'enhanced_bookmarks',
9       'type': 'static_library',
10       'include_dirs': [
11         '..',
12       ],
13       'dependencies': [
14         '../base/base.gyp:base',
15         '../sql/sql.gyp:sql',
16         '../ui/gfx/gfx.gyp:gfx',
17         '../url/url.gyp:url_lib',
18         'bookmarks_browser',
19         'enhanced_bookmarks_proto',
20       ],
21       'sources': [
22         'enhanced_bookmarks/enhanced_bookmark_utils.cc',
23         'enhanced_bookmarks/enhanced_bookmark_utils.h',
24         'enhanced_bookmarks/image_store.cc',
25         'enhanced_bookmarks/image_store.h',
26         'enhanced_bookmarks/image_store_util.cc',
27         'enhanced_bookmarks/image_store_util.h',
28         'enhanced_bookmarks/image_store_util_ios.mm',
29         'enhanced_bookmarks/metadata_accessor.cc',
30         'enhanced_bookmarks/metadata_accessor.h',
31         'enhanced_bookmarks/persistent_image_store.cc',
32         'enhanced_bookmarks/persistent_image_store.h',
33       ],
34       'conditions': [
35         ['OS=="android"', {
36           'sources': [
37             'enhanced_bookmarks/android/component_jni_registrar.cc',
38             'enhanced_bookmarks/android/component_jni_registrar.h',
39             'enhanced_bookmarks/android/enhanced_bookmarks_bridge.cc',
40             'enhanced_bookmarks/android/enhanced_bookmarks_bridge.h',
41           ],
42           'dependencies': [
43             'enhanced_bookmarks_jni_headers',
44           ],
45         }],
46         ['OS=="ios"', {
47           'sources!': [
48             'enhanced_bookmarks/image_store_util.cc',
49           ],
50         }],
51       ],
52     },
53     {
54       'target_name': 'enhanced_bookmarks_test_support',
55       'type': 'static_library',
56       'include_dirs': [
57         '..',
58       ],
59       'dependencies': [
60         '../testing/gtest.gyp:gtest',
61         'enhanced_bookmarks',
62       ],
63       'sources': [
64         'enhanced_bookmarks/test_image_store.cc',
65         'enhanced_bookmarks/test_image_store.h',
66       ],
67     },
68     {
69       'target_name': 'enhanced_bookmarks_proto',
70       'type': 'static_library',
71       'sources': [
72         'enhanced_bookmarks/proto/metadata.proto',
73       ],
74       'variables': {
75         'proto_in_dir': './enhanced_bookmarks/proto',
76         'proto_out_dir': 'components/enhanced_bookmarks/proto',
77       },
78       'includes': [ '../build/protoc.gypi' ],
79     },
80   ],
81   'conditions' : [
82     ['OS=="android"', {
83       'targets': [
84         {
85           'target_name': 'enhanced_bookmarks_java',
86           'type': 'none',
87           'dependencies': [
88             'components.gyp:bookmarks_java'
89           ],
90           'variables': {
91             'java_in_dir': 'enhanced_bookmarks/android/java',
92           },
93           'includes': [ '../build/java.gypi' ],
94         },
95         {
96           'target_name': 'enhanced_bookmarks_jni_headers',
97           'type': 'none',
98           'sources': [
99             'enhanced_bookmarks/android/java/src/org/chromium/components/enhancedbookmarks/EnhancedBookmarksBridge.java',
100           ],
101           'variables': {
102             'jni_gen_package': 'enhanced_bookmarks',
103           },
104           'includes': [ '../build/jni_generator.gypi' ],
105         },
106       ],
107     }]
108   ],