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.
8 # GN version: //components/bookmarks/browser
9 'target_name': 'bookmarks_browser',
10 'type': 'static_library',
15 '../base/base.gyp:base',
17 '../third_party/icu/icu.gyp:icuuc',
18 '../ui/base/ui_base.gyp:ui_base',
19 '../ui/gfx/gfx.gyp:gfx',
20 '../url/url.gyp:url_lib',
22 'components_strings.gyp:components_strings',
27 'startup_metric_utils',
30 'bookmarks/browser/base_bookmark_model_observer.cc',
31 'bookmarks/browser/base_bookmark_model_observer.h',
32 'bookmarks/browser/bookmark_client.cc',
33 'bookmarks/browser/bookmark_client.h',
34 'bookmarks/browser/bookmark_codec.cc',
35 'bookmarks/browser/bookmark_codec.h',
36 'bookmarks/browser/bookmark_expanded_state_tracker.cc',
37 'bookmarks/browser/bookmark_expanded_state_tracker.h',
38 'bookmarks/browser/bookmark_index.cc',
39 'bookmarks/browser/bookmark_index.h',
40 'bookmarks/browser/bookmark_match.cc',
41 'bookmarks/browser/bookmark_match.h',
42 'bookmarks/browser/bookmark_model.cc',
43 'bookmarks/browser/bookmark_model.h',
44 'bookmarks/browser/bookmark_model_observer.h',
45 'bookmarks/browser/bookmark_node.cc',
46 'bookmarks/browser/bookmark_node.h',
47 'bookmarks/browser/bookmark_node_data.cc',
48 'bookmarks/browser/bookmark_node_data.h',
49 'bookmarks/browser/bookmark_node_data_ios.cc',
50 'bookmarks/browser/bookmark_node_data_mac.cc',
51 'bookmarks/browser/bookmark_node_data_views.cc',
52 'bookmarks/browser/bookmark_pasteboard_helper_mac.h',
53 'bookmarks/browser/bookmark_pasteboard_helper_mac.mm',
54 'bookmarks/browser/bookmark_storage.cc',
55 'bookmarks/browser/bookmark_storage.h',
56 'bookmarks/browser/bookmark_utils.cc',
57 'bookmarks/browser/bookmark_utils.h',
58 'bookmarks/browser/scoped_group_bookmark_actions.cc',
59 'bookmarks/browser/scoped_group_bookmark_actions.h',
63 # In GN, this android-specific stuff is its own target at
64 # //components/bookmarks/common/android
65 # TODO(cjhopman): This should be its own target in Gyp, too.
67 'bookmarks_jni_headers',
70 'bookmarks/common/android/bookmark_id.cc',
71 'bookmarks/common/android/bookmark_id.h',
72 'bookmarks/common/android/bookmark_type_list.h',
73 'bookmarks/common/android/component_jni_registrar.cc',
74 'bookmarks/common/android/component_jni_registrar.h',
80 # GN version: //components/bookmarks/common
81 'target_name': 'bookmarks_common',
82 'type': 'static_library',
87 '../base/base.gyp:base',
90 'bookmarks/common/bookmark_constants.cc',
91 'bookmarks/common/bookmark_constants.h',
92 'bookmarks/common/bookmark_pref_names.cc',
93 'bookmarks/common/bookmark_pref_names.h',
97 # GN version: //components/bookmarks/test
98 'target_name': 'bookmarks_test_support',
99 'type': 'static_library',
104 '../base/base.gyp:base',
105 '../testing/gmock.gyp:gmock',
106 '../ui/events/platform/events_platform.gyp:events_platform',
107 '../url/url.gyp:url_lib',
111 'bookmarks/test/bookmark_test_helpers.cc',
112 'bookmarks/test/bookmark_test_helpers.h',
113 'bookmarks/test/mock_bookmark_model_observer.cc',
114 'bookmarks/test/mock_bookmark_model_observer.h',
115 'bookmarks/test/test_bookmark_client.cc',
116 'bookmarks/test/test_bookmark_client.h',
121 '../ui/events/platform/x11/x11_events_platform.gyp:x11_events_platform',
131 # GN: //components/bookmarks/common/android:bookmarks_java
132 'target_name': 'bookmarks_java',
135 '../base/base.gyp:base_java',
136 'bookmark_type_java',
139 'java_in_dir': 'bookmarks/common/android/java',
141 'includes': [ '../build/java.gypi' ],
144 # GN: //components/bookmarks/common/android:bookmarks_jni_headers
145 'target_name': 'bookmarks_jni_headers',
148 'bookmarks/common/android/java/src/org/chromium/components/bookmarks/BookmarkId.java',
151 'jni_gen_package': 'components/bookmarks',
153 'includes': [ '../build/jni_generator.gypi' ],
156 # GN: //components/bookmarks/common/android:bookmarks_type_javagen
157 'target_name': 'bookmark_type_java',
160 'source_file': 'bookmarks/common/android/bookmark_type.h',
162 'includes': [ '../build/android/java_cpp_enum.gypi' ],