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',
16 '../base/base.gyp:base_i18n',
18 '../third_party/icu/icu.gyp:icui18n',
19 '../third_party/icu/icu.gyp:icuuc',
20 '../ui/base/ui_base.gyp:ui_base',
21 '../ui/gfx/gfx.gyp:gfx',
22 '../url/url.gyp:url_lib',
24 'components_strings.gyp:components_strings',
29 'startup_metric_utils',
32 'bookmarks/browser/base_bookmark_model_observer.cc',
33 'bookmarks/browser/base_bookmark_model_observer.h',
34 'bookmarks/browser/bookmark_client.cc',
35 'bookmarks/browser/bookmark_client.h',
36 'bookmarks/browser/bookmark_codec.cc',
37 'bookmarks/browser/bookmark_codec.h',
38 'bookmarks/browser/bookmark_expanded_state_tracker.cc',
39 'bookmarks/browser/bookmark_expanded_state_tracker.h',
40 'bookmarks/browser/bookmark_index.cc',
41 'bookmarks/browser/bookmark_index.h',
42 'bookmarks/browser/bookmark_match.cc',
43 'bookmarks/browser/bookmark_match.h',
44 'bookmarks/browser/bookmark_model.cc',
45 'bookmarks/browser/bookmark_model.h',
46 'bookmarks/browser/bookmark_model_observer.h',
47 'bookmarks/browser/bookmark_node.cc',
48 'bookmarks/browser/bookmark_node.h',
49 'bookmarks/browser/bookmark_node_data.cc',
50 'bookmarks/browser/bookmark_node_data.h',
51 'bookmarks/browser/bookmark_node_data_ios.cc',
52 'bookmarks/browser/bookmark_node_data_mac.cc',
53 'bookmarks/browser/bookmark_node_data_views.cc',
54 'bookmarks/browser/bookmark_pasteboard_helper_mac.h',
55 'bookmarks/browser/bookmark_pasteboard_helper_mac.mm',
56 'bookmarks/browser/bookmark_storage.cc',
57 'bookmarks/browser/bookmark_storage.h',
58 'bookmarks/browser/bookmark_utils.cc',
59 'bookmarks/browser/bookmark_utils.h',
60 'bookmarks/browser/scoped_group_bookmark_actions.cc',
61 'bookmarks/browser/scoped_group_bookmark_actions.h',
65 # In GN, this android-specific stuff is its own target at
66 # //components/bookmarks/common/android
67 # TODO(cjhopman): This should be its own target in Gyp, too.
69 'bookmarks_jni_headers',
72 'bookmarks/common/android/bookmark_id.cc',
73 'bookmarks/common/android/bookmark_id.h',
74 'bookmarks/common/android/bookmark_type_list.h',
75 'bookmarks/common/android/component_jni_registrar.cc',
76 'bookmarks/common/android/component_jni_registrar.h',
82 # GN version: //components/bookmarks/common
83 'target_name': 'bookmarks_common',
84 'type': 'static_library',
89 '../base/base.gyp:base',
92 'bookmarks/common/bookmark_constants.cc',
93 'bookmarks/common/bookmark_constants.h',
94 'bookmarks/common/bookmark_pref_names.cc',
95 'bookmarks/common/bookmark_pref_names.h',
99 # GN version: //components/bookmarks/test
100 'target_name': 'bookmarks_test_support',
101 'type': 'static_library',
106 '../base/base.gyp:base',
107 '../testing/gmock.gyp:gmock',
108 '../ui/events/platform/events_platform.gyp:events_platform',
109 '../url/url.gyp:url_lib',
113 'bookmarks/test/bookmark_test_helpers.cc',
114 'bookmarks/test/bookmark_test_helpers.h',
115 'bookmarks/test/mock_bookmark_model_observer.cc',
116 'bookmarks/test/mock_bookmark_model_observer.h',
117 'bookmarks/test/test_bookmark_client.cc',
118 'bookmarks/test/test_bookmark_client.h',
123 '../ui/events/platform/x11/x11_events_platform.gyp:x11_events_platform',
133 # GN: //components/bookmarks/common/android:bookmarks_java
134 'target_name': 'bookmarks_java',
137 '../base/base.gyp:base_java',
138 'bookmark_type_java',
141 'java_in_dir': 'bookmarks/common/android/java',
143 'includes': [ '../build/java.gypi' ],
146 # GN: //components/bookmarks/common/android:bookmarks_jni_headers
147 'target_name': 'bookmarks_jni_headers',
150 'bookmarks/common/android/java/src/org/chromium/components/bookmarks/BookmarkId.java',
153 'jni_gen_package': 'components/bookmarks',
155 'includes': [ '../build/jni_generator.gypi' ],
158 # GN: //components/bookmarks/common/android:bookmarks_type_javagen
159 'target_name': 'bookmark_type_java',
162 'source_file': 'bookmarks/common/android/bookmark_type.h',
164 'includes': [ '../build/android/java_cpp_enum.gypi' ],