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. 4 5 { 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 'enhanced_bookmarks_proto', 19 ], 20 'sources': [ 21 'enhanced_bookmarks/image_store.cc', 22 'enhanced_bookmarks/image_store.h', 23 'enhanced_bookmarks/image_store_util.cc', 24 'enhanced_bookmarks/image_store_util.h', 25 'enhanced_bookmarks/image_store_util_ios.mm', 26 'enhanced_bookmarks/metadata_accessor.cc', 27 'enhanced_bookmarks/metadata_accessor.h', 28 'enhanced_bookmarks/persistent_image_store.cc', 29 'enhanced_bookmarks/persistent_image_store.h', 30 ], 31 'conditions': [ 32 ['OS=="ios"', { 33 'sources!': [ 34 'enhanced_bookmarks/image_store_util.cc', 35 ], 36 }], 37 ], 38 }, 39 { 40 'target_name': 'enhanced_bookmarks_test_support', 41 'type': 'static_library', 42 'include_dirs': [ 43 '..', 44 ], 45 'dependencies': [ 46 '../testing/gtest.gyp:gtest', 47 'enhanced_bookmarks', 48 ], 49 'sources': [ 50 'enhanced_bookmarks/test_image_store.cc', 51 'enhanced_bookmarks/test_image_store.h', 52 ], 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 }, 66 ], 67 } 68