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

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

Issue 2161063003: 🎫 Fail write_build_config.py if current_toolchain != default_toolchain (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix build deps Created 4 years, 5 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 544 matching lines...) Expand 10 before | Expand all | Expand 10 after
555 "dragdrop/drop_target_event.cc", 555 "dragdrop/drop_target_event.cc",
556 "dragdrop/drop_target_event.h", 556 "dragdrop/drop_target_event.h",
557 "dragdrop/os_exchange_data.cc", 557 "dragdrop/os_exchange_data.cc",
558 "dragdrop/os_exchange_data.h", 558 "dragdrop/os_exchange_data.h",
559 "nine_image_painter_factory.cc", 559 "nine_image_painter_factory.cc",
560 "nine_image_painter_factory.h", 560 "nine_image_painter_factory.h",
561 ] 561 ]
562 } 562 }
563 563
564 if (is_android) { 564 if (is_android) {
565 deps += [ 565 deps += [ ":ui_base_jni_headers" ]
566 ":ui_base_jni_headers",
567 "//ui/android:ui_java",
568 ]
569 566
570 libs += [ "jnigraphics" ] 567 libs += [ "jnigraphics" ]
571 } 568 }
572 569
573 if (is_android && !use_aura) { 570 if (is_android && !use_aura) {
574 sources -= [ 571 sources -= [
575 "cursor/cursor_android.cc", 572 "cursor/cursor_android.cc",
576 "cursor/image_cursors.cc", 573 "cursor/image_cursors.cc",
577 "cursor/image_cursors.h", 574 "cursor/image_cursors.h",
578 "default_theme_provider.cc", 575 "default_theme_provider.cc",
(...skipping 277 matching lines...) Expand 10 before | Expand all | Expand 10 after
856 "imm32.lib", 853 "imm32.lib",
857 "oleacc.lib", 854 "oleacc.lib",
858 ] 855 ]
859 } 856 }
860 857
861 if (is_win) { 858 if (is_win) {
862 sources += [ "view_prop_unittest.cc" ] 859 sources += [ "view_prop_unittest.cc" ]
863 } 860 }
864 861
865 if (is_android) { 862 if (is_android) {
866 deps += [ 863 deps += [ "//chrome:resources" ]
867 "//chrome:resources",
868 "//ui/android:ui_java",
869 ]
870 } 864 }
871 865
872 if (use_pango) { 866 if (use_pango) {
873 configs += [ "//build/config/linux/pangocairo" ] 867 configs += [ "//build/config/linux/pangocairo" ]
874 } 868 }
875 869
876 if (use_x11) { 870 if (use_x11) {
877 sources += [ "cursor/cursor_loader_x11_unittest.cc" ] 871 sources += [ "cursor/cursor_loader_x11_unittest.cc" ]
878 872
879 configs += [ "//build/config/linux:x11" ] 873 configs += [ "//build/config/linux:x11" ]
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
949 if (is_mac) { 943 if (is_mac) {
950 mac_framework_bundle("ui_unittests_framework") { 944 mac_framework_bundle("ui_unittests_framework") {
951 testonly = true 945 testonly = true
952 deps = [ 946 deps = [
953 "//ui/resources:ui_test_pak_bundle_data", 947 "//ui/resources:ui_test_pak_bundle_data",
954 ] 948 ]
955 info_plist = "test/framework-Info.plist" 949 info_plist = "test/framework-Info.plist"
956 output_name = "ui_unittests Framework" 950 output_name = "ui_unittests Framework"
957 } 951 }
958 } 952 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698