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

Correctly set the target/min SDK API. #2645

Merged
merged 1 commit into from
Mar 1, 2019

Conversation

pmuetschard
Copy link
Member

Sigh. For the NDK rule, the API level is really the minimum API level, since that's what will be linked against, while for the SDK, it's the target API. Our native code requires API level 21 (5.0 Lollipop), so updated the manifests as well.

Fixes #2389

Sigh. For the NDK rule, the API level is really the minimum API level,
since that's what will be linked against, while for the SDK, it's the
target API. Our native code requires API level 21 (5.0 Lollipop), so
updated the manifests as well.

Fixes google#2389
@@ -199,14 +199,14 @@ def gapid_dependencies(android = True, mingw = True, locals = {}):
native.android_sdk_repository,
name = "androidsdk",
locals = locals,
api_level = 26,
api_level = 26, # This is the target API
Copy link
Contributor

Choose a reason for hiding this comment

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

These are delightfully consistent with each other :\

@pmuetschard pmuetschard merged commit e4f4637 into google:master Mar 1, 2019
@pmuetschard pmuetschard deleted the api_level branch March 1, 2019 17:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants