Home | History | Annotate | Download | only in gamesdk
      1 
      2 In order to build using prebuild NDK versions, this project must be initialized from a custom repo using:
      3 mkdir android-games-sdk
      4 cd android-games-sdk
      5 Corp -> repo init -u persistent-https://googleplex-android.git.corp.google.com/platform/manifest -b android-games-sdk
      6 AOSP -> repo init -u https://android.googlesource.com/platform/manifest -b android-games-sdk
      7 repo sync -c -j8
      8 
      9 Then:
     10 ./gradlew gamesdkZip
     11 will build static and dynamic libraries for several NDK versions.
     12 
     13 By default, the gradle script builds target archiveZip, which will use a locally installed SDK/NDK pointed
     14 to by ANDROID_HOME (and ANDROID_NDK, if the ndk isn't in ANDROID_HOME/ndk-bundle).
     15 
     16 It is also possible to build from a direct AOSP checkout, but then you won't be able to build for multiple
     17 NDKs: archiveZip will still work but the gamesdkZip target will fail.
     18