Commit 48c35b8b authored by tfarina@chromium.org's avatar tfarina@chromium.org

components: Add bookmarks to GN build.

Splits components/translate per directory.

BUG=None
TEST=gn gen out/Debug_gn && ninja -C out/Debug_gn
R=ajwong@chromium.org
TBR=jochen@chromium.org

Review URL: https://codereview.chromium.org/361373002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@282561 0039d316-1c4b-4281-b951-d872f2087c98
parent 75d1f759
...@@ -12,6 +12,9 @@ group("all_components") { ...@@ -12,6 +12,9 @@ group("all_components") {
"//components/autofill/content/browser", "//components/autofill/content/browser",
"//components/autofill/content/common", "//components/autofill/content/common",
"//components/autofill/content/renderer", "//components/autofill/content/renderer",
"//components/bookmarks/browser",
"//components/bookmarks/common",
"//components/bookmarks/test",
"//components/captive_portal", "//components/captive_portal",
"//components/cloud_devices/common", "//components/cloud_devices/common",
"//components/data_reduction_proxy/browser", "//components/data_reduction_proxy/browser",
......
# 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.
import("//build/config/ui.gni")
source_set("browser") {
sources = [
"base_bookmark_model_observer.cc",
"base_bookmark_model_observer.h",
"bookmark_client.cc",
"bookmark_client.h",
"bookmark_codec.cc",
"bookmark_codec.h",
"bookmark_expanded_state_tracker.cc",
"bookmark_expanded_state_tracker.h",
"bookmark_index.cc",
"bookmark_index.h",
"bookmark_match.cc",
"bookmark_match.h",
"bookmark_model.cc",
"bookmark_model.h",
"bookmark_model_observer.h",
"bookmark_node.cc",
"bookmark_node.h",
"bookmark_node_data.cc",
"bookmark_node_data.h",
"bookmark_node_data_ios.cc",
"bookmark_node_data_mac.cc",
"bookmark_pasteboard_helper_mac.h",
"bookmark_pasteboard_helper_mac.mm",
"bookmark_storage.cc",
"bookmark_storage.h",
"bookmark_utils.cc",
"bookmark_utils.h",
"scoped_group_bookmark_actions.cc",
"scoped_group_bookmark_actions.h",
]
deps = [
"//base",
"//net",
"//third_party/icu",
"//ui/base",
"//ui/gfx",
"//url",
"//components/bookmarks/common",
"//components/strings",
"//components/favicon_base",
"//components/keyed_service/core",
"//components/pref_registry",
"//components/query_parser",
"//components/startup_metric_utils",
]
if (toolkit_views) {
sources += [
"bookmark_node_data_views.cc",
]
}
}
# 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.
source_set("common") {
sources = [
"bookmark_constants.cc",
"bookmark_constants.h",
"bookmark_pref_names.cc",
"bookmark_pref_names.h",
]
deps = [
"//base",
]
}
# 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.
import ("//build/config/ui.gni")
source_set("test") {
sources = [
"bookmark_test_helpers.cc",
"bookmark_test_helpers.h",
"mock_bookmark_model_observer.cc",
"mock_bookmark_model_observer.h",
"test_bookmark_client.cc",
"test_bookmark_client.h",
]
deps = [
"//base",
"//components/bookmarks/browser",
"//testing/gmock",
"//ui/events/platform",
"//url",
]
if (use_x11) {
deps += [
"//ui/events/platform/x11",
]
}
}
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
# Use of this source code is governed by a BSD-style license that can be # Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file. # found in the LICENSE file.
static_library("browser") { source_set("browser") {
sources = [ sources = [
"language_state.cc", "language_state.cc",
"language_state.h", "language_state.h",
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
# Use of this source code is governed by a BSD-style license that can be # Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file. # found in the LICENSE file.
static_library("common") { source_set("common") {
sources = [ sources = [
"language_detection_details.cc", "language_detection_details.cc",
"language_detection_details.h", "language_detection_details.h",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment