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

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

Issue 1728193002: Support dragging texts into Android WebView. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: gyp and gn Created 4 years, 9 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/config/compiler/compiler.gni") 5 import("//build/config/compiler/compiler.gni")
6 import("//build/config/sanitizers/sanitizers.gni") 6 import("//build/config/sanitizers/sanitizers.gni")
7 import("//build/config/ui.gni") 7 import("//build/config/ui.gni")
8 import("//testing/test.gni") 8 import("//testing/test.gni")
9 9
10 if (is_android) { 10 if (is_android) {
(...skipping 531 matching lines...) Expand 10 before | Expand all | Expand 10 after
542 "cursor/ozone/bitmap_cursor_factory_ozone.h", 542 "cursor/ozone/bitmap_cursor_factory_ozone.h",
543 ] 543 ]
544 544
545 deps += [ 545 deps += [
546 "//ui/events/ozone:events_ozone_layout", 546 "//ui/events/ozone:events_ozone_layout",
547 "//ui/ozone:ozone_base", 547 "//ui/ozone:ozone_base",
548 ] 548 ]
549 } 549 }
550 550
551 if (!toolkit_views && !use_aura) { 551 if (!toolkit_views && !use_aura) {
552 if (!is_android) {
553 sources -= [
554 "dragdrop/drag_drop_types.h",
555 "dragdrop/drop_target_event.cc",
556 "dragdrop/drop_target_event.h",
557 "dragdrop/os_exchange_data.cc",
558 "dragdrop/os_exchange_data.h",
559 ]
560 }
561
552 sources -= [ 562 sources -= [
553 "dragdrop/drag_drop_types.h",
554 "dragdrop/drop_target_event.cc",
555 "dragdrop/drop_target_event.h",
556 "dragdrop/os_exchange_data.cc",
557 "dragdrop/os_exchange_data.h",
558 "nine_image_painter_factory.cc", 563 "nine_image_painter_factory.cc",
559 "nine_image_painter_factory.h", 564 "nine_image_painter_factory.h",
560 ] 565 ]
561 } 566 }
562 567
563 if (is_android) { 568 if (is_android) {
564 deps += [ 569 deps += [
565 ":ui_base_jni_headers", 570 ":ui_base_jni_headers",
566 "//ui/android:ui_java", 571 "//ui/android:ui_java",
567 ] 572 ]
568 573
569 libs += [ "jnigraphics" ] 574 libs += [ "jnigraphics" ]
570 } 575 }
571 576
572 if (is_android && !use_aura) { 577 if (is_android && !use_aura) {
578 sources += [
579 "dragdrop/os_exchange_data_provider_android.cc",
580 "dragdrop/os_exchange_data_provider_android.h",
581 ]
582
573 sources -= [ 583 sources -= [
574 "cursor/cursor_android.cc", 584 "cursor/cursor_android.cc",
575 "cursor/image_cursors.cc", 585 "cursor/image_cursors.cc",
576 "cursor/image_cursors.h", 586 "cursor/image_cursors.h",
577 "default_theme_provider.cc", 587 "default_theme_provider.cc",
578 "dragdrop/drag_utils.cc", 588 "dragdrop/drag_utils.cc",
579 "dragdrop/drag_utils.h", 589 "dragdrop/drag_utils.h",
580 "idle/idle.cc", 590 "idle/idle.cc",
581 "idle/idle.h", 591 "idle/idle.h",
582 "idle/idle_android.cc", 592 "idle/idle_android.cc",
(...skipping 329 matching lines...) Expand 10 before | Expand all | Expand 10 after
912 } 922 }
913 if (is_mac) { 923 if (is_mac) {
914 data += [ "$root_out_dir/ui_unittests Framework.framework/" ] 924 data += [ "$root_out_dir/ui_unittests Framework.framework/" ]
915 925
916 if (is_asan && symbol_level == 0) { 926 if (is_asan && symbol_level == 0) {
917 data += [ "$root_out_dir/ui_base_unittests.dSYM/" ] 927 data += [ "$root_out_dir/ui_base_unittests.dSYM/" ]
918 } 928 }
919 } 929 }
920 } 930 }
921 # TODO(GYP) Mac (ui_base_tests_bundle) 931 # TODO(GYP) Mac (ui_base_tests_bundle)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698