Commit Graph

14 Commits

Author SHA1 Message Date
Kyle Zhang
961faf0729 Modify build script
* Run bundletool prebuilt directly instead of build

DISABLE_TOPIC_PROTECTOR
Bug: 406584715
Change-Id: Ibd5661ac65517e0df707c574d9348d4018e4e0e3
(cherry picked from commit ea2ec9498b)
2025-04-18 19:21:52 -07:00
Kyle Zhang
4ec936167d Respect TARGET_BUILD_PACKAGE_WIDEVINE to build widevine apex
Bug: 358666871
Bug: 347658720
Change-Id: I49bdc4f20b8b423947f14f81d5f83b4e0bfd6280
2024-09-03 18:34:01 +00:00
Kyle Zhang
077c1133da Respect RELEASE_PACKAGE_WIDEVINE in device.mk
Bug: 338239204
Change-Id: Ib1f6a6438c70155ae4cb05afb0f132055697372d
(cherry picked from commit 6964a3aad6b30476b904592be046cbaa371a61c9)
2024-08-21 18:25:42 +00:00
Kyle Zhang
8defa640ff Add java path to args of dev_sign_bundle
Bug: 339855197
Change-Id: I61d2ea24570857c96fe0b1d273efc5c288386888
(cherry picked from commit 925fa55b4340cc57ced3da52e7d9d4a99ea5405d)
2024-07-16 06:26:25 +00:00
Kalesh Singh
d9079fb300 widevine_generic: Set max page size 16k
Bug: 322391670
Change-Id: Ic5a9c6e33e675d33138127915c6ab9910742f6d7
Signed-off-by: Kalesh Singh <kaleshsingh@google.com>
2024-04-01 18:04:59 +00:00
Jooyung Han
49cc8da350 Fix build script: set output path explicitly
dev_sign_bundle uses `out/dist` as default out directory. It should
respect DIST_DIR setting.

Bug: 281617982
Test: git_mainline-widevine-release/mainline_modules-user
Change-Id: I2ede21b099b512c948e4e83702a1478982acc779
2023-05-16 13:35:34 +09:00
Jooyung Han
5a6c57b11a Fix build_test breakage
CI build_test target tests every product, which invokes the new
widevine_generic product out of the build script. This makes build fail
due to the missing TARGET_BASE_PRODUCT.

Fix it by fallback to module_arm as base product.

Bug: 281617982
Test: TH
Change-Id: I36d437a56609865e64aea86c5d3af02887b42bc7
2023-05-13 07:34:07 +09:00
Jooyung Han
6808813f46 Add build script for widevine apkset.
This builds Widevine APEXes for every target arch and then build APKS
file signed with devkeys.

Bug: 281617982
Test: DIST_DIR=out/dist UNBUNDLED_BUILD_SDKS_FROM_SOURCE=true \
  TARGET_BUILD_APPS="com.google.android.widevine \
    com.google.android.widevine.nonupdatable \
    com.google.android.widevine.lazy" \
  vendor/widevine/libwvdrmengine/apex/device/build.sh
Change-Id: I6b47d9de3d572298e84b26b744710818e9f75210
2023-05-11 16:01:39 +09:00
Kyle Zhang
dc9fbae1b4 Widevine apex cleanup
1. Remove prerelease tag.
2. Add TARGET_BUILD_WIDEVINE_USE_PREBUILT to control building from source.
3. Unify config namespace to "widevine".

Bug: 251299786
Bug: 277764729
Change-Id: I2f19bcf8efd280a1a3aa86f595599d79e20b4ff4
2023-05-03 17:38:43 +00:00
Kyle Zhang
e362704180 Create different targets for each Widevine apex
Bug: 277764729
Change-Id: I7c8599ba55ba75b092b14ddb88553735f02cdaa0
2023-04-21 17:05:38 +00:00
Kyle Zhang
2be47ada77 Add Widevine lazy apex
Bug: 244498309
Test: m com.google.android.widevine.lazy
Change-Id: I226ae922e9ab7817353d3e94d509b9579c6551e1
2023-03-15 21:02:14 +00:00
Kyle Zhang
dfb0b0d877 Update linker config settings
Update Widevine Apex linker config settings according to b/264330513.

Bug: 243699259
Test: atp v2/widevine-eng/drm_compliance
Change-Id: I0c7581e44dff9f8a4193ef29e68ddef42451b4f6
2023-01-18 06:36:08 +00:00
Bob Badour
d676bd9c6d [LSC] Add LOCAL_LICENSE_KINDS to vendor/widevine
Added legacy_by_exception_only to:
  libwvdrmengine/apex/device/Android.bp

Bug: 68860345
Bug: 151177513
Bug: 151953481

Test: m all
Change-Id: I9eee9c7bdc6125447499996f49f88e055bd38f83
2023-01-11 10:17:02 -08:00
Kyle Zhang
a5c7a48f8a Add liboemcrypto.so as required by WV APEX
[ Merge of go/wvgerrit/164757 ]

Modify Widevine apex configuration to add add liboemcrypto.so as
required by WV APEX.

Bug: 243699259
Test: atp v2/widevine-eng/drm_compliance
Change-Id: I136dde5d77aed4fb14737e4692153c8f3b2c701b
2023-01-09 06:32:39 +00:00