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

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

Issue 908033003: Remove dependency from ui/base to cc on non-Android platforms (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_android.cc ('k') | ui/base/DEPS » ('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/config/ui.gni") 5 import("//build/config/ui.gni")
6 import("//testing/test.gni") 6 import("//testing/test.gni")
7 7
8 if (is_android) { 8 if (is_android) {
9 import("//build/config/android/config.gni") 9 import("//build/config/android/config.gni")
10 import("//build/config/android/rules.gni") 10 import("//build/config/android/rules.gni")
(...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after
299 "//skia", 299 "//skia",
300 "//ui/events/platform", 300 "//ui/events/platform",
301 "//ui/events:events_base", 301 "//ui/events:events_base",
302 "//ui/gfx", 302 "//ui/gfx",
303 "//ui/gfx/geometry", 303 "//ui/gfx/geometry",
304 ] 304 ]
305 deps = [ 305 deps = [
306 "//base/third_party/dynamic_annotations", 306 "//base/third_party/dynamic_annotations",
307 "//base:base_static", 307 "//base:base_static",
308 "//base:i18n", 308 "//base:i18n",
309 "//cc",
310 "//net", 309 "//net",
311 "//third_party/icu", 310 "//third_party/icu",
312 "//ui/events", 311 "//ui/events",
313 "//ui/events/devices", 312 "//ui/events/devices",
314 "//ui/resources", 313 "//ui/resources",
315 "//ui/strings", 314 "//ui/strings",
316 "//url", 315 "//url",
317 ] 316 ]
318 317
319 if (is_ios) { 318 if (is_ios) {
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
521 "dragdrop/drag_utils.cc", 520 "dragdrop/drag_utils.cc",
522 "dragdrop/drag_utils.h", 521 "dragdrop/drag_utils.h",
523 "l10n/l10n_font_util.cc", 522 "l10n/l10n_font_util.cc",
524 "models/button_menu_item_model.cc", 523 "models/button_menu_item_model.cc",
525 "models/dialog_model.cc", 524 "models/dialog_model.cc",
526 "theme_provider.cc", 525 "theme_provider.cc",
527 "touch/touch_editing_controller.cc", 526 "touch/touch_editing_controller.cc",
528 "ui_base_types.cc", 527 "ui_base_types.cc",
529 ] 528 ]
530 529
531 deps += [ ":ui_base_jni_headers" ] 530 deps += [
531 "//cc",
Nico 2015/02/10 02:48:32 It's a bit wild that this dep is required on andro
532 ":ui_base_jni_headers",
533 ]
532 534
533 libs += [ "jnigraphics" ] 535 libs += [ "jnigraphics" ]
534 } 536 }
535 537
536 if (is_android && is_android_webview_build) { 538 if (is_android && is_android_webview_build) {
537 deps += [ "//ui/android:ui_java" ] 539 deps += [ "//ui/android:ui_java" ]
538 } 540 }
539 541
540 if (is_android && !use_aura) { 542 if (is_android && !use_aura) {
541 sources -= [ "cursor/cursor_android.cc" ] 543 sources -= [ "cursor/cursor_android.cc" ]
(...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after
797 } 799 }
798 800
799 if (is_chromeos) { 801 if (is_chromeos) {
800 deps += [ 802 deps += [
801 "//chromeos", 803 "//chromeos",
802 "//ui/events:dom4_keycode_converter", 804 "//ui/events:dom4_keycode_converter",
803 ] 805 ]
804 } 806 }
805 } 807 }
806 # TODO(GYP) Mac (ui_base_tests_bundle) 808 # TODO(GYP) Mac (ui_base_tests_bundle)
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_android.cc ('k') | ui/base/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698