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

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

Issue 1889073002: Revert of Android: Avoid linking with --gc-sections. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 | « 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 1656 matching lines...) Expand 10 before | Expand all | Expand 10 after
1667 "//components/autofill/content/renderer:test_support", 1667 "//components/autofill/content/renderer:test_support",
1668 "//components/data_reduction_proxy/core/browser:test_support", 1668 "//components/data_reduction_proxy/core/browser:test_support",
1669 "//components/data_use_measurement/core", 1669 "//components/data_use_measurement/core",
1670 "//components/metrics/proto", 1670 "//components/metrics/proto",
1671 "//components/safe_browsing_db", 1671 "//components/safe_browsing_db",
1672 "//components/safe_json:test_support", 1672 "//components/safe_json:test_support",
1673 "//components/strings", 1673 "//components/strings",
1674 "//components/webdata_services:test_support", 1674 "//components/webdata_services:test_support",
1675 "//content/app/resources", 1675 "//content/app/resources",
1676 "//device/bluetooth:mocks", 1676 "//device/bluetooth:mocks",
1677 "//device/core:mocks",
1677 "//device/usb:mocks", 1678 "//device/usb:mocks",
1678 "//gpu:test_support", 1679 "//gpu:test_support",
1679 "//media:test_support", 1680 "//media:test_support",
1680 1681
1681 #'../ppapi/ppapi_internal.gyp:ppapi_unittest_shared', TODO(GYP) 1682 #'../ppapi/ppapi_internal.gyp:ppapi_unittest_shared', TODO(GYP)
1682 "//third_party/leveldatabase", 1683 "//third_party/leveldatabase",
1683 "//third_party/libaddressinput", 1684 "//third_party/libaddressinput",
1684 "//third_party/libjingle", 1685 "//third_party/libjingle",
1685 "//third_party/libphonenumber", 1686 "//third_party/libphonenumber",
1686 "//third_party/webrtc/modules/desktop_capture", 1687 "//third_party/webrtc/modules/desktop_capture",
(...skipping 14 matching lines...) Expand all
1701 "//components/offline_pages:test_support", 1702 "//components/offline_pages:test_support",
1702 "//v8:v8_external_startup_data_assets", 1703 "//v8:v8_external_startup_data_assets",
1703 google_play_services_resources, 1704 google_play_services_resources,
1704 ] 1705 ]
1705 deps -= [ "//third_party/libaddressinput" ] 1706 deps -= [ "//third_party/libaddressinput" ]
1706 1707
1707 android_manifest = 1708 android_manifest =
1708 "//chrome/test/android/unit_tests_apk/AndroidManifest.xml" 1709 "//chrome/test/android/unit_tests_apk/AndroidManifest.xml"
1709 enable_multidex = true 1710 enable_multidex = true
1710 isolate_file = "../unit_tests.isolate" 1711 isolate_file = "../unit_tests.isolate"
1712
1713 # Some android targets still depend on --gc-sections to link.
1714 # TODO: remove --gc-sections for Debug builds (crbug.com/159847).
1715 ldflags = [ "-Wl,--gc-sections" ]
1711 } else { 1716 } else {
1712 sources += rebase_path( 1717 sources += rebase_path(
1713 chrome_tests_unit_gypi_values.chrome_unit_tests_non_android_sources, 1718 chrome_tests_unit_gypi_values.chrome_unit_tests_non_android_sources,
1714 ".", 1719 ".",
1715 "//chrome") 1720 "//chrome")
1716 sources -= 1721 sources -=
1717 [ "../browser/download/download_request_infobar_delegate_unittest.cc" ] 1722 [ "../browser/download/download_request_infobar_delegate_unittest.cc" ]
1718 } 1723 }
1719 1724
1720 if (!is_ios && !is_android) { 1725 if (!is_ios && !is_android) {
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
1769 } 1774 }
1770 1775
1771 if (enable_extensions) { 1776 if (enable_extensions) {
1772 sources += rebase_path( 1777 sources += rebase_path(
1773 chrome_tests_unit_gypi_values.chrome_unit_tests_extensions_sources, 1778 chrome_tests_unit_gypi_values.chrome_unit_tests_extensions_sources,
1774 ".", 1779 ".",
1775 "//chrome") 1780 "//chrome")
1776 deps += [ 1781 deps += [
1777 "//chrome/common/extensions/api", 1782 "//chrome/common/extensions/api",
1778 "//components/audio_modem:test_support", 1783 "//components/audio_modem:test_support",
1779 "//device/core:mocks",
1780 "//device/hid:mocks",
1781 "//extensions:extensions_resources", 1784 "//extensions:extensions_resources",
1782 "//extensions/strings", 1785 "//extensions/strings",
1783 ] 1786 ]
1784 if (enable_service_discovery) { 1787 if (enable_service_discovery) {
1785 sources += rebase_path( 1788 sources += rebase_path(
1786 chrome_tests_unit_gypi_values.chrome_unit_tests_extensions_service _discovery_sources, 1789 chrome_tests_unit_gypi_values.chrome_unit_tests_extensions_service _discovery_sources,
1787 ".", 1790 ".",
1788 "//chrome") 1791 "//chrome")
1789 } 1792 }
1790 if (!is_chromeos) { 1793 if (!is_chromeos) {
(...skipping 499 matching lines...) Expand 10 before | Expand all | Expand 10 after
2290 if (is_android) { 2293 if (is_android) {
2291 android_library("unit_tests_java") { 2294 android_library("unit_tests_java") {
2292 java_files = [ "android/unit_tests_apk/src/org/chromium/chrome/unit_tests_ap k/ChromeNativeTestApplication.java" ] 2295 java_files = [ "android/unit_tests_apk/src/org/chromium/chrome/unit_tests_ap k/ChromeNativeTestApplication.java" ]
2293 deps = [ 2296 deps = [
2294 "//base:base_java", 2297 "//base:base_java",
2295 "//chrome/android:chrome_java", 2298 "//chrome/android:chrome_java",
2296 "//content/public/android:content_java", 2299 "//content/public/android:content_java",
2297 ] 2300 ]
2298 } 2301 }
2299 } 2302 }
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