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

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

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