diff options
author | Andreas Gampe <agampe@google.com> | 2017-04-14 20:39:56 -0700 |
---|---|---|
committer | Andreas Gampe <agampe@google.com> | 2017-04-17 16:13:16 -0700 |
commit | c4ced4f015ef5ba66cc89440c89369190448a4e0 (patch) | |
tree | d026441eb4ed207577f25344b1cd9d6a12f3d928 /opengl/tests/gl_basic/gl_basic.cpp | |
parent | d537b474ee70a9ee435929bd94f6f0295adbc4b4 (diff) |
OtaPreopt: Add version support
Add versioning to otapreopt:
Give up on having otapreopt being a mostly-ignorant frontend to a
blackbox dexopt function. Remove the dexopt helper taking a char*[], and
replace with a direct call to the typed signature.
Add support for a versioned dexopt command. The current version is
"2." An unversioned command string is either version "1" (N) or
version "2" (O pre-versioning).
Translate version 1 to version 2 by
* filter DEXOPT_OTA
* override dexopt_needed to DEX2OAT_FROM_SCRATCH
* add null se_info
Bug: 37256688
Test: m
Test: Manual OTA N (v1) -> O (v2)
Test: Manual OTA O (pre-versioning) -> O (v2)
Test: Manual OTA O (v2) -> O (v2)
Change-Id: I9fff673f3ba99833e88cf1c5c9625f42436ec150
Diffstat (limited to 'opengl/tests/gl_basic/gl_basic.cpp')
0 files changed, 0 insertions, 0 deletions