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

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

Issue 1415223005: Reorder chrome/test/BUILD.gn to match order in chrome_tests_unit.gypi (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
« no previous file with comments | « 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/chrome_build.gni") 5 import("//build/config/chrome_build.gni")
6 import("//build/config/compiler/compiler.gni") 6 import("//build/config/compiler/compiler.gni")
7 import("//build/config/crypto.gni") 7 import("//build/config/crypto.gni")
8 import("//build/config/features.gni") 8 import("//build/config/features.gni")
9 import("//build/config/ui.gni") 9 import("//build/config/ui.gni")
10 import("//chrome/chrome_tests.gni") 10 import("//chrome/chrome_tests.gni")
(...skipping 1604 matching lines...) Expand 10 before | Expand all | Expand 10 after
1615 deps += [ "//testing/android/native_test:native_test_native_code" ] 1615 deps += [ "//testing/android/native_test:native_test_native_code" ]
1616 isolate_file = "../unit_tests.isolate" 1616 isolate_file = "../unit_tests.isolate"
1617 } else { 1617 } else {
1618 sources += rebase_path( 1618 sources += rebase_path(
1619 chrome_tests_unit_gypi_values.chrome_unit_tests_non_android_source s, 1619 chrome_tests_unit_gypi_values.chrome_unit_tests_non_android_source s,
1620 ".", 1620 ".",
1621 "//chrome") 1621 "//chrome")
1622 sources -= [ "../browser/download/download_request_infobar_delegate_unitte st.cc" ] 1622 sources -= [ "../browser/download/download_request_infobar_delegate_unitte st.cc" ]
1623 } 1623 }
1624 1624
1625 if (!is_android && !is_ios) {
1626 sources += rebase_path(
1627 chrome_tests_unit_gypi_values.chrome_unit_tests_non_mobile_sources ,
1628 ".",
1629 "//chrome")
1630 }
1631
1625 if (is_ios || is_chromeos) { 1632 if (is_ios || is_chromeos) {
1626 sources -= [ "../browser/signin/chrome_signin_status_metrics_provider_dele gate_unittest.cc" ] 1633 sources -= [ "../browser/signin/chrome_signin_status_metrics_provider_dele gate_unittest.cc" ]
1627 } 1634 }
1628 if (enable_background) { 1635 if (enable_background) {
1629 sources += rebase_path( 1636 sources += rebase_path(
1630 chrome_tests_unit_gypi_values.chrome_unit_tests_background_sources , 1637 chrome_tests_unit_gypi_values.chrome_unit_tests_background_sources ,
1631 ".", 1638 ".",
1632 "//chrome") 1639 "//chrome")
1633 } 1640 }
1634 if (enable_spellcheck) { 1641 if (enable_spellcheck) {
(...skipping 30 matching lines...) Expand all
1665 ".", 1672 ".",
1666 "//chrome") 1673 "//chrome")
1667 } 1674 }
1668 if (!is_chromeos) { 1675 if (!is_chromeos) {
1669 sources += rebase_path( 1676 sources += rebase_path(
1670 chrome_tests_unit_gypi_values.chrome_unit_tests_extensions_non_c hromeos_sources, 1677 chrome_tests_unit_gypi_values.chrome_unit_tests_extensions_non_c hromeos_sources,
1671 ".", 1678 ".",
1672 "//chrome") 1679 "//chrome")
1673 } 1680 }
1674 } 1681 }
1675 if (toolkit_views) {
1676 deps += [
1677 "//components/web_modal:test_support",
1678 "//ui/views",
1679 "//ui/views:test_support",
1680 ]
1681 sources += rebase_path(
1682 chrome_tests_unit_gypi_values.chrome_unit_tests_views_sources,
1683 ".",
1684 "//chrome")
1685 if (!is_chromeos && (!is_mac || mac_views_browser)) {
1686 sources += rebase_path(
1687 chrome_tests_unit_gypi_values.chrome_unit_tests_views_non_chrome os_sources,
1688 ".",
1689 "//chrome")
1690 }
1691 if (!is_mac) {
1692 sources += rebase_path(
1693 chrome_tests_unit_gypi_values.chrome_unit_tests_views_non_mac_so urces,
1694 ".",
1695 "//chrome")
1696 }
1697 }
1698 if (use_ash) { 1682 if (use_ash) {
1699 sources += rebase_path( 1683 sources += rebase_path(
1700 chrome_tests_unit_gypi_values.chrome_unit_tests_ash_sources, 1684 chrome_tests_unit_gypi_values.chrome_unit_tests_ash_sources,
1701 ".", 1685 ".",
1702 "//chrome") 1686 "//chrome")
1703 deps += [ 1687 deps += [
1704 "//ash:test_support", 1688 "//ash:test_support",
1705 "//ash/resources", 1689 "//ash/resources",
1706 "//ash/strings", 1690 "//ash/strings",
1707 ] 1691 ]
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
1816 chrome_tests_unit_gypi_values.chrome_unit_tests_plugins_sources, 1800 chrome_tests_unit_gypi_values.chrome_unit_tests_plugins_sources,
1817 ".", 1801 ".",
1818 "//chrome") 1802 "//chrome")
1819 } 1803 }
1820 if (enable_print_preview) { 1804 if (enable_print_preview) {
1821 sources += rebase_path( 1805 sources += rebase_path(
1822 chrome_tests_unit_gypi_values.chrome_unit_tests_print_preview_sour ces, 1806 chrome_tests_unit_gypi_values.chrome_unit_tests_print_preview_sour ces,
1823 ".", 1807 ".",
1824 "//chrome") 1808 "//chrome")
1825 } 1809 }
1826 if (enable_captive_portal_detection) {
1827 sources += rebase_path(
1828 chrome_tests_unit_gypi_values.chrome_unit_tests_captive_portal_sou rces,
1829 ".",
1830 "//chrome")
1831 }
1832 if (enable_session_service) {
1833 sources += rebase_path(
1834 chrome_tests_unit_gypi_values.chrome_unit_tests_session_service_so urces,
1835 ".",
1836 "//chrome")
1837 }
1838 if (enable_media_router) { 1810 if (enable_media_router) {
1839 sources += rebase_path( 1811 sources += rebase_path(
1840 chrome_tests_unit_gypi_values.chrome_unit_tests_media_router_sourc es, 1812 chrome_tests_unit_gypi_values.chrome_unit_tests_media_router_sourc es,
1841 ".", 1813 ".",
1842 "//chrome") 1814 "//chrome")
1843 deps += [ "//chrome/browser/media/router:test_support" ] 1815 deps += [ "//chrome/browser/media/router:test_support" ]
1844 if (!is_android) { 1816 if (!is_android) {
1845 sources += rebase_path( 1817 sources += rebase_path(
1846 chrome_tests_unit_gypi_values.chrome_unit_tests_media_router_non _android_sources, 1818 chrome_tests_unit_gypi_values.chrome_unit_tests_media_router_non _android_sources,
1847 ".", 1819 ".",
1848 "//chrome") 1820 "//chrome")
1849 } 1821 }
1850 } 1822 }
1823 if (enable_captive_portal_detection) {
1824 sources += rebase_path(
1825 chrome_tests_unit_gypi_values.chrome_unit_tests_captive_portal_sou rces,
1826 ".",
1827 "//chrome")
1828 }
1829 if (enable_session_service) {
1830 sources += rebase_path(
1831 chrome_tests_unit_gypi_values.chrome_unit_tests_session_service_so urces,
1832 ".",
1833 "//chrome")
1834 }
1851 if (enable_webrtc) { 1835 if (enable_webrtc) {
1852 sources += rebase_path( 1836 sources += rebase_path(
1853 chrome_tests_unit_gypi_values.chrome_unit_tests_webrtc_sources, 1837 chrome_tests_unit_gypi_values.chrome_unit_tests_webrtc_sources,
1854 ".", 1838 ".",
1855 "//chrome") 1839 "//chrome")
1856 } 1840 }
1857 if (is_chromeos) { 1841 if (is_chromeos) {
1858 deps += [ "//chrome/browser/chromeos:unit_tests" ] 1842 deps += [ "//chrome/browser/chromeos:unit_tests" ]
1859 sources -= [ "../browser/signin/signin_manager_unittest.cc" ] 1843 sources -= [ "../browser/signin/signin_manager_unittest.cc" ]
1860 } 1844 }
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
1927 chrome_tests_unit_gypi_values.chrome_unit_tests_mac_android_source s, 1911 chrome_tests_unit_gypi_values.chrome_unit_tests_mac_android_source s,
1928 ".", 1912 ".",
1929 "//chrome") 1913 "//chrome")
1930 } 1914 }
1931 if (is_android) { 1915 if (is_android) {
1932 sources += rebase_path( 1916 sources += rebase_path(
1933 chrome_tests_unit_gypi_values.chrome_unit_tests_android_sources, 1917 chrome_tests_unit_gypi_values.chrome_unit_tests_android_sources,
1934 ".", 1918 ".",
1935 "//chrome") 1919 "//chrome")
1936 } 1920 }
1937 if (!is_android && !is_ios) {
1938 sources += rebase_path(
1939 chrome_tests_unit_gypi_values.chrome_unit_tests_non_mobile_sources ,
1940 ".",
1941 "//chrome")
1942 }
1943 if (!is_mac && !is_ios) { 1921 if (!is_mac && !is_ios) {
1944 deps += [ 1922 deps += [
1945 "//chrome/tools/convert_dict:lib", 1923 "//chrome/tools/convert_dict:lib",
1946 "//chrome:packed_extra_resources", 1924 "//chrome:packed_extra_resources",
1947 "//chrome:packed_resources", 1925 "//chrome:packed_resources",
1948 "//third_party/hunspell", 1926 "//third_party/hunspell",
1949 ] 1927 ]
1950 } 1928 }
1951 if (is_win || is_mac) { 1929 if (is_win || is_mac) {
1952 sources += rebase_path( 1930 sources += rebase_path(
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
2013 chrome_tests_unit_gypi_values.chrome_unit_tests_non_android_or_chr omeos_sources, 1991 chrome_tests_unit_gypi_values.chrome_unit_tests_non_android_or_chr omeos_sources,
2014 ".", 1992 ".",
2015 "//chrome") 1993 "//chrome")
2016 } 1994 }
2017 if (enable_themes) { 1995 if (enable_themes) {
2018 sources += rebase_path( 1996 sources += rebase_path(
2019 chrome_tests_unit_gypi_values.chrome_unit_tests_themes_sources, 1997 chrome_tests_unit_gypi_values.chrome_unit_tests_themes_sources,
2020 ".", 1998 ".",
2021 "//chrome") 1999 "//chrome")
2022 } 2000 }
2001 if (toolkit_views) {
2002 deps += [
2003 "//components/web_modal:test_support",
2004 "//ui/views",
2005 "//ui/views:test_support",
2006 ]
2007 sources += rebase_path(
2008 chrome_tests_unit_gypi_values.chrome_unit_tests_views_sources,
2009 ".",
2010 "//chrome")
2011 if (!is_chromeos && (!is_mac || mac_views_browser)) {
2012 sources += rebase_path(
2013 chrome_tests_unit_gypi_values.chrome_unit_tests_views_non_chrome os_sources,
2014 ".",
2015 "//chrome")
2016 }
2017 if (!is_mac) {
2018 sources += rebase_path(
2019 chrome_tests_unit_gypi_values.chrome_unit_tests_views_non_mac_so urces,
2020 ".",
2021 "//chrome")
2022 }
2023 }
2023 if (!is_android && (use_nss_certs || use_openssl_certs)) { 2024 if (!is_android && (use_nss_certs || use_openssl_certs)) {
2024 sources += [ "../common/net/x509_certificate_model_unittest.cc" ] 2025 sources += [ "../common/net/x509_certificate_model_unittest.cc" ]
2025 } 2026 }
2026 if (enable_supervised_users) { 2027 if (enable_supervised_users) {
2027 sources += rebase_path( 2028 sources += rebase_path(
2028 chrome_tests_unit_gypi_values.chrome_unit_tests_supervised_user_so urces, 2029 chrome_tests_unit_gypi_values.chrome_unit_tests_supervised_user_so urces,
2029 ".", 2030 ".",
2030 "//chrome") 2031 "//chrome")
2031 } 2032 }
2032 if (enable_supervised_users && !is_android && !is_ios) { 2033 if (enable_supervised_users && !is_android && !is_ios) {
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
2167 "//third_party/mojo/src/mojo/edk/system", 2168 "//third_party/mojo/src/mojo/edk/system",
2168 ] 2169 ]
2169 2170
2170 if (!is_android && use_ash) { 2171 if (!is_android && use_ash) {
2171 sources += rebase_path( 2172 sources += rebase_path(
2172 chrome_tests_unit_gypi_values.chrome_test_support_unit_ash_sources, 2173 chrome_tests_unit_gypi_values.chrome_test_support_unit_ash_sources,
2173 ".", 2174 ".",
2174 "//chrome") 2175 "//chrome")
2175 } 2176 }
2176 } 2177 }
OLDNEW
« no previous file with comments | « chrome/chrome_tests_unit.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698