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

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

Issue 1247593008: Fix running gn gen for //ui/* targets on iOS. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@rlz
Patch Set: Revert back to only building view_prop_unittest.cc on Windows Created 5 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
« no previous file with comments | « no previous file | ui/compositor/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/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 678 matching lines...) Expand 10 before | Expand all | Expand 10 after
689 "cocoa/nsgraphics_context_additions_unittest.mm", 689 "cocoa/nsgraphics_context_additions_unittest.mm",
690 "cocoa/nsview_additions_unittest.mm", 690 "cocoa/nsview_additions_unittest.mm",
691 "cocoa/three_part_image_unittest.mm", 691 "cocoa/three_part_image_unittest.mm",
692 "cocoa/tracking_area_unittest.mm", 692 "cocoa/tracking_area_unittest.mm",
693 "models/list_model_unittest.cc", 693 "models/list_model_unittest.cc",
694 "models/list_selection_model_unittest.cc", 694 "models/list_selection_model_unittest.cc",
695 "models/tree_node_model_unittest.cc", 695 "models/tree_node_model_unittest.cc",
696 "test/data/resource.h", 696 "test/data/resource.h",
697 "text/bytes_formatting_unittest.cc", 697 "text/bytes_formatting_unittest.cc",
698 "touch/selection_bound_unittest.cc", 698 "touch/selection_bound_unittest.cc",
699 "view_prop_unittest.cc",
700 "webui/web_ui_util_unittest.cc", 699 "webui/web_ui_util_unittest.cc",
701 ] 700 ]
702 } 701 }
703 702
704 if (build_ime) { 703 if (build_ime) {
705 sources += [ 704 sources += [
706 "ime/candidate_window_unittest.cc", 705 "ime/candidate_window_unittest.cc",
707 "ime/chromeos/character_composer_unittest.cc", 706 "ime/chromeos/character_composer_unittest.cc",
708 "ime/chromeos/composition_text_chromeos_unittest.cc", 707 "ime/chromeos/composition_text_chromeos_unittest.cc",
709 "ime/input_method_base_unittest.cc", 708 "ime/input_method_base_unittest.cc",
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
767 "/DELAYLOAD:d3d10_1.dll", 766 "/DELAYLOAD:d3d10_1.dll",
768 ] 767 ]
769 libs = [ 768 libs = [
770 "d2d1.lib", 769 "d2d1.lib",
771 "d3d10_1.lib", 770 "d3d10_1.lib",
772 "imm32.lib", 771 "imm32.lib",
773 "oleacc.lib", 772 "oleacc.lib",
774 ] 773 ]
775 } 774 }
776 775
777 if (!is_win || !use_aura) { 776 if (is_win) {
778 sources -= [ "view_prop_unittest.cc" ] 777 sources += [ "view_prop_unittest.cc" ]
779 } 778 }
780 779
781 if (is_android) { 780 if (is_android) {
782 apk_deps = [ "//chrome:resources" ] 781 apk_deps = [ "//chrome:resources" ]
783 isolate_file = "ui_base_unittests.isolate" 782 isolate_file = "ui_base_unittests.isolate"
784 } 783 }
785 784
786 if (use_pango) { 785 if (use_pango) {
787 configs += [ "//build/config/linux:pangocairo" ] 786 configs += [ "//build/config/linux:pangocairo" ]
788 } 787 }
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
852 } 851 }
853 if (is_mac) { 852 if (is_mac) {
854 data += [ "$root_out_dir/ui_unittests Framework.framework/" ] 853 data += [ "$root_out_dir/ui_unittests Framework.framework/" ]
855 854
856 if (is_asan && symbol_level == 0) { 855 if (is_asan && symbol_level == 0) {
857 data += [ "$root_out_dir/ui_base_unittests.dSYM/" ] 856 data += [ "$root_out_dir/ui_base_unittests.dSYM/" ]
858 } 857 }
859 } 858 }
860 } 859 }
861 # TODO(GYP) Mac (ui_base_tests_bundle) 860 # TODO(GYP) Mac (ui_base_tests_bundle)
OLDNEW
« no previous file with comments | « no previous file | ui/compositor/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698