Using pre-existing constants instead of hard-coding
[chromium-blink-merge.git] / components / enhanced_bookmarks.gypi
blobf34aa535f62e98621c8679a811e2b840445f4a14
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       ],
19       'sources': [
20         'enhanced_bookmarks/image_store.cc',
21         'enhanced_bookmarks/image_store.h',
22         'enhanced_bookmarks/image_store_util.cc',
23         'enhanced_bookmarks/image_store_util.h',
24         'enhanced_bookmarks/persistent_image_store.cc',
25         'enhanced_bookmarks/persistent_image_store.h',
26       ],
27       'conditions': [
28         ['OS=="ios"', {
29           'sources!': [
30             'enhanced_bookmarks/image_store_util.cc',
31           ],
32         }],
33       ],
34     },
35     {
36       'target_name': 'enhanced_bookmarks_test_support',
37       'type': 'static_library',
38       'include_dirs': [
39         '..',
40       ],
41       'dependencies': [
42         '../testing/gtest.gyp:gtest',
43         'enhanced_bookmarks',
44       ],
45       'sources': [
46         'enhanced_bookmarks/test_image_store.cc',
47         'enhanced_bookmarks/test_image_store.h',
48       ],
49     },
50   ],