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

Side by Side Diff: BUILD.gn

Issue 2471543002: Fix gRPC build failure on Android with Clang. (Closed)
Patch Set: Created 4 years, 1 month 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 | « no previous file | templates/BUILD.gn.template » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # GRPC Chromium BUILD.gn file. 1 # GRPC Chromium BUILD.gn file.
2 # This file has been automatically generated from a template file. 2 # This file has been automatically generated from a template file.
3 # Please look at the templates directory instead. 3 # Please look at the templates directory instead.
4 # This file can be regenerated from the template by running 4 # This file can be regenerated from the template by running
5 # tools/buildgen/generate_projects.sh 5 # tools/buildgen/generate_projects.sh
6 if (is_android) { 6 if (is_android) {
7 import("//build/config/android/config.gni") 7 import("//build/config/android/config.gni")
8 import("//build/config/android/rules.gni") 8 import("//build/config/android/rules.gni")
9 } 9 }
10 10
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 "src/core/lib/support/time.c", 132 "src/core/lib/support/time.c",
133 "src/core/lib/support/time_posix.c", 133 "src/core/lib/support/time_posix.c",
134 "src/core/lib/support/time_precise.c", 134 "src/core/lib/support/time_precise.c",
135 "src/core/lib/support/time_windows.c", 135 "src/core/lib/support/time_windows.c",
136 "src/core/lib/support/tls_pthread.c", 136 "src/core/lib/support/tls_pthread.c",
137 "src/core/lib/support/tmpfile_msys.c", 137 "src/core/lib/support/tmpfile_msys.c",
138 "src/core/lib/support/tmpfile_posix.c", 138 "src/core/lib/support/tmpfile_posix.c",
139 "src/core/lib/support/tmpfile_windows.c", 139 "src/core/lib/support/tmpfile_windows.c",
140 "src/core/lib/support/wrap_memcpy.c", 140 "src/core/lib/support/wrap_memcpy.c",
141 ] 141 ]
142 if (is_android) {
143 # gRPC memcpy wrapping logic isn't Android-friendly.
144 # See https://crbug.com/661171
145 sources -= [
146 "src/core/lib/support/wrap_memcpy.c",
147 ]
148 }
142 deps = [ 149 deps = [
143 ] 150 ]
144 configs -= [ "//build/config/compiler:chromium_code" ] 151 configs -= [ "//build/config/compiler:chromium_code" ]
145 configs += [ 152 configs += [
146 "//build/config/compiler:no_chromium_code", 153 "//build/config/compiler:no_chromium_code",
147 ] 154 ]
148 public_configs = [ 155 public_configs = [
149 ":grpc_config", 156 ":grpc_config",
150 ] 157 ]
151 } 158 }
(...skipping 1408 matching lines...) Expand 10 before | Expand all | Expand 10 after
1560 "//third_party/protobuf:protobuf_config", 1567 "//third_party/protobuf:protobuf_config",
1561 ] 1568 ]
1562 public_configs = [ ":grpc_config" ] 1569 public_configs = [ ":grpc_config" ]
1563 } 1570 }
1564 1571
1565 } 1572 }
1566 1573
1567 1574
1568 1575
1569 1576
OLDNEW
« no previous file with comments | « no previous file | templates/BUILD.gn.template » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698