| /third_party/skia/third_party/externals/angle2/doc/ |
| D | DevSetupAndroid.md | 1 # ANGLE for Android 3 **Important note**: Android builds currently require Linux. 5 ## Setting up the ANGLE build for Android 8 gclient. Then edit your `.gclient` to add `target_os = ['android']` to check out Android 11 The following command will open a text editor to populate GN args for an Android Release build: 13 gn args out/Android 16 Once the editor is up, paste the following GN args to generate an Android build, and save the file. 18 target_os = "android" 23 use_goma = true # Googlers-only! If you're not a Googler remove this. 26 More targeted GN arg combinations can be found [below](#android-gn-args-combinations). [all …]
|
| D | ExternalBenchmarks.md | 14 GLES 2.0 and supports Linux and Android. It performs tens of tests and reports the framerate for 19 To build glmark2 on Linux: 24 $ ./waf configure --with-flavors=x11-glesv2 --data-path=$PWD/data/ 31 $ cd build/src 32 $ ./glmark2-es2 35 To run glmark2 using ANGLE, we need to first create a few links in the build directory of ANGLE: 39 $ ln -s libEGL.so libEGL.so.1 40 $ ln -s libGLESv2.so libGLESv2.so.2 46 $ cd /path/to/glmark2/build/src 47 $ LD_LIBRARY_PATH=/path/to/angle/out/release/ ldd ./glmark2-es2 [all …]
|
| D | DebuggingTips.md | 3 There are many ways to debug ANGLE using generic or platform-dependent tools. Here is a list of tips 23 `ldconfig -p | grep libGL`. 34 # edit samples/BUILD.gn and append "_static" to "angle_util", "libEGL", "libGLESv2" 35 ninja -C out/Debug 37 apitrace trace -o mytrace ./out/Debug/hello_triangle 43 Normally, ANGLE only logs errors and warnings (e.g. to Android logcat). General logging, or 49 ## Debug Angle on Android 51 Android is built as an Android APK, which makes it more difficult to debug an APK that is using ANG… 52 * You need to build ANGLE with debug symbols enabled. Assume your build variant is called Debug. Ma… 64 diff --git a/build/config/compiler/compiler.gni b/build/config/compiler/compiler.gni [all …]
|
| /third_party/skia/infra/bots/ |
| D | jobs.json | 2 {"name": "Build-Debian9-Clang-arm-Release-Flutter_Android_Docker"}, 3 {"name": "Build-Debian10-GCC-x86-Debug-Docker"}, 4 {"name": "Build-Debian10-GCC-x86-Release-Docker"}, 5 {"name": "Build-Debian10-GCC-x86_64-Debug-Docker"}, 6 {"name": "Build-Debian10-GCC-x86_64-Debug-NoGPU_Docker", 9 {"name": "Build-Debian10-GCC-x86_64-Release-Docker", 12 {"name": "Build-Debian10-GCC-x86_64-Release-NoGPU_Docker"}, 13 {"name": "Build-Debian10-GCC-x86_64-Release-Shared_Docker"}, 14 {"name": "Build-Debian10-Clang-arm-Debug-Android", 17 {"name": "Build-Debian10-Clang-arm-Debug-Android_Vulkan"}, [all …]
|
| /third_party/mesa3d/docs/ |
| D | android.rst | 1 Android title 4 Mesa hardware drivers can be built for Android one of two ways: built 5 into the Android OS using the Android.mk build system on older versions 6 of Android, or out-of-tree using the Meson build system and the 7 Android NDK. 9 The Android.mk build system has proven to be hard to maintain, as one 10 needs a built Android tree to build against, and it has never been 11 tested in CI. The meson build system flow is frequently used by 12 Chrome OS developers for building and testing Android drivers. 14 Building using the Android NDK [all …]
|
| /third_party/nghttp2/doc/sources/ |
| D | building-android-binary.rst | 1 Building Android binary 4 In this article, we briefly describe how to build Android binary using 5 `Android NDK <https://developer.android.com/ndk>`_ cross-compiler on 8 The easiest way to build android binary is use Dockerfile.android. 9 See Dockerfile.android for more details. If you cannot use 10 Dockerfile.android for whatever reason, continue to read the rest of 13 We offer ``android-config`` script to make the build easier. To make 17 .. code-block:: text 19 $ unzip android-ndk-$NDK_VERSION-linux.zip 20 $ cd android-ndk-$NDK_VERSION [all …]
|
| /third_party/nghttp2/ |
| D | Dockerfile.android | 2 # Dockerfile to build nghttp2 android binary 4 # $ sudo docker build -t nghttp2-android - < Dockerfile.android 6 # After successful build, android binaries are located under 7 # /root/build/nghttp2. You can copy the binary using docker cp. For 11 # $ sudo docker run -v /path/to/dest:/out nghttp2-android cp /root/build/nghttp2/src/nghttpx /out 14 # Only use standalone-toolchain for reduce size 19 ENV NDK /root/android-ndk-$NDK_VERSION 20 ENV TOOLCHAIN $NDK/toolchains/llvm/prebuilt/linux-x86_64 21 ENV TARGET aarch64-linux-android 23 ENV AR $TOOLCHAIN/bin/llvm-ar [all …]
|
| /third_party/skia/third_party/externals/angle2/third_party/bazel/desugar/ |
| D | stateful-lambdas.patch | 1 …--git a/src/tools/android/java/com/google/devtools/build/android/desugar/LambdaClassFixer.java b/s… 3 --- a/src/tools/android/java/com/google/devtools/build/android/desugar/LambdaClassFixer.java 4 +++ b/src/tools/android/java/com/google/devtools/build/android/desugar/LambdaClassFixer.java 5 @@ -93,7 +93,7 @@ class LambdaClassFixer extends ClassVisitor { 9 - hasState = false; 14 @@ -136,7 +136,7 @@ class LambdaClassFixer extends ClassVisitor { 18 - if (!lambdaInfo.needFactory() && !desc.startsWith("()")) { 23 @@ -156,10 +156,6 @@ class LambdaClassFixer extends ClassVisitor { 27 - checkState( 28 - !hasState || hasFactory, [all …]
|
| D | README.chromium | 9 Desugar is a Google-developed open-source Java library used by the build process 11 such as lambda experssions for Chrome on Android. 16 * Added BUILD.gn, proguard.flags. 24 https://docs.bazel.build/versions/master/install.html 25 * Apply stateful-lambdas.patch: 26 git apply $CHROMIUM_SRC/third_party/bazel/desugar/stateful-lambdas.patch 27 * Build Desugar_deploy.jar: 28 … bazel build //src/tools/android/java/com/google/devtools/build/android/desugar:Desugar_deploy.jar 31 …mv bazel-bin/src/tools/android/java/com/google/devtools/build/android/desugar/Desugar_deploy.jar $… 33 unzip Desugar.jar "com/google/devtools/build/android/desugar/runtime*" [all …]
|
| /third_party/f2fs-tools/.github/workflows/ |
| D | ci.yml | 1 # See also https://docs.github.com/en/actions/learn-github-actions/expressions 2 # See also https://github.com/marketplace/actions/setup-android-ndk 9 build: 10 runs-on: ubuntu-latest 12 fail-fast: false 14 build: 15 - android 16 - linux-gcc 17 - linux-clang 18 - linux-x86-gcc [all …]
|
| /third_party/libsnd/ |
| D | Building-for-Android.md | 1 # Building for Android 3 Assuming the Android Ndk is installed at location `/path/to/toolchain`, building 4 libsndfile for Android (arm-linux-androideabi) should be as simple as: 6 autoreconf -vif 7 export ANDROID_TOOLCHAIN_HOME=/path/to/android/toolchain 8 ./Scripts/android-configure.sh 11 The `Scripts/android-configure.sh` contains four of variables; `ANDROID_NDK_VER`, 15 Since I (erikd), do almost zero Android development, I am happy accept patches 16 for this documentation and script to improve its utility for real Android 19 --- [all …]
|
| /third_party/skia/third_party/externals/swiftshader/docs/ |
| D | dEQP.md | 7 ------------- 13 5. Install [MinGW-W64](http://mingw-w64.org/doku.php/download) 15 6. Install [Git](https://git-scm.com/download/win) 16 7. Install [Android Studio](https://developer.android.com/studio/index.html) 17 8. Run Android Studio and install Android SDK. 18 9. Set environment variables: Config Panel -> System and Security -> System -> Advanced system sett… 20 * Add `<path to MinGW-W64>\bin` to your PATH environment variable 23 …Note: abd is in the Android SDK, typically in `C:\Users\<username>\AppData\Local\Android\sdk\platf… 28 ---------------- 32 `git clone https://github.com/KhronosGroup/VK-GL-CTS` [all …]
|
| /third_party/mesa3d/.gitlab-ci/container/debian/ |
| D | android_build.sh | 3 set -ex 11 apt-get install -y --no-remove $EPHEMERAL 14 ndk=android-ndk-r21d 15 wget -O $ndk.zip https://dl.google.com/android/repository/$ndk-linux-x86_64.zip 16 unzip -d / $ndk.zip "$ndk/toolchains/llvm/*" 20 rdfind -makehardlinks true -makeresultsfile false /android-ndk-r21d/ 21 # Drop some large tools we won't use in this build. 22 find /android-ndk-r21d/ -type f | egrep -i "clang-check|clang-tidy|lldb" | xargs rm -f 24 sh .gitlab-ci/container/create-android-ndk-pc.sh /$ndk zlib.pc "" "-lz" "1.2.3" 26 sh .gitlab-ci/container/create-android-cross-file.sh /$ndk x86_64-linux-android x86_64 x86_64 [all …]
|
| /third_party/skia/third_party/externals/libjpeg-turbo/ |
| D | BUILDING.md | 1 Building libjpeg-turbo 5 Build Requirements 6 ------------------ 11 - [CMake](http://www.cmake.org) v2.8.12 or later 13 - [NASM](http://www.nasm.us) or [YASM](http://yasm.tortall.net) 14 (if building x86 or x86-64 SIMD extensions) 19 - NOTE: Currently, if it is desirable to hide the SIMD function symbols in 21 libjpeg-turbo, then NASM 2.14 or later or YASM must be used when 22 building libjpeg-turbo. 30 build and install NASM from a source RPM by downloading one of the SRPMs from [all …]
|
| /third_party/libwebsockets/READMEs/ |
| D | README.build-android.md | 1 # Building for Android NDK 3 If you have the ndk and prebuilt toolchains with that, you can simply build 4 lws library for your android app from one cmake and one make command. 13 Android Studio and then run `sdkmanager` to install a recent NDK. 15 I installed the sdk and ndk pieces into /opt/android/ and that's how the 16 `./contrib/cross-aarch64-android.cmake` toolchain file is shipped. You can 25 - /home/someone 26 - /home/someone/libwebsockets 27 - /home/someone/mbedtls 32 build it later. [all …]
|
| /third_party/skia/third_party/externals/oboe/samples/RhythmGame/test/ |
| D | run_tests.sh | 1 # Copyright 2018 The Android Open Source Project 7 # http://www.apache.org/licenses/LICENSE-2.0 16 # Script to build and run the Oboe tests on an attached Android device or emulator 19 # - CMake on PATH 20 # - ANDROID_NDK environment variable is set to your Android NDK location 21 # e.g. /Library/Android/sdk/ndk-bundle 22 # - Android device or emulator attached and accessible via adb 25 # Run this script from within the oboe/tests directory. A directory 'build' will be 32 # If you want to perform a clean build just delete the 'build' folder and re-run this script 39 BUILD_DIR=build [all …]
|
| /third_party/skia/tools/skqp/ |
| D | README.md | 4 SkQP (Skia Quality Program) is a component of the Android CTS (Compatablity 5 Test Suite) that tests an Android device's GPU and OpenGLES & Vulkan drivers 8 See https://skia.org/dev/testing/skqp for pre-build APKs. 10 How to build and run the SkQP tests 11 ----------------------------------- 15 - You will need Java JDK 8, `git`, and `python`. 17 …- Install Chromium's [depot\_tools](http://commondatastorage.googleapis.com/chrome-infra-docs/fl… 22 - Install the [Android NDK](https://developer.android.com/ndk/downloads/). 24 ( cd ~; unzip ~/Downloads/android-ndk-*.zip ) 25 ANDROID_NDK=$(ls -d ~/android-ndk-*) # Or wherever you installed the Android NDK. [all …]
|
| /third_party/skia/site/docs/user/sample/ |
| D | viewer.md | 2 --- 6 --- 10 * Observe rendering performance - placing the Viewer in stats mode displays average frame times. 11 * Try different rendering methods - it's possible to cycle among the three rendering methods: raste… 14 Some slides require resources stored outside the program. These resources are stored in the `<skia-… 17 ---------------------------- 19 The Viewer can be built using the regular GN build process, e.g. 21 bin/gn gen out/Release --args='is_debug=false' 22 ninja -C out/Release viewer 24 To load resources in the desktop Viewers, use the `--resourcePath` option: [all …]
|
| /third_party/skia/third_party/externals/oboe/tests/ |
| D | run_tests.sh | 3 # Copyright 2018 The Android Open Source Project 9 # http://www.apache.org/licenses/LICENSE-2.0 18 # Script to build and run the Oboe tests on an attached Android device or emulator 21 # - CMake on PATH. This is usually found in $ANDROID_HOME/cmake/<version>/bin. 22 # - ANDROID_NDK environment variable is set to your Android NDK location 23 # e.g. $HOME/Library/Android/sdk/ndk/<version> 24 # - Android device or emulator attached and accessible via adb 27 # - Run this script 28 # - Check the test results on your target device 31 # - Builds a test binary for the target architecture [all …]
|
| /third_party/vk-gl-cts/external/amber/src/kokoro/android/ |
| D | build.sh | 7 # http://www.apache.org/licenses/LICENSE-2.0 15 set -e # Fail on error 16 set -x # Display commands as run 22 export ANDROID_NDK="$BUILD_ROOT/android-ndk-r25b" 24 ANDROID_PLATFORM="android-14" 25 ANDROID_ABI="armeabi-v7a with NEON" 27 TOOLCHAIN_PATH="$ANDROID_NDK/build/cmake/android.toolchain.cmake" 29 # Disable git's "detected dubious ownership" error - kokoro checks out the repo with a different 31 git config --global --add safe.directory '*' 34 echo y | sudo apt-get purge --auto-remove cmake [all …]
|
| /third_party/skia/platform_tools/android/bin/ |
| D | android_build_universal_viewer | 4 # Use of this source code is governed by a BSD-style license that can be 26 python tools/git-sync-deps 27 git clean -fxd platform_tools/android/apps/$APP 28 mkdir -p platform_tools/android/apps/${APP}/src/main/assets 29 cp -a resources platform_tools/android/apps/${APP}/src/main/assets/ 32 BUILD=out/${APP}-$ARCH 33 mkdir -p "$BUILD" 34 make_gn > "${BUILD}/args.gn" 35 bin/gn gen $BUILD 36 ninja -C $BUILD $LIB [all …]
|
| /third_party/libuv/.github/workflows/ |
| D | CI-unix.yml | 1 name: CI-unix 6 - '**' 7 - '!docs/**' 8 - '!src/win/**' 9 - '!.**' 10 - '.github/workflows/CI-unix.yml' 13 - v[0-9].* 14 - master 17 build-linux: 18 runs-on: ubuntu-latest [all …]
|
| /third_party/libwebsockets/test-apps/android/app/ |
| D | app.iml | 1 <?xml version="1.0" encoding="UTF-8"?> 4 <facet type="android-gradle" name="Android-Gradle"> 9 <facet type="android" name="Android"> 26 <component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_7" inherit-compiler-output="false"> 27 <output url="file://$MODULE_DIR$/build/intermediates/classes/debug" /> 28 <output-test url="file://$MODULE_DIR$/build/intermediates/classes/test/debug" /> 29 <exclude-output /> 31 …<sourceFolder url="file://$MODULE_DIR$/build/generated/source/r/debug" isTestSource="false" genera… 32 …<sourceFolder url="file://$MODULE_DIR$/build/generated/source/aidl/debug" isTestSource="false" gen… 33 …<sourceFolder url="file://$MODULE_DIR$/build/generated/source/buildConfig/debug" isTestSource="fal… [all …]
|
| /third_party/vk-gl-cts/external/amber/src/ |
| D | README.md | 3 Amber is a multi-API shader test framework. 16 * Shaders can be expressed in binary form (as hex), in SPIR-V assembly, or in a 95 * Ninja (or other build tool) 103 ./tools/git-sync-deps 104 mkdir -p out/Debug 106 cmake -GNinja ../.. 114 `-DAMBER_ENABLE_SHARED_CRT`. 118 ### Android subsection 120 * Android build needs Android SDK 28, Android NDK r25b, Java 8. If you prefer 121 other versions of Android SDK, Android NDK, Java, then you can change [all …]
|
| /third_party/vk-gl-cts/external/amber/src/kokoro/ndk-build/ |
| D | build.sh | 8 # http://www.apache.org/licenses/LICENSE-2.0 16 set -e # fail on error 17 set -x # display commands 22 # Disable git's "detected dubious ownership" error - kokoro checks out the repo with a different 24 git config --global --add safe.directory '*' 27 export ANDROID_NDK="$BUILD_ROOT/android-ndk-r25b" 30 wget -q https://github.com/ninja-build/ninja/releases/download/v1.8.2/ninja-linux.zip 31 unzip -q ninja-linux.zip 34 # Get Android NDK. 35 wget -q https://dl.google.com/android/repository/android-ndk-r25b-linux.zip [all …]
|