OLD | NEW |
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 Loading... |
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) { | 142 # gRPC memcpy wrapping logic isn't useful here. |
143 # gRPC memcpy wrapping logic isn't Android-friendly. | 143 # See https://crbug.com/661171 |
144 # See https://crbug.com/661171 | 144 sources -= [ |
145 sources -= [ | 145 "src/core/lib/support/wrap_memcpy.c", |
146 "src/core/lib/support/wrap_memcpy.c", | 146 ] |
147 ] | |
148 } | |
149 deps = [ | 147 deps = [ |
150 ] | 148 ] |
151 configs -= [ "//build/config/compiler:chromium_code" ] | 149 configs -= [ "//build/config/compiler:chromium_code" ] |
152 configs += [ | 150 configs += [ |
153 "//build/config/compiler:no_chromium_code", | 151 "//build/config/compiler:no_chromium_code", |
154 ] | 152 ] |
155 public_configs = [ | 153 public_configs = [ |
156 ":grpc_config", | 154 ":grpc_config", |
157 ] | 155 ] |
158 } | 156 } |
(...skipping 1408 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1567 "//third_party/protobuf:protobuf_config", | 1565 "//third_party/protobuf:protobuf_config", |
1568 ] | 1566 ] |
1569 public_configs = [ ":grpc_config" ] | 1567 public_configs = [ ":grpc_config" ] |
1570 } | 1568 } |
1571 | 1569 |
1572 } | 1570 } |
1573 | 1571 |
1574 | 1572 |
1575 | 1573 |
1576 | 1574 |
OLD | NEW |