-
Execute all general steps
-
Get PDFium:
python3 make.py run build-pdfium-android
-
Patch:
python3 make.py run patch-android
-
PDFium android dependencies
./build/android/pdfium/build/install-build-deps-android.sh
-
Compile:
python3 make.py run build-android
-
Install libraries:
python3 make.py run install-android
-
Test:
python3 make.py run test-android
Obs:
- The file make.py need be executed with python version 3.
- You need run all steps in a Linux machine (real, vm or docker) to it works.
You can use docker to build and test on local machine before deploy.
Build the image with command:
docker build -t pdfium-android -f docker/android/Dockerfile docker/android
Test with command:
docker run -v ${PWD}:/app -it pdfium-android echo "test"
Now you can execute any command with pattern:
docker run -v ${PWD}:/app -it pdfium-android [COMMAND]
Obs: This is the recommended way to build and is used on CD server.