diff options
author | 2023-01-26 23:02:00 +0000 | |
---|---|---|
committer | 2023-01-26 23:02:53 +0000 | |
commit | 627fc3e436fa49754b3dace2886803ea6fab66d7 (patch) | |
tree | 6623afbac5cda0ee5ca1b3438c3f93215b7c69d7 /android/api_domain.go | |
parent | 0725a60e5d74be9fed57492e6016ccac9c8a2400 (diff) |
Rename API surface provided to mainline modules
This API surface is provided by platform and mainline modules to other
mainline modules. Rename it to module-lib API surface to align it with
the terminology in go/android-api-types
Test: go test ./bp2build
Test: go test ./cc
Change-Id: Ieb9f3214e66366fc2ceb6f47e2d6623acb537827
Diffstat (limited to 'android/api_domain.go')
-rw-r--r-- | android/api_domain.go | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/android/api_domain.go b/android/api_domain.go index bdd4e6fa5..587ceaefa 100644 --- a/android/api_domain.go +++ b/android/api_domain.go @@ -32,17 +32,18 @@ type ApiSurface int // TODO(b/246656800): Reconcile with android.SdkKind const ( - PublicApi ApiSurface = iota - SystemApi - VendorApi + // API surface provided by platform and mainline modules to other mainline modules + ModuleLibApi ApiSurface = iota + PublicApi // Aka NDK + VendorApi // Aka LLNDK ) func (a ApiSurface) String() string { switch a { + case ModuleLibApi: + return "module-libapi" case PublicApi: return "publicapi" - case SystemApi: - return "systemapi" case VendorApi: return "vendorapi" default: |