Adds a tool that can convert an SDK stubs jar into a framework.aidl file by parsing the jar with ASM to find classes that implement android.os.Parcelable directly or indirectly. Bug: 70046217 Test: java -cp out/host/linux-x86/framework/sdk_parcelables_test.jar org.junit.runner.JUnitCore com.android.sdk_parcelables.ParcelableDetectorTest Change-Id: Idc804896b8860352633a85168748af1b08777205
23 lines
365 B
Plaintext
23 lines
365 B
Plaintext
java_binary_host {
|
|
name: "sdkparcelables",
|
|
manifest: "manifest.txt",
|
|
srcs: [
|
|
"src/**/*.kt",
|
|
],
|
|
static_libs: [
|
|
"asm-6.0",
|
|
],
|
|
}
|
|
|
|
java_library_host {
|
|
name: "sdkparcelables_test",
|
|
manifest: "manifest.txt",
|
|
srcs: [
|
|
"tests/**/*.kt",
|
|
],
|
|
static_libs: [
|
|
"sdkparcelables",
|
|
"junit",
|
|
],
|
|
}
|