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

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

Issue 702003002: Make *some* version of the Mac GN build work. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge to r303398 (after win gn CL landed) Created 6 years, 1 month 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
« mojo/services/html_viewer/BUILD.gn ('K') | « sandbox/BUILD.gn ('k') | no next file » | 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 6
7 if (is_android) { 7 if (is_android) {
8 import("//build/config/android/config.gni") 8 import("//build/config/android/config.gni")
9 import("//build/config/android/rules.gni") 9 import("//build/config/android/rules.gni")
10 } 10 }
(...skipping 665 matching lines...) Expand 10 before | Expand all | Expand 10 after
676 ] 676 ]
677 677
678 if (build_ime) { 678 if (build_ime) {
679 sources += [ 679 sources += [
680 "ime/dummy_input_method.cc", 680 "ime/dummy_input_method.cc",
681 "ime/dummy_input_method.h", 681 "ime/dummy_input_method.h",
682 "ime/dummy_text_input_client.cc", 682 "ime/dummy_text_input_client.cc",
683 "ime/dummy_text_input_client.h", 683 "ime/dummy_text_input_client.h",
684 ] 684 ]
685 } 685 }
686
687 if (!use_aura) {
688 sources -= [
689 "test/ui_controls_aura.cc",
690 ]
691 }
686 } 692 }
687 693
688 if (is_android) { 694 if (is_android) {
689 generate_jni("ui_base_jni_headers") { 695 generate_jni("ui_base_jni_headers") {
690 sources = [ 696 sources = [
691 "../android/java/src/org/chromium/ui/base/Clipboard.java", 697 "../android/java/src/org/chromium/ui/base/Clipboard.java",
692 "../android/java/src/org/chromium/ui/base/DeviceFormFactor.java", 698 "../android/java/src/org/chromium/ui/base/DeviceFormFactor.java",
693 "../android/java/src/org/chromium/ui/base/LocalizationUtils.java", 699 "../android/java/src/org/chromium/ui/base/LocalizationUtils.java",
694 "../android/java/src/org/chromium/ui/base/ResourceBundle.java", 700 "../android/java/src/org/chromium/ui/base/ResourceBundle.java",
695 "../android/java/src/org/chromium/ui/base/SelectFileDialog.java", 701 "../android/java/src/org/chromium/ui/base/SelectFileDialog.java",
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
858 ] 864 ]
859 } 865 }
860 866
861 if (!is_win || !use_aura) { 867 if (!is_win || !use_aura) {
862 sources -= [ 868 sources -= [
863 "view_prop_unittest.cc" 869 "view_prop_unittest.cc"
864 ] 870 ]
865 } 871 }
866 872
867 if (is_mac) { 873 if (is_mac) {
874 sources -= [
875 "dragdrop/os_exchange_data_provider_aurax11_unittest.cc",
876 "x/selection_requestor_unittest.cc",
877 ]
878
868 deps += [ 879 deps += [
869 "//third_party/mozilla", 880 "//third_party/mozilla",
870 #'ui_unittests_bundle', TODO(GYP) 881 #'ui_unittests_bundle', TODO(GYP)
871 ] 882 ]
872 } 883 }
873 884
874 if (use_aura || toolkit_views) { 885 if (use_aura || toolkit_views) {
875 sources += [ 886 sources += [
876 "dragdrop/os_exchange_data_unittest.cc" 887 "dragdrop/os_exchange_data_unittest.cc"
877 ] 888 ]
(...skipping 19 matching lines...) Expand all
897 "//ui/chromeos/resources", 908 "//ui/chromeos/resources",
898 "//ui/chromeos/strings", 909 "//ui/chromeos/strings",
899 "//ui/chromeos:ui_chromeos", 910 "//ui/chromeos:ui_chromeos",
900 "//ui/events:gesture_detection", 911 "//ui/events:gesture_detection",
901 "//ui/message_center:message_center", 912 "//ui/message_center:message_center",
902 ] 913 ]
903 } 914 }
904 } 915 }
905 } 916 }
906 # TODO(GYP) Mac (ui_unittest_bundle) and Android (ui_unittests_apk). 917 # TODO(GYP) Mac (ui_unittest_bundle) and Android (ui_unittests_apk).
OLDNEW
« mojo/services/html_viewer/BUILD.gn ('K') | « sandbox/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698