Commit d5439ad
feat: generate constant alias re-exports in parent packages
Add renderConstAliases to javagen that generates constants.go in each
parent package (e.g. location/constants.go) with aliases like
GpsProvider = consts.GpsProvider. This lets CGO-dependent code use
location.GpsProvider directly while the CGO-free source of truth
remains in location/consts/consts.go.1 parent 52671b0 commit d5439ad
52 files changed
Lines changed: 3205 additions & 5 deletions
File tree
- accounts
- app
- admin
- alarm
- download
- job
- notification
- role
- usage
- bluetooth
- le
- companion
- content
- clipboard
- pm
- resolver
- graphics/pdf
- hardware
- biometric
- lights
- usb
- location
- media
- audiomanager
- audiorecord
- player
- recorder
- ringtone
- net
- nsd
- vpn
- wifi
- p2p
- rtt
- nfc
- os
- battery
- build
- environment
- power
- storage
- vibrator
- print
- provider
- calendar
- contacts
- documents
- media
- se/omapi
- speech
- telecom
- telephony
- tools/pkg/javagen
- view
- display
- inputmethod
- widget/toast
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments