Update generate_tdapi_java_file.sh and tdlib-serializer
This commit is contained in:
parent
975db775bf
commit
ce7133bba2
@ -78,6 +78,9 @@ cmake --build . --target td_generate_java_api --config Release ${CPU_CORES}
|
||||
cd ..
|
||||
|
||||
echo "Patching TdApi.java..."
|
||||
cd ./tdlib-serializer/
|
||||
python3 -m pip install -r requirements.txt
|
||||
cd ../
|
||||
python3 ../tdlib-serializer/ $(realpath ./src/main/jni-java-src/it/tdlight/jni/TdApi.java) $(realpath ./src/main/jni-java-src/it/tdlight/jni/new_TdApi.java) $(realpath ../tdlib-serializer/headers.txt)
|
||||
rm ./src/main/jni-java-src/it/tdlight/jni/TdApi.java
|
||||
unexpand --tabs=2 ./src/main/jni-java-src/it/tdlight/jni/new_TdApi.java > ./src/main/jni-java-src/it/tdlight/jni/TdApi.java
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit 02e9f2796f092637930280e2d075d81bfca0f645
|
||||
Subproject commit 6d561dc419398c81f8cf58169442278815b7e1da
|
Loading…
Reference in New Issue
Block a user