OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
6 'targets': [ | 6 'targets': [ |
7 { | 7 { |
8 'target_name': 'enhanced_bookmarks', | 8 'target_name': 'enhanced_bookmarks', |
9 'type': 'static_library', | 9 'type': 'static_library', |
10 'include_dirs': [ | 10 'include_dirs': [ |
11 '..', | 11 '..', |
12 ], | 12 ], |
13 'dependencies': [ | 13 'dependencies': [ |
14 '../base/base.gyp:base', | 14 '../base/base.gyp:base', |
15 '../sql/sql.gyp:sql', | 15 '../sql/sql.gyp:sql', |
16 '../ui/gfx/gfx.gyp:gfx', | 16 '../ui/gfx/gfx.gyp:gfx', |
17 '../url/url.gyp:url_lib', | 17 '../url/url.gyp:url_lib', |
| 18 'enhanced_bookmarks_proto', |
18 ], | 19 ], |
19 'sources': [ | 20 'sources': [ |
20 'enhanced_bookmarks/image_store.cc', | 21 'enhanced_bookmarks/image_store.cc', |
21 'enhanced_bookmarks/image_store.h', | 22 'enhanced_bookmarks/image_store.h', |
22 'enhanced_bookmarks/image_store_util.cc', | 23 'enhanced_bookmarks/image_store_util.cc', |
23 'enhanced_bookmarks/image_store_util.h', | 24 'enhanced_bookmarks/image_store_util.h', |
24 'enhanced_bookmarks/image_store_util_ios.mm', | 25 'enhanced_bookmarks/image_store_util_ios.mm', |
| 26 'enhanced_bookmarks/metadata_accessor.cc', |
| 27 'enhanced_bookmarks/metadata_accessor.h', |
25 'enhanced_bookmarks/persistent_image_store.cc', | 28 'enhanced_bookmarks/persistent_image_store.cc', |
26 'enhanced_bookmarks/persistent_image_store.h', | 29 'enhanced_bookmarks/persistent_image_store.h', |
27 ], | 30 ], |
28 'conditions': [ | 31 'conditions': [ |
29 ['OS=="ios"', { | 32 ['OS=="ios"', { |
30 'sources!': [ | 33 'sources!': [ |
31 'enhanced_bookmarks/image_store_util.cc', | 34 'enhanced_bookmarks/image_store_util.cc', |
32 ], | 35 ], |
33 }], | 36 }], |
34 ], | 37 ], |
35 }, | 38 }, |
36 { | 39 { |
37 'target_name': 'enhanced_bookmarks_test_support', | 40 'target_name': 'enhanced_bookmarks_test_support', |
38 'type': 'static_library', | 41 'type': 'static_library', |
39 'include_dirs': [ | 42 'include_dirs': [ |
40 '..', | 43 '..', |
41 ], | 44 ], |
42 'dependencies': [ | 45 'dependencies': [ |
43 '../testing/gtest.gyp:gtest', | 46 '../testing/gtest.gyp:gtest', |
44 'enhanced_bookmarks', | 47 'enhanced_bookmarks', |
45 ], | 48 ], |
46 'sources': [ | 49 'sources': [ |
47 'enhanced_bookmarks/test_image_store.cc', | 50 'enhanced_bookmarks/test_image_store.cc', |
48 'enhanced_bookmarks/test_image_store.h', | 51 'enhanced_bookmarks/test_image_store.h', |
49 ], | 52 ], |
50 }, | 53 }, |
| 54 { |
| 55 'target_name': 'enhanced_bookmarks_proto', |
| 56 'type': 'static_library', |
| 57 'sources': [ |
| 58 'enhanced_bookmarks/proto/metadata.proto', |
| 59 ], |
| 60 'variables': { |
| 61 'proto_in_dir': './enhanced_bookmarks/proto', |
| 62 'proto_out_dir': 'components/enhanced_bookmarks/proto', |
| 63 }, |
| 64 'includes': [ '../build/protoc.gypi' ], |
| 65 }, |
51 ], | 66 ], |
52 } | 67 } |
OLD | NEW |