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

Side by Side Diff: ui/base/BUILD.gn

Issue 2827803002: Make Interaction Media Features MQ dynamic on Linux. (Closed)
Patch Set: Patch for landing, added the mojo bits Created 3 years, 7 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 unified diff | Download patch
OLDNEW
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
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
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 613 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 }
OLDNEW
« no previous file with comments | « content/browser/renderer_host/input/interaction_mq_dynamic_browsertest.cc ('k') | ui/base/touch/touch_device.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698