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 import("//build/config/android/config.gni")
7 import("//build/config/android/rules.gni")
10 # GYP: //components/enhanced_bookmarks.gypi:enhanced_bookmarks
11 source_set("enhanced_bookmarks") {
13 "bookmark_server_cluster_service.cc",
14 "bookmark_server_cluster_service.h",
15 "bookmark_server_service.cc",
16 "bookmark_server_service.h",
17 "enhanced_bookmark_features.cc",
18 "enhanced_bookmark_features.h",
19 "enhanced_bookmark_model.cc",
20 "enhanced_bookmark_model.h",
21 "enhanced_bookmark_model_observer.h",
22 "enhanced_bookmark_switches.cc",
23 "enhanced_bookmark_switches.h",
24 "enhanced_bookmark_utils.cc",
25 "enhanced_bookmark_utils.h",
30 "image_store_util.cc",
32 "image_store_util_ios.mm",
35 "metadata_accessor.cc",
36 "metadata_accessor.h",
37 "persistent_image_store.cc",
38 "persistent_image_store.h",
45 "//components/bookmarks/browser",
46 "//components/enhanced_bookmarks/proto",
47 "//components/keyed_service/core",
48 "//components/signin/core/browser",
49 "//components/sync_driver",
50 "//components/variations",
58 sources -= [ "image_store_util.cc" ]
63 # GYP: //components/enhanced_bookmarks.gypi:enhanced_bookmarks_java_enums_srcjar
64 java_cpp_enum("enhanced_bookmarks_java_enums_srcjar") {
66 "enhanced_bookmark_utils.h",
69 "org/chromium/chrome/browser/enhancedbookmarks/LaunchLocation.java",
74 # GYP: //components/enhanced_bookmarks.gypi:enhanced_bookmarks_test_support
75 source_set("test_support") {
78 "test_image_store.cc",
83 ":enhanced_bookmarks",
89 source_set("unit_tests") {
92 "enhanced_bookmark_model_unittest.cc",
93 "image_store_ios_unittest.mm",
94 "image_store_unittest.cc",
95 "item_position_unittest.cc",
99 "//components/enhanced_bookmarks/proto",