| Index: ui/base/BUILD.gn
|
| diff --git a/ui/base/BUILD.gn b/ui/base/BUILD.gn
|
| index 187b84f53b0c629cb3b26aa55e5a00cde7996aae..3535e21d635c5f64251719eb6ac96191e0202ed6 100644
|
| --- a/ui/base/BUILD.gn
|
| +++ b/ui/base/BUILD.gn
|
| @@ -23,18 +23,9 @@ component("base") {
|
| "android/window_android_observer.h",
|
| "cursor/cursor.h",
|
| "hit_test.h",
|
| - "touch/touch_device.h",
|
| - "touch/touch_enabled.cc",
|
| - "touch/touch_enabled.h",
|
| "ui_base_export.h",
|
| - "ui_base_paths.cc",
|
| - "ui_base_paths.h",
|
| "ui_base_switches.cc",
|
| "ui_base_switches.h",
|
| - "ui_base_switches_util.cc",
|
| - "ui_base_switches_util.h",
|
| - "ui_base_types.cc",
|
| - "ui_base_types.h",
|
| "view_prop.cc",
|
| "view_prop.h",
|
| "win/accessibility_ids_win.h",
|
| @@ -67,17 +58,6 @@ component("base") {
|
| "win/window_event_target.h",
|
| ]
|
|
|
| - if (is_win) {
|
| - sources += [ "touch/touch_device_win.cc" ]
|
| - } else if (is_android) {
|
| - sources += [ "touch/touch_device_android.cc" ]
|
| - } else if (use_x11) {
|
| - sources += [ "touch/touch_device_x11.cc" ]
|
| - } else {
|
| - # Empty implementation for all other cases.
|
| - sources += [ "touch/touch_device.cc" ]
|
| - }
|
| -
|
| defines = [ "UI_BASE_IMPLEMENTATION" ]
|
|
|
| public_deps = [
|
| @@ -100,10 +80,6 @@ component("base") {
|
|
|
| if (use_x11) {
|
| sources += [
|
| - "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",
|
| @@ -166,8 +142,6 @@ component("base") {
|
| }
|
|
|
| if (is_android) {
|
| - sources -= [ "ui_base_types.cc" ]
|
| -
|
| deps += [ ":ui_base_jni_headers" ]
|
|
|
| libs += [ "jnigraphics" ]
|
| @@ -186,7 +160,6 @@ if (is_android) {
|
| sources = [
|
| "../android/java/src/org/chromium/ui/base/DeviceFormFactor.java",
|
| "../android/java/src/org/chromium/ui/base/SelectFileDialog.java",
|
| - "../android/java/src/org/chromium/ui/base/TouchDevice.java",
|
| "../android/java/src/org/chromium/ui/base/ViewAndroid.java",
|
| "../android/java/src/org/chromium/ui/base/WindowAndroid.java",
|
| ]
|
| @@ -205,13 +178,10 @@ if (false) {
|
| # remove 'ui_unittests' target. crbug.com/331829
|
| test("ui_unittests") {
|
| sources = [
|
| - "layout_unittest.cc",
|
| "test/run_all_unittests.cc",
|
| ]
|
|
|
| sources += [
|
| - "accelerators/accelerator_manager_unittest.cc",
|
| - "accelerators/menu_label_accelerator_util_linux_unittest.cc",
|
| "test/data/resource.h",
|
| "view_prop_unittest.cc",
|
| ]
|
|
|