Commit 6d160362 authored by Brennan Saeta's avatar Brennan Saeta Committed by Gunhan Gulsoy
Browse files

Do not depend on boringssl for big-endian architectures. (#20038)

* Do not depend on boringssl for big-endian architectures.

A recent commit migrated TensorFlow from grpc_unsecure (and grpc++_unsecure)
to their secure variants. These secure variants depend on BoringSSL.
Unfortunately, BoringSSL does not work on big-endian architectures.

This commit abstracts the grpc dependency behind a couple cc_library rules,
and plumbs through the logic to conditionally build without BoringSSL based
on the target architecture.

Fixes #20014

* Fix BUILD file formatting.

* Fix typo in CPU name

* Add an additional bind and select when evaluating the cc_proto_library rules.
parent 79d7e11f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment