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

Side by Side Diff: courgette/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 | « content/shell/android/BUILD.gn ('k') | dbus/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 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("//testing/test.gni") 5 import("//testing/test.gni")
6 6
7 static_library("courgette_lib") { 7 static_library("courgette_lib") {
8 sources = [ 8 sources = [
9 "adjustment_method.cc", 9 "adjustment_method.cc",
10 "adjustment_method.h", 10 "adjustment_method.h",
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 "courgette_tool.cc", 68 "courgette_tool.cc",
69 ] 69 ]
70 70
71 if (is_win) { 71 if (is_win) {
72 ldflags = [ "/LARGEADDRESSAWARE" ] 72 ldflags = [ "/LARGEADDRESSAWARE" ]
73 } 73 }
74 74
75 deps = [ 75 deps = [
76 ":courgette_lib", 76 ":courgette_lib",
77 "//base", 77 "//base",
78 "//build/config/sanitizers:deps",
78 ] 79 ]
79 } 80 }
80 81
81 executable("courgette_minimal_tool") { 82 executable("courgette_minimal_tool") {
82 sources = [ 83 sources = [
83 "courgette_minimal_tool.cc", 84 "courgette_minimal_tool.cc",
84 ] 85 ]
85 86
86 deps = [ 87 deps = [
87 ":courgette_lib", 88 ":courgette_lib",
88 "//base", 89 "//base",
90 "//build/config/sanitizers:deps",
89 ] 91 ]
90 } 92 }
91 93
92 test("courgette_unittests") { 94 test("courgette_unittests") {
93 sources = [ 95 sources = [
94 "adjustment_method_unittest.cc", 96 "adjustment_method_unittest.cc",
95 "base_test_unittest.cc", 97 "base_test_unittest.cc",
96 "base_test_unittest.h", 98 "base_test_unittest.h",
97 "bsdiff_memory_unittest.cc", 99 "bsdiff_memory_unittest.cc",
98 "difference_estimator_unittest.cc", 100 "difference_estimator_unittest.cc",
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 "encoded_program_fuzz_unittest.cc", 133 "encoded_program_fuzz_unittest.cc",
132 ] 134 ]
133 deps = [ 135 deps = [
134 ":courgette_lib", 136 ":courgette_lib",
135 "//base", 137 "//base",
136 "//base:i18n", 138 "//base:i18n",
137 "//base/test:test_support", 139 "//base/test:test_support",
138 "//testing/gtest", 140 "//testing/gtest",
139 ] 141 ]
140 } 142 }
OLDNEW
« no previous file with comments | « content/shell/android/BUILD.gn ('k') | dbus/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698