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

Side by Side Diff: base/BUILD.gn

Issue 2892493002: Replace sanitizers:deps with exe_and_shlib_deps (Chromium repo only) (Closed)
Patch Set: Fix find/replace error in nacl Created 3 years, 7 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 | « ash/BUILD.gn ('k') | base/android/linker/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 (c) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2013 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 # HOW TO WRITE CONDITIONALS IN THIS FILE 5 # HOW TO WRITE CONDITIONALS IN THIS FILE
6 # ====================================== 6 # ======================================
7 # 7 #
8 # In many other places, one would write a conditional that expresses all the 8 # In many other places, one would write a conditional that expresses all the
9 # cases when a source file is used or unused, and then either add or subtract 9 # cases when a source file is used or unused, and then either add or subtract
10 # it from the sources list in that case 10 # it from the sources list in that case
(...skipping 1768 matching lines...) Expand 10 before | Expand all | Expand 10 after
1779 ] 1779 ]
1780 } 1780 }
1781 1781
1782 if (!is_ios) { 1782 if (!is_ios) {
1783 executable("build_utf8_validator_tables") { 1783 executable("build_utf8_validator_tables") {
1784 sources = [ 1784 sources = [
1785 "i18n/build_utf8_validator_tables.cc", 1785 "i18n/build_utf8_validator_tables.cc",
1786 ] 1786 ]
1787 deps = [ 1787 deps = [
1788 ":base", 1788 ":base",
1789 "//build/config/sanitizers:deps", 1789 "//build/config:exe_and_shlib_deps",
1790 "//build/win:default_exe_manifest", 1790 "//build/win:default_exe_manifest",
1791 "//third_party/icu:icuuc", 1791 "//third_party/icu:icuuc",
1792 ] 1792 ]
1793 } 1793 }
1794 1794
1795 executable("check_example") { 1795 executable("check_example") {
1796 sources = [ 1796 sources = [
1797 "check_example.cc", 1797 "check_example.cc",
1798 ] 1798 ]
1799 deps = [ 1799 deps = [
1800 ":base", 1800 ":base",
1801 "//build/config/sanitizers:deps", 1801 "//build/config:exe_and_shlib_deps",
1802 "//build/win:default_exe_manifest", 1802 "//build/win:default_exe_manifest",
1803 ] 1803 ]
1804 } 1804 }
1805 } 1805 }
1806 1806
1807 source_set("message_loop_tests") { 1807 source_set("message_loop_tests") {
1808 testonly = true 1808 testonly = true
1809 sources = [ 1809 sources = [
1810 "message_loop/message_loop_test.cc", 1810 "message_loop/message_loop_test.cc",
1811 "message_loop/message_loop_test.h", 1811 "message_loop/message_loop_test.h",
(...skipping 15 matching lines...) Expand all
1827 ldflags = [ 1827 ldflags = [
1828 "/DELAYLOAD:cfgmgr32.dll", 1828 "/DELAYLOAD:cfgmgr32.dll",
1829 "/DELAYLOAD:shell32.dll", 1829 "/DELAYLOAD:shell32.dll",
1830 "/SUBSYSTEM:WINDOWS", 1830 "/SUBSYSTEM:WINDOWS",
1831 ] 1831 ]
1832 libs = [ 1832 libs = [
1833 "cfgmgr32.lib", 1833 "cfgmgr32.lib",
1834 "shell32.lib", 1834 "shell32.lib",
1835 ] 1835 ]
1836 deps = [ 1836 deps = [
1837 "//build/config/sanitizers:deps", 1837 "//build/config:exe_and_shlib_deps",
1838 ] 1838 ]
1839 } 1839 }
1840 1840
1841 loadable_module("scoped_handle_test_dll") { 1841 loadable_module("scoped_handle_test_dll") {
1842 sources = [ 1842 sources = [
1843 "win/scoped_handle_test_dll.cc", 1843 "win/scoped_handle_test_dll.cc",
1844 ] 1844 ]
1845 deps = [ 1845 deps = [
1846 ":base", 1846 ":base",
1847 "//base/win:base_win_features", 1847 "//base/win:base_win_features",
1848 ] 1848 ]
1849 } 1849 }
1850 } 1850 }
1851 1851
1852 if (is_win || is_mac) { 1852 if (is_win || is_mac) {
1853 if (current_cpu == "x64") { 1853 if (current_cpu == "x64") {
1854 # Must be a shared library so that it can be unloaded during testing. 1854 # Must be a shared library so that it can be unloaded during testing.
1855 shared_library("base_profiler_test_support_library") { 1855 shared_library("base_profiler_test_support_library") {
1856 sources = [ 1856 sources = [
1857 "profiler/test_support_library.cc", 1857 "profiler/test_support_library.cc",
1858 ] 1858 ]
1859 deps = [ 1859 deps = [
1860 "//build/config/sanitizers:deps", 1860 "//build/config:exe_and_shlib_deps",
1861 ] 1861 ]
1862 } 1862 }
1863 } 1863 }
1864 } 1864 }
1865 1865
1866 bundle_data("base_unittests_bundle_data") { 1866 bundle_data("base_unittests_bundle_data") {
1867 testonly = true 1867 testonly = true
1868 sources = [ 1868 sources = [
1869 "test/data/file_util/binary_file.bin", 1869 "test/data/file_util/binary_file.bin",
1870 "test/data/file_util/binary_file_diff.bin", 1870 "test/data/file_util/binary_file_diff.bin",
(...skipping 853 matching lines...) Expand 10 before | Expand all | Expand 10 after
2724 } 2724 }
2725 2725
2726 fuzzer_test("base_json_correctness_fuzzer") { 2726 fuzzer_test("base_json_correctness_fuzzer") {
2727 sources = [ 2727 sources = [
2728 "json/correctness_fuzzer.cc", 2728 "json/correctness_fuzzer.cc",
2729 ] 2729 ]
2730 deps = [ 2730 deps = [
2731 ":base", 2731 ":base",
2732 ] 2732 ]
2733 } 2733 }
OLDNEW
« no previous file with comments | « ash/BUILD.gn ('k') | base/android/linker/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698