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 config for Android API target #1

Open
bwalter opened this issue Jan 5, 2022 · 0 comments
Open

Add config for Android API target #1

bwalter opened this issue Jan 5, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@bwalter
Copy link
Owner

bwalter commented Jan 5, 2022

While the compiler only needs to target one API level, the parser needs to provide version-specific diagnostics. This should probably be done with a Parser configuration as an enum, e.g.:

TargetAndroidVersion {
  Android9OrLower,
  Android10,
  Android11,
  Android12,
  AndroidT,
  All,  // unspecified (= default)
}

Exemple:

  • parcelable declaration for Android10 or higher
  • enum declaration for Android11 or higher
  • union declaration for Android12 or higher
  • nested type declaration for AndroidT or higher

Relates to bwalter/aidl-lsp#4 and bwalter/aidl-lsp#5.

@bwalter bwalter added the enhancement New feature or request label Jan 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant