Skip to content

Commit 96f2bc7

Browse files
xaionaro@dx.centerxaionaro@dx.center
authored andcommitted
chore: remove prebuilt transaction code tables
Delete codes_gen.go (516K lines). All transaction code resolution now happens dynamically via lazy JAR extraction from the device. The CompiledTable type and sorted-slice infrastructure remain for any future use. Binary size drops from 124MB to 112MB.
1 parent b66def5 commit 96f2bc7

2 files changed

Lines changed: 5 additions & 516524 deletions

File tree

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
1-
//go:build !prebuilt_tables
2-
31
package versionaware
42

53
// DefaultAPILevel is the API level that the compiled proxy code was
6-
// generated against. Without prebuilt_tables, transaction codes are
7-
// resolved dynamically from device framework JARs.
4+
// generated against. Transaction codes are resolved dynamically from
5+
// device framework JARs.
86
var DefaultAPILevel int
97

10-
// Tables is empty without prebuilt_tables; all resolution happens
11-
// via lazy JAR extraction.
8+
// Tables holds compiled version tables. Empty by default; all
9+
// resolution happens via lazy JAR extraction from the device.
1210
var Tables MultiVersionTable
1311

14-
// Revisions is empty without prebuilt_tables.
12+
// Revisions maps API level -> list of version IDs (latest first).
1513
var Revisions = APIRevisions{}

0 commit comments

Comments
 (0)