d8f3d6f9d4 Merge pull request #233 from annarev/add_port_dependencies
a27429f265 Add port_def.inc and port_undef.inc to generated code hdrs
3797ad2217 port should not be public
578dc32208 Set port visibility to public.
fc4941183f Add :port dependencies to libraries that include it
7d1abedbdd Merge pull request #232 from annarev/forward_assert_changes
1b131ca544 Merge pull request #231 from annarev/fix_build_for_sync
d2389ba261 Add correctness asserts to upb_addmsg
de1bc11663 Split port into its own target, add msg.h to :legacy_msg_reflection
abdf14937d Merge pull request #216 from XrXr/use-memcpy-to-do-unaligned-read
47ab661706 Merge pull request #227 from lizan/absl_workspace_name
0b63c75164 Do not strip :descriptor_upbreflection and make some headers public that are used outside of the their module
bcdfe6b1b0 bazel: use canonical repository name for absl
a73fd86c13 Use memcpy to perform unaligned reads
git-subtree-dir: third_party/upb
git-subtree-split: d8f3d6f9d415b31f3ce56d46791706c38fa311bc
This PR contains:
1. An ALTS context exposed for users to use, and a GetAltsContextFromAuthContext() function to get ALTS context from an AuthContext. Functionality-wise this part is similar with a previous PR https://github.com/grpc/grpc/pull/21536, but in this PR, we adjusted the code structure and made some minor changes to better suit function clientAuthzCheck()
2. A clientAuthzCheck() function for users to check if the server is authorized
Since functions implemented by `gevent_util.h` are used also by the
new experimental `Aio` module, the file holding these functions needs
to be renamed to something more meaningful.
1) src/cpp/client/channel_cc.cc uses ::grpc::g_core_codegen_interface.
2) GRPCXX_SRCS includes src/cpp/client/channel_cc.cc
3) "grpc++_codegen_base_src" contains src/cpp/codegen/codegen_init.cc
which has ::grpc::g_core_codegen_interface.
3) "grpc++_base" and "grpc++_base_unsecure" includes GRPCXX_SRCS.
4) But, "grpc++_base" and "grpc++_base_unsecure" don't include
"grpc++_codegen_base_src" at all which creates unsatisfied linker error
in some targets unless they depend on "grpc++_codegen_base_src"
themselves.
Solution: Make "grpc++_base" and "grpc++_base_unsecure" depend upon "grpc++_codegen_base_src".