Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 import("//build/buildflag_header.gni") | 5 import("//build/buildflag_header.gni") |
| 6 import("//build/config/compiler/compiler.gni") | 6 import("//build/config/compiler/compiler.gni") |
| 7 import("//build/config/sanitizers/sanitizers.gni") | 7 import("//build/config/sanitizers/sanitizers.gni") |
| 8 import("//build/config/ui.gni") | 8 import("//build/config/ui.gni") |
| 9 import("//testing/test.gni") | 9 import("//testing/test.gni") |
| 10 import("//ui/base/ui_features.gni") | 10 import("//ui/base/ui_features.gni") |
| (...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 244 "resource/resource_bundle_mac.mm", | 244 "resource/resource_bundle_mac.mm", |
| 245 "resource/resource_bundle_win.cc", | 245 "resource/resource_bundle_win.cc", |
| 246 "resource/resource_bundle_win.h", | 246 "resource/resource_bundle_win.h", |
| 247 "resource/resource_data_dll_win.cc", | 247 "resource/resource_data_dll_win.cc", |
| 248 "resource/resource_data_dll_win.h", | 248 "resource/resource_data_dll_win.h", |
| 249 "template_expressions.cc", | 249 "template_expressions.cc", |
| 250 "template_expressions.h", | 250 "template_expressions.h", |
| 251 "theme_provider.cc", | 251 "theme_provider.cc", |
| 252 "theme_provider.h", | 252 "theme_provider.h", |
| 253 "touch/touch_device.h", | 253 "touch/touch_device.h", |
| 254 "touch/touch_device_util.cc", | |
| 254 "touch/touch_editing_controller.cc", | 255 "touch/touch_editing_controller.cc", |
| 255 "touch/touch_editing_controller.h", | 256 "touch/touch_editing_controller.h", |
| 256 "ui_base_export.h", | 257 "ui_base_export.h", |
| 257 "ui_base_exports.cc", | 258 "ui_base_exports.cc", |
| 258 "ui_base_paths.cc", | 259 "ui_base_paths.cc", |
| 259 "ui_base_paths.h", | 260 "ui_base_paths.h", |
| 260 "ui_base_switches.cc", | 261 "ui_base_switches.cc", |
| 261 "ui_base_switches.h", | 262 "ui_base_switches.h", |
| 262 "ui_base_switches_util.cc", | 263 "ui_base_switches_util.cc", |
| 263 "ui_base_switches_util.h", | 264 "ui_base_switches_util.h", |
| (...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 350 "idle/idle_win.cc", | 351 "idle/idle_win.cc", |
| 351 "text/bytes_formatting.cc", | 352 "text/bytes_formatting.cc", |
| 352 "text/bytes_formatting.h", | 353 "text/bytes_formatting.h", |
| 353 ] | 354 ] |
| 354 } | 355 } |
| 355 | 356 |
| 356 if (is_win) { | 357 if (is_win) { |
| 357 sources += [ "touch/touch_device_win.cc" ] | 358 sources += [ "touch/touch_device_win.cc" ] |
| 358 } else if (is_android) { | 359 } else if (is_android) { |
| 359 sources += [ "touch/touch_device_android.cc" ] | 360 sources += [ "touch/touch_device_android.cc" ] |
| 361 sources -= [ "touch/touch_device_util.cc" ] | |
| 360 } else if (is_ios) { | 362 } else if (is_ios) { |
| 361 sources += [ "touch/touch_device_ios.cc" ] | 363 sources += [ "touch/touch_device_ios.cc" ] |
| 362 } else if (is_linux) { | 364 } else if (is_linux) { |
| 363 sources += [ "touch/touch_device_linux.cc" ] | 365 sources += [ "touch/touch_device_linux.cc" ] |
| 364 } else { | 366 } else { |
| 365 # Empty implementation for all other cases. | 367 # Empty implementation for all other cases. |
| 366 sources += [ "touch/touch_device.cc" ] | 368 sources += [ "touch/touch_device.cc" ] |
| 369 sources -= [ "touch/touch_device_util.cc" ] | |
| 367 } | 370 } |
| 368 | 371 |
| 369 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 372 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 370 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 373 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
| 371 | 374 |
| 372 defines = [ "UI_BASE_IMPLEMENTATION" ] | 375 defines = [ "UI_BASE_IMPLEMENTATION" ] |
| 373 | 376 |
| 374 public_deps = [ | 377 public_deps = [ |
| 375 ":ui_data_pack", | 378 ":ui_data_pack", |
| 376 ":ui_features", | 379 ":ui_features", |
| (...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 635 sources = [ | 638 sources = [ |
| 636 "test/material_design_controller_test_api.cc", | 639 "test/material_design_controller_test_api.cc", |
| 637 "test/material_design_controller_test_api.h", | 640 "test/material_design_controller_test_api.h", |
| 638 "test/ui_controls.h", | 641 "test/ui_controls.h", |
| 639 "test/ui_controls_aura.cc", | 642 "test/ui_controls_aura.cc", |
| 640 "test/ui_controls_aura.h", | 643 "test/ui_controls_aura.h", |
| 641 "test/ui_controls_internal_win.cc", | 644 "test/ui_controls_internal_win.cc", |
| 642 "test/ui_controls_internal_win.h", | 645 "test/ui_controls_internal_win.h", |
| 643 "test/ui_controls_mac.mm", | 646 "test/ui_controls_mac.mm", |
| 644 "test/ui_controls_win.cc", | 647 "test/ui_controls_win.cc", |
| 645 "test/user_interactive_test_case.h", | 648 "test/user_interactive_test_case.h", |
|
sadrul
2017/05/10 01:47:53
Can touch_device_util be here? (and maybe called t
| |
| 646 ] | 649 ] |
| 647 | 650 |
| 648 if (!is_ios) { | 651 if (!is_ios) { |
| 649 sources += [ | 652 sources += [ |
| 650 "test/nswindow_fullscreen_notification_waiter.h", | 653 "test/nswindow_fullscreen_notification_waiter.h", |
| 651 "test/nswindow_fullscreen_notification_waiter.mm", | 654 "test/nswindow_fullscreen_notification_waiter.mm", |
| 652 "test/scoped_fake_full_keyboard_access.h", | 655 "test/scoped_fake_full_keyboard_access.h", |
| 653 "test/scoped_fake_full_keyboard_access.mm", | 656 "test/scoped_fake_full_keyboard_access.mm", |
| 654 "test/scoped_fake_nswindow_focus.h", | 657 "test/scoped_fake_nswindow_focus.h", |
| 655 "test/scoped_fake_nswindow_focus.mm", | 658 "test/scoped_fake_nswindow_focus.mm", |
| (...skipping 334 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 990 if (is_mac) { | 993 if (is_mac) { |
| 991 mac_framework_bundle("ui_unittests_framework") { | 994 mac_framework_bundle("ui_unittests_framework") { |
| 992 testonly = true | 995 testonly = true |
| 993 deps = [ | 996 deps = [ |
| 994 "//ui/resources:ui_test_pak_bundle_data", | 997 "//ui/resources:ui_test_pak_bundle_data", |
| 995 ] | 998 ] |
| 996 info_plist = "test/framework-Info.plist" | 999 info_plist = "test/framework-Info.plist" |
| 997 output_name = "ui_unittests Framework" | 1000 output_name = "ui_unittests Framework" |
| 998 } | 1001 } |
| 999 } | 1002 } |
| OLD | NEW |