Skip to content

bazel: add mobile platform mappings#20813

Merged
keith merged 1 commit intoenvoyproxy:mainfrom
keith:ks/bazel-add-mobile-platform-mappings
Apr 14, 2022
Merged

bazel: add mobile platform mappings#20813
keith merged 1 commit intoenvoyproxy:mainfrom
keith:ks/bazel-add-mobile-platform-mappings

Conversation

@keith
Copy link
Copy Markdown
Member

@keith keith commented Apr 13, 2022

As part of supporting rust in envoy and envoy mobile we have to use the
newer bazel mechanisms for changing platforms. During the transition
between the old version (which the android + iOS toolchains use) and the
new version (used by rules_rust), we have to provide some mappings for
the specific platforms. We could do this in envoy-mobile only if we'd
prefer, but since there is already some mobile specific build infra in
this repo I chose to put it here first.

Signed-off-by: Keith Smiley keithbsmiley@gmail.com

snowp
snowp previously approved these changes Apr 13, 2022
Copy link
Copy Markdown
Contributor

@snowp snowp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM pending green CI. Sounds like this is a noop unless we're building mobile platforms, so this is as fine as any (especially considering the potential plans to bring EM into the repo).

As part of supporting rust in envoy and envoy mobile we have to use the
newer bazel mechanisms for changing platforms. During the transition
between the old version (which the android + iOS toolchains use) and the
new version (used by rules_rust), we have to provide some mappings for
the specific platforms. We could do this in envoy-mobile only if we'd
prefer, but since there is already some mobile specific build infra in
this repo I chose to put it here first.

Signed-off-by: Keith Smiley <keithbsmiley@gmail.com>
@keith keith force-pushed the ks/bazel-add-mobile-platform-mappings branch from 7e5283b to e660bd7 Compare April 13, 2022 23:03
Copy link
Copy Markdown
Contributor

@snowp snowp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@keith keith merged commit 509820b into envoyproxy:main Apr 14, 2022
@keith keith deleted the ks/bazel-add-mobile-platform-mappings branch April 14, 2022 15:54
mum4k added a commit to envoyproxy/nighthawk that referenced this pull request Apr 19, 2022
- updated `.bazelrc` based on envoyproxy/envoy#20852 and envoyproxy/envoy#20813. Disabling platform mappings in our configuration, since we don't need them.
- no changes in `.bazelversion`, `ci/run_envoy_docker.sh` or `tools/gen_compilation_database.py`.
- switching integration tests that verify custom TLS configuration to another two ciphers that are supported in the default Envoy server configuration after envoyproxy/envoy#20643.

Signed-off-by: Jakub Sobon <mumak@google.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants