| Index: ui/base/BUILD.gn
|
| diff --git a/ui/base/BUILD.gn b/ui/base/BUILD.gn
|
| index e41abf6bc832d7dae2af1e8a3b5b6e29ec9a247a..c7a250e1c7aea14513a5157346cc21b657cd96fd 100644
|
| --- a/ui/base/BUILD.gn
|
| +++ b/ui/base/BUILD.gn
|
| @@ -258,13 +258,6 @@ component("base") {
|
| "window_open_disposition.cc",
|
| "window_open_disposition.h",
|
| "work_area_watcher_observer.h",
|
| - "x/x11_foreign_window_manager.cc",
|
| - "x/x11_foreign_window_manager.h",
|
| - "x/x11_menu_list.cc",
|
| - "x/x11_menu_list.h",
|
| - "x/x11_util.cc",
|
| - "x/x11_util.h",
|
| - "x/x11_util_internal.h",
|
| ]
|
|
|
| if (is_win) {
|
| @@ -282,26 +275,24 @@ component("base") {
|
|
|
| defines = [ "UI_BASE_IMPLEMENTATION" ]
|
|
|
| - deps = [
|
| + public_deps = [
|
| "//base",
|
| - "//base/third_party/dynamic_annotations",
|
| - "//base:base_static",
|
| - "//base:i18n",
|
| - "//net",
|
| "//skia",
|
| - "//third_party/icu",
|
| "//ui/events/platform",
|
| "//ui/events:events_base",
|
| "//ui/gfx",
|
| "//ui/gfx/geometry",
|
| + ]
|
| + deps = [
|
| + "//base/third_party/dynamic_annotations",
|
| + "//base:base_static",
|
| + "//base:i18n",
|
| + "//net",
|
| + "//third_party/icu",
|
| "//ui/resources",
|
| "//ui/strings",
|
| "//url",
|
| ]
|
| - # We expose these things in our headers:
|
| - forward_dependent_configs_from = [
|
| - "//ui/gfx",
|
| - ]
|
|
|
| if (build_ime) {
|
| if (!is_android) {
|
| @@ -443,8 +434,8 @@ component("base") {
|
| "dragdrop/drag_utils_aura.cc",
|
| ]
|
| }
|
| - if (!use_x11) {
|
| - sources -= [
|
| + if (use_x11) {
|
| + sources += [
|
| "x/x11_foreign_window_manager.cc",
|
| "x/x11_foreign_window_manager.h",
|
| "x/x11_menu_list.cc",
|
| @@ -453,6 +444,7 @@ component("base") {
|
| "x/x11_util.h",
|
| "x/x11_util_internal.h",
|
| ]
|
| + deps += [ "//ui/gfx/x" ]
|
| }
|
|
|
| if (!use_aura || !is_linux) {
|
| @@ -663,8 +655,10 @@ source_set("test_support") {
|
| "test/ui_controls_win.cc",
|
| ]
|
|
|
| - deps = [
|
| + public_deps = [
|
| ":base",
|
| + ]
|
| + deps = [
|
| "//base",
|
| "//skia",
|
| "//testing/gtest",
|
|
|