Commit f43e433c authored by brettw@chromium.org's avatar brettw@chromium.org

Add cloud_devices and json_schema to GN build.

These components are needed by chrome/common.

This also adds a "components" meta-target to avoid listing all components in the root build file.

TBR=blundell

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278608 0039d316-1c4b-4281-b951-d872f2087c98
parent 57fa6dc6
......@@ -22,23 +22,6 @@ group("root") {
"//apps/common/api:apps_api",
"//cc",
"//chrome/common",
"//components/favicon_base",
"//components/language_usage_metrics",
"//components/metrics",
"//components/navigation_metrics",
"//components/onc",
"//components/os_crypt",
"//components/query_parser",
"//components/resources:components_resources",
"//components/startup_metric_utils",
"//components/tracing",
"//components/translate:translate_core_browser",
"//components/translate:translate_core_common",
"//components/url_matcher",
"//components/user_prefs",
"//components/visitedlink/browser",
"//components/visitedlink/common",
#"//components/visitedlink/renderer", # Blocked on blink
"//content",
"//crypto",
"//extensions/common/api:extensions_api",
......@@ -109,10 +92,6 @@ group("root") {
deps += [ "//breakpad:symupload" ]
}
if (!is_ios) {
deps += [ "//components/keyed_service/content" ]
}
if (is_linux) {
deps += [
"//dbus",
......@@ -144,10 +123,6 @@ group("root") {
"//cc",
"//chrome/common", # Blocked on content.
"//content",
"//components/keyed_service/content", # Blocked on content.
"//components/user_prefs", # Blocked on content.
"//components/visitedlink/browser", # Blocked on content.
"//components/visitedlink/common", # Blocked on content.
"//extensions/common/api:extensions_api",
"//pdf", # Not compiled on Android in GYP yet, either.
"//ppapi:ppapi_c",
......
# 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.
# Collection of all components. You wouldn't link to this, but this is rather
# to reference the files so they can be compiled by the build system.
group("all") {
visibility = "//:*" # Only for the root targets to bring in.
deps = [
"//components/cloud_devices/common",
"//components/favicon_base",
"//components/json_schema",
"//components/language_usage_metrics",
"//components/metrics",
"//components/navigation_metrics",
"//components/onc",
"//components/os_crypt",
"//components/query_parser",
"//components/resources:components_resources",
"//components/startup_metric_utils",
"//components/tracing",
"//components/translate:translate_core_browser",
"//components/translate:translate_core_common",
"//components/url_matcher",
"//components/user_prefs",
"//components/visitedlink/browser",
"//components/visitedlink/common",
#"//components/visitedlink/renderer", # Blocked on blink
]
if (!is_ios) {
deps += [ "//components/keyed_service/content" ]
}
if (is_android) {
deps -= [
"//components/cloud_devices/common", # Should work, needs checking.
"//components/json_schema", # Should work, needs checking.
"//components/keyed_service/content", # Blocked on content.
"//components/user_prefs", # Blocked on content.
"//components/visitedlink/browser", # Blocked on content.
"//components/visitedlink/common", # Blocked on content.
]
}
}
# 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.
static_library("common") {
output_name = "cloud_devices_common"
sources = [
"cloud_device_description.cc",
"cloud_device_description.h",
"cloud_device_description_consts.cc",
"cloud_device_description_consts.h",
"cloud_devices_switches.cc",
"cloud_devices_switches.h",
"cloud_devices_urls.cc",
"cloud_devices_urls.h",
"description_items.h",
"description_items_inl.h",
"printer_description.cc",
"printer_description.h",
]
deps = [
"//base",
"//net",
]
}
# 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.
static_library("json_schema") {
sources = [
"json_schema_constants.cc",
"json_schema_constants.h",
"json_schema_validator.cc",
"json_schema_validator.h",
]
deps = [
"//base",
"//third_party/re2",
]
}
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