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

Side by Side Diff: templates/BUILD.gn.template

Issue 2554783002: Exclude wrap_memcpy.cc from BUILD.gn unconditionally (Closed)
Patch Set: Created 4 years 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 | « BUILD.gn ('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 %YAML 1.2 1 %YAML 1.2
2 --- | 2 --- |
3 # GRPC Chromium BUILD.gn file. 3 # GRPC Chromium BUILD.gn file.
4 # This file has been automatically generated from a template file. 4 # This file has been automatically generated from a template file.
5 # Please look at the templates directory instead. 5 # Please look at the templates directory instead.
6 # This file can be regenerated from the template by running 6 # This file can be regenerated from the template by running
7 # tools/buildgen/generate_projects.sh 7 # tools/buildgen/generate_projects.sh
8 if (is_android) { 8 if (is_android) {
9 import("//build/config/android/config.gni") 9 import("//build/config/android/config.gni")
10 import("//build/config/android/rules.gni") 10 import("//build/config/android/rules.gni")
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 "${hdr}", 137 "${hdr}",
138 % endfor 138 % endfor
139 % for hdr in hdrs: 139 % for hdr in hdrs:
140 "${hdr}", 140 "${hdr}",
141 % endfor 141 % endfor
142 % for src in srcs: 142 % for src in srcs:
143 "${src}", 143 "${src}",
144 % endfor 144 % endfor
145 ] 145 ]
146 % if contains_wrap_memcpy(srcs): 146 % if contains_wrap_memcpy(srcs):
147 if (is_android) { 147 # gRPC memcpy wrapping logic isn't useful here.
148 # gRPC memcpy wrapping logic isn't Android-friendly. 148 # See https://crbug.com/661171
149 # See https://crbug.com/661171 149 sources -= [
150 sources -= [
151 % for src in get_wrap_memcpy(srcs): 150 % for src in get_wrap_memcpy(srcs):
152 "${src}", 151 "${src}",
153 % endfor 152 % endfor
154 ] 153 ]
155 }
156 % endif 154 % endif
157 deps = [ 155 deps = [
158 % for dep in get_deps(lib): 156 % for dep in get_deps(lib):
159 "${dep}", 157 "${dep}",
160 % endfor 158 % endfor
161 ] 159 ]
162 configs -= [ "//build/config/compiler:chromium_code" ] 160 configs -= [ "//build/config/compiler:chromium_code" ]
163 configs += [ 161 configs += [
164 "//build/config/compiler:no_chromium_code", 162 "//build/config/compiler:no_chromium_code",
165 % for config in get_extra_configs(lib): 163 % for config in get_extra_configs(lib):
(...skipping 21 matching lines...) Expand all
187 configs -= [ "//build/config/compiler:chromium_code" ] 185 configs -= [ "//build/config/compiler:chromium_code" ]
188 configs += [ 186 configs += [
189 "//build/config/compiler:no_chromium_code", 187 "//build/config/compiler:no_chromium_code",
190 % for config in get_extra_configs(tgt): 188 % for config in get_extra_configs(tgt):
191 "${config}", 189 "${config}",
192 % endfor 190 % endfor
193 ] 191 ]
194 public_configs = [ ":grpc_config" ] 192 public_configs = [ ":grpc_config" ]
195 } 193 }
196 </%def> 194 </%def>
OLDNEW
« no previous file with comments | « BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698