Advertisement
Intelligent-Job-3520

Untitled

Sep 13th, 2024 (edited)
43
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.72 KB | None | 0 0
  1. # Install the required packages
  2. sudo apt install python-is-python2
  3. sudo apt install ninja-build
  4.  
  5. # Set up depot_tools
  6. git clone https://chromium.googlesource.com/chromium/tools/depot_tools
  7. export PATH=/home/user/depot_tools:$PATH
  8.  
  9. # Setup ANGLE for linux arm64
  10. git clone https://android.googlesource.com/platform/external/angle
  11. cd angle
  12. ./build/install-build-deps.sh
  13. git checkout e867a62fc822d0bd152ab6ae34cd012eb4408324
  14. python2 scripts/bootstrap.py
  15. gclient sync
  16. ./build/linux/sysroot_scripts/install-sysroot.py --arch=arm64
  17.  
  18. # Let's build ANGLE
  19. gn args out/Release
  20.  
  21. ########
  22. target_os = "linux"
  23. target_cpu = "arm64"
  24. is_debug = false
  25. is_component_build = false
  26. ########
  27.  
  28. gn gen out/Release
  29. ninja -C out/Release -j8
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement