Skip to content

Commit

Permalink
Add missing file in build_without_gradle.sh
Browse files Browse the repository at this point in the history
Fixes Genymobile#1481 <Genymobile#1481>
PR Genymobile#1482 <Genymobile#1482>

Signed-off-by: Louis Leseur <louis.leseur@gmail.com>
Signed-off-by: Romain Vimont <rom@rom1v.com>
  • Loading branch information
teapot9 authored and xeropresence committed Jun 12, 2020
1 parent 6e1069a commit 0cd1001
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions server/build_without_gradle.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ echo "Generating java from aidl..."
cd "$SERVER_DIR/src/main/aidl"
"$ANDROID_HOME/build-tools/$BUILD_TOOLS/aidl" -o"$CLASSES_DIR" \
android/view/IRotationWatcher.aidl
"$ANDROID_HOME/build-tools/$BUILD_TOOLS/aidl" -o"$CLASSES_DIR" \
android/content/IOnPrimaryClipChangedListener.aidl

echo "Compiling java sources..."
cd ../java
Expand All @@ -55,6 +57,7 @@ cd "$CLASSES_DIR"
"$ANDROID_HOME/build-tools/$BUILD_TOOLS/dx" --dex \
--output "$BUILD_DIR/classes.dex" \
android/view/*.class \
android/content/*.class \
com/genymobile/scrcpy/*.class \
com/genymobile/scrcpy/wrappers/*.class

Expand Down

0 comments on commit 0cd1001

Please sign in to comment.