Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(523)

Unified Diff: ui/base/BUILD.gn

Issue 853033002: More delete + gfx_unittests (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Fix android trybots Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/android/java/src/org/chromium/ui/base/TouchDevice.java ('k') | ui/base/android/ui_base_jni_registrar.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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",
]
« no previous file with comments | « ui/android/java/src/org/chromium/ui/base/TouchDevice.java ('k') | ui/base/android/ui_base_jni_registrar.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698