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

Side by Side Diff: base/BUILD.gn

Issue 1318343003: Annotate GN executables and shared_libraries with sanitizer deps. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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 import("//build/config/ui.gni") 5 import("//build/config/ui.gni")
6 import("//testing/test.gni") 6 import("//testing/test.gni")
7 7
8 if (is_android) { 8 if (is_android) {
9 import("//build/config/android/rules.gni") 9 import("//build/config/android/rules.gni")
10 } 10 }
(...skipping 1049 matching lines...) Expand 10 before | Expand all | Expand 10 after
1060 ] 1060 ]
1061 } 1061 }
1062 1062
1063 if (!is_ios) { 1063 if (!is_ios) {
1064 executable("build_utf8_validator_tables") { 1064 executable("build_utf8_validator_tables") {
1065 sources = [ 1065 sources = [
1066 "i18n/build_utf8_validator_tables.cc", 1066 "i18n/build_utf8_validator_tables.cc",
1067 ] 1067 ]
1068 deps = [ 1068 deps = [
1069 ":base", 1069 ":base",
1070 "//build/config/sanitizers:deps",
1070 "//third_party/icu:icuuc", 1071 "//third_party/icu:icuuc",
1071 ] 1072 ]
1072 } 1073 }
1073 1074
1074 executable("check_example") { 1075 executable("check_example") {
1075 sources = [ 1076 sources = [
1076 "check_example.cc", 1077 "check_example.cc",
1077 ] 1078 ]
1078 deps = [ 1079 deps = [
1079 ":base", 1080 ":base",
1081 "//build/config/sanitizers:deps",
1080 ] 1082 ]
1081 } 1083 }
1082 } 1084 }
1083 } 1085 }
1084 1086
1085 component("prefs") { 1087 component("prefs") {
1086 sources = [ 1088 sources = [
1087 "prefs/default_pref_store.cc", 1089 "prefs/default_pref_store.cc",
1088 "prefs/default_pref_store.h", 1090 "prefs/default_pref_store.h",
1089 "prefs/json_pref_store.cc", 1091 "prefs/json_pref_store.cc",
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
1183 ] 1185 ]
1184 ldflags = [ 1186 ldflags = [
1185 "/DELAYLOAD:cfgmgr32.dll", 1187 "/DELAYLOAD:cfgmgr32.dll",
1186 "/DELAYLOAD:shell32.dll", 1188 "/DELAYLOAD:shell32.dll",
1187 "/SUBSYSTEM:WINDOWS", 1189 "/SUBSYSTEM:WINDOWS",
1188 ] 1190 ]
1189 libs = [ 1191 libs = [
1190 "cfgmgr32.lib", 1192 "cfgmgr32.lib",
1191 "shell32.lib", 1193 "shell32.lib",
1192 ] 1194 ]
1195 deps = [
1196 "//build/config/sanitizers:deps",
1197 ]
1193 } 1198 }
1194 } 1199 }
1195 1200
1196 # TODO(GYP): Delete this after we've converted everything to GN. 1201 # TODO(GYP): Delete this after we've converted everything to GN.
1197 # The _run targets exist only for compatibility w/ GYP. 1202 # The _run targets exist only for compatibility w/ GYP.
1198 group("base_unittests_run") { 1203 group("base_unittests_run") {
1199 testonly = true 1204 testonly = true
1200 deps = [ 1205 deps = [
1201 ":base_unittests", 1206 ":base_unittests",
1202 ] 1207 ]
(...skipping 475 matching lines...) Expand 10 before | Expand all | Expand 10 after
1678 1683
1679 # GYP: //base.gyp:base_java_unittest_support 1684 # GYP: //base.gyp:base_java_unittest_support
1680 android_library("base_java_unittest_support") { 1685 android_library("base_java_unittest_support") {
1681 deps = [ 1686 deps = [
1682 ":base_java", 1687 ":base_java",
1683 ] 1688 ]
1684 java_files = 1689 java_files =
1685 [ "test/android/java/src/org/chromium/base/ContentUriTestUtils.java" ] 1690 [ "test/android/java/src/org/chromium/base/ContentUriTestUtils.java" ]
1686 } 1691 }
1687 } 1692 }
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