google / google/prefab

[FR] Investigage cps support

Open
#186 1 comment 1 reaction 0 assignees View on GitHub
enhancement
Dominant language
Kotlin
Stars
236
Forks
33
PR merge metrics
No merged PRs in 30d

Description

**Is your feature request related to a problem? Please describe.**

The prefab json format is not very common, and its abilities are somewhat limited.
The [Common Package Specification](https://cps-org.github.io/cps/) format might be a useful alternative to the prefab module json files.
CMake has [experimental support](https://github.com/Kitware/CMake/blob/master/Help/dev/experimental.rst#export-common-package-specification-package-information) for automatically generating cps files.

**Describe the solution you'd like**

Prefab defines a standard location where to store .cps files in aar-chives,
and can ingest `.cps` files, and generate ndk-build/cmake files based on this.

In CMake land, we can then generate Android archives using a CPack generator (script).

**Describe alternatives you've considered**

Manually copy and and generate prefab json files.

**Additional context**

- https://cps-org.github.io/cps/
- https://github.com/Kitware/CMake/blob/master/Help/dev/experimental.rst#export-common-package-specification-package-information

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.