Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Android Platforms build flags. #2198

Merged
merged 2 commits into from
Oct 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .bazelci/presubmit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -574,12 +574,20 @@ tasks:
name: Android Examples
platform: ubuntu2004
working_directory: examples/android
bazel: "last_green"
build_flags:
- "--incompatible_enable_android_toolchain_resolution"
- "--android_platforms=//:arm64-v8a"
build_targets:
- "//:android_app"
android_examples_macos:
name: Android Examples
platform: macos
working_directory: examples/android
bazel: "last_green"
build_flags:
- "--incompatible_enable_android_toolchain_resolution"
- "--android_platforms=//:arm64-v8a"
build_targets:
- "//:android_app"
ios_examples:
Expand Down
4 changes: 2 additions & 2 deletions examples/android/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ android_binary(
)

platform(
name = "android_aarch64",
name = "arm64-v8a",
constraint_values = [
"@platforms//cpu:aarch64",
"@platforms//cpu:arm64",
"@platforms//os:android",
],
)
4 changes: 0 additions & 4 deletions examples/android/platform_mappings

This file was deleted.

Loading