Commit cd028f88 authored by Lei Zhang's avatar Lei Zhang Committed by Commit Bot

Remove chrome/browser/ui/webui/welcome/nux/BUILD.gn.

Merge its contents into chrome/browser/ui/BUILD.gn to reduce build
dependency complicity.

Change-Id: I046775c1b2bd7f37abc0c9786c5b70baae256255
Reviewed-on: https://chromium-review.googlesource.com/c/1306834Reviewed-by: default avatarScott Chen <scottchen@chromium.org>
Reviewed-by: default avatarHector Carmona <hcarmona@chromium.org>
Commit-Queue: Lei Zhang <thestig@chromium.org>
Cr-Commit-Position: refs/heads/master@{#603712}
parent b46c291f
...@@ -1851,12 +1851,16 @@ jumbo_split_static_library("ui") { ...@@ -1851,12 +1851,16 @@ jumbo_split_static_library("ui") {
"webui/signin/sync_confirmation_ui.h", "webui/signin/sync_confirmation_ui.h",
"webui/signin/user_manager_screen_handler.cc", "webui/signin/user_manager_screen_handler.cc",
"webui/signin/user_manager_screen_handler.h", "webui/signin/user_manager_screen_handler.h",
"webui/welcome/nux/bookmark_handler.cc",
# TODO(scottchen): nux/set_as_default_handler is here because it depends "webui/welcome/nux/bookmark_handler.h",
# on settings_default_browser_handler, but that deps currently can't "webui/welcome/nux/bookmark_item.cc",
# be added in nux/BUILD.gn due to circular dependency. "webui/welcome/nux/bookmark_item.h",
# Should move back to nux/BUILD.gn once settings's build config is in "webui/welcome/nux/constants.cc",
# a shareable location (e.g. ui/webui/settings/BUILD.gn). "webui/welcome/nux/constants.h",
"webui/welcome/nux/email_handler.cc",
"webui/welcome/nux/email_handler.h",
"webui/welcome/nux/google_apps_handler.cc",
"webui/welcome/nux/google_apps_handler.h",
"webui/welcome/nux/set_as_default_handler.cc", "webui/welcome/nux/set_as_default_handler.cc",
"webui/welcome/nux/set_as_default_handler.h", "webui/welcome/nux/set_as_default_handler.h",
"webui/welcome/nux_helper.cc", "webui/welcome/nux_helper.cc",
...@@ -1867,13 +1871,6 @@ jumbo_split_static_library("ui") { ...@@ -1867,13 +1871,6 @@ jumbo_split_static_library("ui") {
"webui/welcome/welcome_ui.h", "webui/welcome/welcome_ui.h",
] ]
deps += [
"//chrome/browser/ui/webui/welcome/nux:bookmark_handler",
"//chrome/browser/ui/webui/welcome/nux:constants",
"//chrome/browser/ui/webui/welcome/nux:email_feature",
"//chrome/browser/ui/webui/welcome/nux:google_apps_feature",
]
if (enable_dice_support) { if (enable_dice_support) {
sources += [ sources += [
"webui/signin/dice_turn_sync_on_helper.cc", "webui/signin/dice_turn_sync_on_helper.cc",
......
# Copyright 2018 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/chrome_build.gni")
source_set("constants") {
sources = [
"constants.cc",
"constants.h",
]
public_deps = [
"//base",
]
}
static_library("bookmark_item") {
sources = [
"bookmark_item.cc",
"bookmark_item.h",
]
deps = [
"//base",
"//content/public/browser",
]
}
static_library("bookmark_handler") {
sources = [
"bookmark_handler.cc",
"bookmark_handler.h",
]
deps = [
"//base",
"//chrome/browser:resources",
"//components/bookmarks/common",
"//components/pref_registry",
"//components/prefs",
"//content/public/browser",
]
}
static_library("email_feature") {
sources = [
"email_handler.cc",
"email_handler.h",
]
public_deps = [
"//base",
"//net",
"//url",
]
deps = [
":bookmark_item",
"//chrome/app:generated_resources",
"//chrome/browser:resources",
"//components/favicon/core",
"//components/resources",
"//components/strings",
"//components/variations",
"//content/public/browser",
"//ui/base",
]
}
static_library("google_apps_feature") {
sources = [
"google_apps_handler.cc",
"google_apps_handler.h",
]
public_deps = [
"//base",
"//net",
"//url",
]
deps = [
":bookmark_item",
"//chrome/app:generated_resources",
"//chrome/browser:resources",
"//components/favicon/core",
"//components/resources",
"//components/strings",
"//components/variations",
"//content/public/browser",
"//ui/base",
]
}
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