Merge "Update pre-built apks in platform" into oc-mr1-dev
am: 69780830e5
Change-Id: I73a727dc39e0d2be1d47afeef1305362b13ffbc4
This commit is contained in:
@@ -31,7 +31,9 @@ LOCAL_BUILT_MODULE_STEM := package.apk
|
||||
LOCAL_CERTIFICATE := PRESIGNED
|
||||
LOCAL_DEX_PREOPT := false
|
||||
|
||||
LOCAL_SRC_FILES := CtsShimPriv.apk
|
||||
my_archs := arm x86
|
||||
my_src_arch := $(call get-prebuilt-src-arch, $(my_archs))
|
||||
LOCAL_SRC_FILES := apk/$(my_src_arch)/CtsShimPriv.apk
|
||||
|
||||
include $(BUILD_PREBUILT)
|
||||
|
||||
@@ -49,7 +51,9 @@ LOCAL_BUILT_MODULE_STEM := package.apk
|
||||
LOCAL_CERTIFICATE := PRESIGNED
|
||||
LOCAL_DEX_PREOPT := false
|
||||
|
||||
LOCAL_SRC_FILES := CtsShim.apk
|
||||
my_archs := arm x86
|
||||
my_src_arch := $(call get-prebuilt-src-arch, $(my_archs))
|
||||
LOCAL_SRC_FILES := apk/$(my_src_arch)/CtsShim.apk
|
||||
|
||||
include $(BUILD_PREBUILT)
|
||||
|
||||
|
||||
Binary file not shown.
Binary file not shown.
BIN
packages/CtsShim/apk/arm/CtsShim.apk
Normal file
BIN
packages/CtsShim/apk/arm/CtsShim.apk
Normal file
Binary file not shown.
BIN
packages/CtsShim/apk/arm/CtsShimPriv.apk
Normal file
BIN
packages/CtsShim/apk/arm/CtsShimPriv.apk
Normal file
Binary file not shown.
BIN
packages/CtsShim/apk/x86/CtsShim.apk
Normal file
BIN
packages/CtsShim/apk/x86/CtsShim.apk
Normal file
Binary file not shown.
BIN
packages/CtsShim/apk/x86/CtsShimPriv.apk
Normal file
BIN
packages/CtsShim/apk/x86/CtsShimPriv.apk
Normal file
Binary file not shown.
@@ -6,19 +6,34 @@ must specify the singular APK that can be used to upgrade it.
|
||||
NOTE: The need to include a binary on the system image may be deprecated if a
|
||||
solution involving a temporarily writable /system partition is implemented.
|
||||
|
||||
build:
|
||||
$ tapas CtsShim CtsShimPriv CtsShimPrivUpgrade CtsShimPrivUpgradeWrongSHA
|
||||
For local testing, build the apk and put them in the following folders.
|
||||
This is for arm:
|
||||
$ tapas CtsShim CtsShimPriv CtsShimPrivUpgrade CtsShimPrivUpgradeWrongSHA arm64
|
||||
$ m
|
||||
|
||||
local testing:
|
||||
$ cp $OUT/system/priv-app/CtsShimPrivUpgrade/CtsShimPrivUpgrade.apk \
|
||||
cts/hostsidetests/appsecurity/test-apps/PrivilegedUpdateApp
|
||||
cts/hostsidetests/appsecurity/test-apps/PrivilegedUpdateApp/apk/arm
|
||||
$ cp $OUT/system/priv-app/CtsShimPrivUpgrade/CtsShimPrivUpgrade.apk \
|
||||
vendor/xts/gts-tests/hostsidetests/packagemanager/app/apk/arm/GtsShimPrivUpgrade.apk
|
||||
$ cp $OUT/system/priv-app/CtsShimPrivUpgradeWrongSHA/CtsShimPrivUpgradeWrongSHA.apk \
|
||||
cts/hostsidetests/appsecurity/test-apps/PrivilegedUpdateApp
|
||||
cts/hostsidetests/appsecurity/test-apps/PrivilegedUpdateApp/apk/arm
|
||||
$ cp $OUT/system/priv-app/CtsShimPriv/CtsShimPriv.apk \
|
||||
frameworks/base/packages/CtsShim
|
||||
frameworks/base/packages/CtsShim/apk/arm
|
||||
$ cp $OUT/system/app/CtsShim/CtsShim.apk \
|
||||
frameworks/base/packages/CtsShim
|
||||
frameworks/base/packages/CtsShim/apk/arm
|
||||
|
||||
This is for x86:
|
||||
$ tapas CtsShim CtsShimPriv CtsShimPrivUpgrade CtsShimPrivUpgradeWrongSHA x86_64
|
||||
$ m
|
||||
$ cp $OUT/system/priv-app/CtsShimPrivUpgrade/CtsShimPrivUpgrade.apk \
|
||||
cts/hostsidetests/appsecurity/test-apps/PrivilegedUpdateApp/apk/x86
|
||||
$ cp $OUT/system/priv-app/CtsShimPrivUpgrade/CtsShimPrivUpgrade.apk \
|
||||
vendor/xts/gts-tests/hostsidetests/packagemanager/app/apk/x86/GtsShimPrivUpgrade.apk
|
||||
$ cp $OUT/system/priv-app/CtsShimPrivUpgradeWrongSHA/CtsShimPrivUpgradeWrongSHA.apk \
|
||||
cts/hostsidetests/appsecurity/test-apps/PrivilegedUpdateApp/apk/x86
|
||||
$ cp $OUT/system/priv-app/CtsShimPriv/CtsShimPriv.apk \
|
||||
frameworks/base/packages/CtsShim/apk/x86
|
||||
$ cp $OUT/system/app/CtsShim/CtsShim.apk \
|
||||
frameworks/base/packages/CtsShim/apk/x86
|
||||
|
||||
For final submission, the APKs should be downloaded from the build server, then
|
||||
submitted to the cts/ and frameworks/base/ repos.
|
||||
|
||||
Reference in New Issue
Block a user