Skip to content

Commit

Permalink
staging
Browse files Browse the repository at this point in the history
  • Loading branch information
cfig committed Oct 28, 2024
1 parent 545c050 commit fc67140
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 7 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,6 @@ jobs:
- name: Unit Test
run: ./gradlew check && ./gradlew clean || true

- name: enable gradle native
run: sed -i "s/bHackingMode = false/bHackingMode = true/g" build.gradle.kts

# Runs a set of commands using the runners shell
- name: Integration Test
run: |
Expand Down
6 changes: 3 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
[submodule "src/integrationTest/resources"]
path = src/integrationTest/resources
url = https://github.com/cfig/android_image_res
[submodule "src/integrationTest/resources_3"]
path = src/integrationTest/resources_3
url = https://github.com/cfig/android_image_res3.git
[submodule "src/integrationTest/resources_2"]
path = src/integrationTest/resources_2
url = https://github.com/cfig/android_image_res2.git
[submodule "src/integrationTest/resources_3"]
path = src/integrationTest/resources_3
url = https://github.com/cfig/android_image_res3.git
4 changes: 4 additions & 0 deletions lazybox/src/main/kotlin/cfig/lazybox/AMS.kt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
package cfig.lazybox

class AMS {
}
9 changes: 8 additions & 1 deletion tools/release.mk
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,20 @@ endef
export gw gw_win
all:
cd ../bbootimg && gradle build
cd ../ && gradle aosp:apksigner:build
cp ../bbootimg/build/libs/bbootimg.jar .
cd ../aosp/boot_signer && gradle build
cp ../aosp/boot_signer/build/libs/boot_signer.jar .
cp ../aosp/apksigner/build/libs/apksigner-1.0.jar .
cd .. && rm -fr avbImpl bbootimg build build.gradle.kts gradle gradlew gradlew.bat settings.gradle.kts
cd ../aosp && rm -r libavb1.1 libavb1.2 mkbootfs.10 mkbootfs.11
rm -r ../aosp/boot_signer
mkdir -p ../aosp/boot_signer/build/libs/ && mv boot_signer.jar ../aosp/boot_signer/build/libs/
rm -fr ../helper
rm -fr ../lazybox
rm -fr ../aosp/apksigner
rm -fr ../aosp/bouncycastle
mkdir -p ../aosp/boot_signer/build/libs/ && mv -v boot_signer.jar ../aosp/boot_signer/build/libs/
mkdir -p ../aosp/apksigner/build/libs/ && mv -v apksigner-1.0.jar ../aosp/apksigner/build/libs/
mkdir ../bbootimg && mv bbootimg.jar ../bbootimg/
echo $$gw > gradlew
chmod 755 gradlew
Expand Down

0 comments on commit fc67140

Please sign in to comment.