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

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

Issue 2561263003: [ios] Excluded harfbuzz-ng and events code (Closed)
Patch Set: Synced with origin/master Created 4 years 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
« no previous file with comments | « no previous file | ui/events/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 351 matching lines...) Expand 10 before | Expand all | Expand 10 after
362 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 362 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
363 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] 363 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
364 364
365 defines = [ "UI_BASE_IMPLEMENTATION" ] 365 defines = [ "UI_BASE_IMPLEMENTATION" ]
366 366
367 public_deps = [ 367 public_deps = [
368 ":ui_data_pack", 368 ":ui_data_pack",
369 ":ui_features", 369 ":ui_features",
370 "//base", 370 "//base",
371 "//skia", 371 "//skia",
372 "//ui/events:events_base",
373 "//ui/events/platform",
374 "//ui/gfx", 372 "//ui/gfx",
375 "//ui/gfx/geometry", 373 "//ui/gfx/geometry",
376 ] 374 ]
377 deps = [ 375 deps = [
378 "//base:base_static", 376 "//base:base_static",
379 "//base:i18n", 377 "//base:i18n",
380 "//base/third_party/dynamic_annotations", 378 "//base/third_party/dynamic_annotations",
381 "//net", 379 "//net",
382 "//third_party/icu", 380 "//third_party/icu",
383 "//third_party/zlib:zlib", 381 "//third_party/zlib:zlib",
384 "//ui/display", 382 "//ui/display",
385 "//ui/events", 383 "//ui/events",
386 "//ui/events/devices", 384 "//ui/events/devices",
387 "//ui/resources", 385 "//ui/resources",
388 "//ui/strings", 386 "//ui/strings",
389 "//url", 387 "//url",
390 ] 388 ]
391 389
390 if (!is_ios) {
391 # iOS does not use Chromium-specific code for event handling.
392 public_deps += [
393 "//ui/events:events_base",
394 "//ui/events/platform",
395 ]
396 }
397
392 if (is_ios) { 398 if (is_ios) {
393 set_sources_assignment_filter([]) 399 set_sources_assignment_filter([])
394 sources += [ 400 sources += [
395 "l10n/l10n_util_mac.h", 401 "l10n/l10n_util_mac.h",
396 "l10n/l10n_util_mac.mm", 402 "l10n/l10n_util_mac.mm",
397 ] 403 ]
404 public_deps += [ "//ui/events:event_constants" ]
405
398 set_sources_assignment_filter(sources_assignment_filter) 406 set_sources_assignment_filter(sources_assignment_filter)
399 } 407 }
400 408
401 if (toolkit_views) { 409 if (toolkit_views) {
402 deps += [ "//ui/events" ] 410 deps += [ "//ui/events" ]
403 } 411 }
404 412
405 if (use_x11) { 413 if (use_x11) {
406 public_deps += [ "//ui/base/x" ] 414 public_deps += [ "//ui/base/x" ]
407 configs += [ "//build/config/linux:x11" ] 415 configs += [ "//build/config/linux:x11" ]
(...skipping 551 matching lines...) Expand 10 before | Expand all | Expand 10 after
959 if (is_mac) { 967 if (is_mac) {
960 mac_framework_bundle("ui_unittests_framework") { 968 mac_framework_bundle("ui_unittests_framework") {
961 testonly = true 969 testonly = true
962 deps = [ 970 deps = [
963 "//ui/resources:ui_test_pak_bundle_data", 971 "//ui/resources:ui_test_pak_bundle_data",
964 ] 972 ]
965 info_plist = "test/framework-Info.plist" 973 info_plist = "test/framework-Info.plist"
966 output_name = "ui_unittests Framework" 974 output_name = "ui_unittests Framework"
967 } 975 }
968 } 976 }
OLDNEW
« no previous file with comments | « no previous file | ui/events/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698