1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
|
# Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
if (is_android) {
import("//build/config/android/config.gni")
import("//build/config/android/rules.gni")
}
# GYP: //components/enhanced_bookmarks.gypi:enhanced_bookmarks
source_set("enhanced_bookmarks") {
sources = [
"bookmark_server_cluster_service.cc",
"bookmark_server_cluster_service.h",
"bookmark_server_service.cc",
"bookmark_server_service.h",
"enhanced_bookmark_features.cc",
"enhanced_bookmark_features.h",
"enhanced_bookmark_model.cc",
"enhanced_bookmark_model.h",
"enhanced_bookmark_model_observer.h",
"enhanced_bookmark_switches.cc",
"enhanced_bookmark_switches.h",
"enhanced_bookmark_utils.cc",
"enhanced_bookmark_utils.h",
"image_record.cc",
"image_record.h",
"image_store.cc",
"image_store.h",
"image_store_util.cc",
"image_store_util.h",
"image_store_util_ios.mm",
"item_position.cc",
"item_position.h",
"metadata_accessor.cc",
"metadata_accessor.h",
"persistent_image_store.cc",
"persistent_image_store.h",
"pref_names.cc",
"pref_names.h",
]
deps = [
"//base",
"//components/bookmarks/browser",
"//components/enhanced_bookmarks/proto",
"//components/keyed_service/core",
"//components/signin/core/browser",
"//components/sync_driver",
"//components/variations",
"//skia",
"//sql",
"//ui/gfx",
"//url",
]
if (is_ios) {
sources -= [ "image_store_util.cc" ]
}
}
if (is_android) {
# GYP: //components/enhanced_bookmarks.gypi:enhanced_bookmarks_java_enums_srcjar
java_cpp_enum("enhanced_bookmarks_java_enums_srcjar") {
sources = [
"enhanced_bookmark_utils.h",
]
outputs = [
"org/chromium/chrome/browser/enhancedbookmarks/LaunchLocation.java",
]
}
}
# GYP: //components/enhanced_bookmarks.gypi:enhanced_bookmarks_test_support
source_set("test_support") {
testonly = true
sources = [
"test_image_store.cc",
"test_image_store.h",
]
deps = [
":enhanced_bookmarks",
"//skia",
"//testing/gtest",
]
}
|