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