You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Build Script in API-Samples are generated during upstream repo syncing up process. If for some reason (like using different stlport) you like to generate scripts yourself, the procedure described here might be helpful.
Follow instruction in upstream to install all required tools such as:
cmake
compiler (gcc)
python
others
Build shaderc in NDK. In a command-prompt navigate to “${ndk_root}/sources/third_party/shaderc” and run the following command
Samples by default choose gnustl_static, so shaderc needs to be built with gnustl_static too. When you want to use different stlport in the sample, shaderc should be be built with the same stlport flavor.
Sync external project and generate files. In a command-prompt navigate to repo root, run the following commands
./update_external_sources.sh -s -g
This process is required to build Hologram and demo sample.
Import "API Sample" project into Android Studio by choosing “Import project (Eclipse, ADT, Gradle)” and select build.gradle locating at the root of local your repo directory.