Re: [angleproject] Can't build angle for Android

196 views
Skip to first unread message

Roman Lavrov

unread,
Jun 17, 2022, 1:38:12 PM6/17/22
to jule...@gmail.com, angleproject
Hi,
You didn't mention the .gclient edit - when missed, ./third_party/ won't have all the necessary dependencies pulled in and that's the kind of build errors you get. First paragraph here:
https://github.com/google/angle/blob/main/doc/DevSetupAndroid.md#setting-up-the-angle-build-for-android
I did run into this myself a few times, I wish we could make the error message more helpful but I'm not sure if there is an easy way to do it.

On Thu, Jun 16, 2022 at 3:22 AM July Mk <jule...@gmail.com> wrote:
Build angle for Android on Linux, 

1. install depot_tools, python3
2. mkdir angle; cd angle; fetch angle
3. ./build/install-build-deps.sh,  ./build/install-build-deps-android.sh
4. gn args out/Android
target_os = "android"
target_cpu = "arm64"
is_component_build = false
is_debug = false
angle_assert_always_on = true   # Recommended for debugging. Turn off for performance.
use_goma = false                 # Googlers-only! If you're not a Googler remove this.

then error occurs:

Generating files...
ERROR at //build/config/android/rules.gni:2677:25: Unable to load "/home/insta360/Documents/code/angle_for_android/third_party/android_sdk/BUILD.gn".
      android_sdk_dep = _android_sdk_dep
                        ^---------------

Any help on this?
Thanks

--
You received this message because you are subscribed to the Google Groups "angleproject" group.
To unsubscribe from this group and stop receiving emails from it, send an email to angleproject...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/angleproject/753629aa-3054-4930-8591-9846b7d2fac2n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages