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

Side by Side Diff: chrome/test/BUILD.gn

Issue 1003853005: Remove Chrome OS-only sources only if the OS is Chrome OS. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
« chrome/chrome_tests_unit.gypi ('K') | « chrome/chrome_tests_unit.gypi ('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/crypto.gni") 5 import("//build/config/crypto.gni")
6 import("//build/config/features.gni") 6 import("//build/config/features.gni")
7 import("//build/config/ui.gni") 7 import("//build/config/ui.gni")
8 import("//build/module_args/v8.gni") 8 import("//build/module_args/v8.gni")
9 import("//testing/test.gni") 9 import("//testing/test.gni")
10 10
(...skipping 768 matching lines...) Expand 10 before | Expand all | Expand 10 after
779 779
780 # chromeos does not use the desktop user manager 780 # chromeos does not use the desktop user manager
781 "../browser/ui/webui/signin/user_manager_ui_browsertest.cc", 781 "../browser/ui/webui/signin/user_manager_ui_browsertest.cc",
782 ] 782 ]
783 deps += [ 783 deps += [
784 "//dbus", 784 "//dbus",
785 "//dbus:test_support", 785 "//dbus:test_support",
786 786
787 #"//ui/login:resources", TODO(GYP) 787 #"//ui/login:resources", TODO(GYP)
788 ] 788 ]
789 if (use_ozone) {
790 sources -= [
791 # crbug.com/362698
792 "../browser/chromeos/input_method/input_method_engine_browsertests.cc" ,
793 "../browser/extensions/api/input_ime/input_ime_apitest_chromeos.cc",
794 ]
795 }
789 } else { 796 } else {
790 sources -= [ 797 sources -= [
791 "../browser/extensions/api/enterprise_platform_keys/enterprise_platform_ keys_apitest_nss.cc", 798 "../browser/extensions/api/enterprise_platform_keys/enterprise_platform_ keys_apitest_nss.cc",
792 "../browser/extensions/api/platform_keys/platform_keys_apitest_nss.cc", 799 "../browser/extensions/api/platform_keys/platform_keys_apitest_nss.cc",
793 "../browser/extensions/api/terminal/terminal_private_apitest.cc", 800 "../browser/extensions/api/terminal/terminal_private_apitest.cc",
794 "../browser/invalidation/profile_invalidation_provider_factory_browserte st.cc", 801 "../browser/invalidation/profile_invalidation_provider_factory_browserte st.cc",
795 "../browser/net/nss_context_chromeos_browsertest.cc", 802 "../browser/net/nss_context_chromeos_browsertest.cc",
796 "../browser/ui/ash/keyboard_controller_browsertest.cc", 803 "../browser/ui/ash/keyboard_controller_browsertest.cc",
797 "data/webui/certificate_viewer_ui_test-inl.h", 804 "data/webui/certificate_viewer_ui_test-inl.h",
798 ] 805 ]
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
990 # These tests depend on single process mode, which is disabled in 997 # These tests depend on single process mode, which is disabled in
991 # official builds. 998 # official builds.
992 "../renderer/safe_browsing/phishing_classifier_browsertest.cc", 999 "../renderer/safe_browsing/phishing_classifier_browsertest.cc",
993 "../renderer/safe_browsing/phishing_classifier_delegate_browsertest.cc", 1000 "../renderer/safe_browsing/phishing_classifier_delegate_browsertest.cc",
994 "../renderer/safe_browsing/phishing_dom_feature_extractor_browsertest.cc ", 1001 "../renderer/safe_browsing/phishing_dom_feature_extractor_browsertest.cc ",
995 ] 1002 ]
996 } 1003 }
997 if (!enable_autofill_dialog || is_android || is_ios) { 1004 if (!enable_autofill_dialog || is_android || is_ios) {
998 deps -= [ "//third_party/libaddressinput" ] 1005 deps -= [ "//third_party/libaddressinput" ]
999 } 1006 }
1000 if (use_ozone) {
1001 sources -= [
1002 # crbug.com/362698
1003 "../browser/chromeos/input_method/input_method_engine_browsertests.cc",
1004 "../browser/extensions/api/input_ime/input_ime_apitest_chromeos.cc",
1005 ]
1006 }
1007 if (enable_remoting) { 1007 if (enable_remoting) {
1008 sources += rebase_path( 1008 sources += rebase_path(
1009 chrome_tests_gypi_values.chrome_browser_tests_remoting_sources, 1009 chrome_tests_gypi_values.chrome_browser_tests_remoting_sources,
1010 ".", 1010 ".",
1011 "//chrome") 1011 "//chrome")
1012 #deps += [ "//remoting:remoting_webapp" ] TODO(GYP) 1012 #deps += [ "//remoting:remoting_webapp" ] TODO(GYP)
1013 } 1013 }
1014 if (use_x11) { 1014 if (use_x11) {
1015 deps += [ "//tools/xdisplaycheck" ] 1015 deps += [ "//tools/xdisplaycheck" ]
1016 } 1016 }
(...skipping 479 matching lines...) Expand 10 before | Expand all | Expand 10 after
1496 "//ash/resources", 1496 "//ash/resources",
1497 "//ui/chromeos/resources", 1497 "//ui/chromeos/resources",
1498 ] 1498 ]
1499 sources -= [ 1499 sources -= [
1500 "../browser/signin/signin_global_error_unittest.cc", 1500 "../browser/signin/signin_global_error_unittest.cc",
1501 "../browser/signin/signin_manager_unittest.cc", 1501 "../browser/signin/signin_manager_unittest.cc",
1502 "../browser/signin/signin_names_io_thread_unittest.cc", 1502 "../browser/signin/signin_names_io_thread_unittest.cc",
1503 "../browser/ui/views/app_list/linux/app_list_linux_unittest.cc", 1503 "../browser/ui/views/app_list/linux/app_list_linux_unittest.cc",
1504 "../browser/ui/views/frame/opaque_browser_frame_view_layout_unittest.cc" , 1504 "../browser/ui/views/frame/opaque_browser_frame_view_layout_unittest.cc" ,
1505 ] 1505 ]
1506 if (use_ozone) {
1507 # crbug.com/354036
1508 sources -= [ "../browser/chromeos/events/event_rewriter_unittest.cc" ]
1509 }
1506 } 1510 }
1507 if (use_x11) { 1511 if (use_x11) {
1508 deps += [ "//ui/events/devices" ] 1512 deps += [ "//ui/events/devices" ]
1509 data_deps += [ "//tools/xdisplaycheck" ] 1513 data_deps += [ "//tools/xdisplaycheck" ]
1510 } else { 1514 } else {
1511 sources -= [ "../browser/password_manager/password_store_x_unittest.cc" ] 1515 sources -= [ "../browser/password_manager/password_store_x_unittest.cc" ]
1512 } 1516 }
1513 if (cld_version == 0 || cld_version == 2) { 1517 if (cld_version == 0 || cld_version == 2) {
1514 # Unit tests should be independent of the CLD2 access mechanism, just use 1518 # Unit tests should be independent of the CLD2 access mechanism, just use
1515 # static for simplicity. 1519 # static for simplicity.
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
1661 defines += [ "CLD_WINDOWS" ] 1665 defines += [ "CLD_WINDOWS" ]
1662 deps += [ "//third_party/cld" ] 1666 deps += [ "//third_party/cld" ]
1663 } 1667 }
1664 if (enable_app_list) { 1668 if (enable_app_list) {
1665 sources += 1669 sources +=
1666 rebase_path(unit_gypi_values.chrome_unit_tests_app_list_sources, 1670 rebase_path(unit_gypi_values.chrome_unit_tests_app_list_sources,
1667 ".", 1671 ".",
1668 "//chrome") 1672 "//chrome")
1669 deps += [ "//ui/app_list:test_support" ] 1673 deps += [ "//ui/app_list:test_support" ]
1670 } 1674 }
1671 if (use_ozone) {
1672 # crbug.com/354036
1673 sources -= [ "../browser/chromeos/events/event_rewriter_unittest.cc" ]
1674 }
1675 if (!enable_plugin_installation) { 1675 if (!enable_plugin_installation) {
1676 sources -= [ "../browser/plugins/plugin_installer_unittest.cc" ] 1676 sources -= [ "../browser/plugins/plugin_installer_unittest.cc" ]
1677 } 1677 }
1678 } 1678 }
1679 1679
1680 if (is_linux && !is_chromeos) { 1680 if (is_linux && !is_chromeos) {
1681 # TODO(GYP): Figure out which of these work and are needed on other 1681 # TODO(GYP): Figure out which of these work and are needed on other
1682 # platforms. 1682 # platforms.
1683 test("chrome_app_unittests") { 1683 test("chrome_app_unittests") {
1684 sources = [ 1684 sources = [
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
1737 # ] 1737 # ]
1738 # } 1738 # }
1739 # if (!is_mac) { 1739 # if (!is_mac) {
1740 # sources -= [ 1740 # sources -= [
1741 # "perf/mach_ports_performancetest.cc", 1741 # "perf/mach_ports_performancetest.cc",
1742 # ] 1742 # ]
1743 # } 1743 # }
1744 # } 1744 # }
1745 } 1745 }
1746 } 1746 }
OLDNEW
« chrome/chrome_tests_unit.gypi ('K') | « chrome/chrome_tests_unit.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698