Home
last modified time | relevance | path

Searched +full:android +full:- +full:ndk (Results 1 – 25 of 239) sorted by relevance

12345678910

/third_party/mesa3d/.gitlab-ci/container/debian/
Dandroid_build.sh3 set -ex
11 apt-get install -y --no-remove $EPHEMERAL
13 # Fetch the NDK and extract just the toolchain we want.
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/*"
17 rm $ndk.zip
20 rdfind -makehardlinks true -makeresultsfile false /android-ndk-r21d/
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"
[all …]
/third_party/nghttp2/doc/sources/
Dbuilding-android-binary.rst1 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
14 the script work, NDK directory must be set to ``NDK`` environment
15 variable. NDK directory is the directory where NDK is unpacked:
17 .. code-block:: text
[all …]
/third_party/openssl/
DNOTES-ANDROID.md1 Notes for Android platforms
5 -------------------
7 Beside basic tools like perl and make you'll need to download the Android
8 NDK. It's available for Linux, macOS and Windows, but only Linux
11 suitable, MSYS2 might have best chances. NDK version should play lesser
15 -------------
17 Android is a cross-compiled target and you can't rely on `./Configure`
19 target explicitly; there are `android-arm`, `android-arm64`, `android-mips`,
20 `android-mip64`, `android-x86` and `android-x86_64` (`*MIPS` targets are no
21 longer supported with NDK R20+).
[all …]
/third_party/openssl/Configurations/
D15-android.conf1 #### Android...
3 # See NOTES-Android.md for details, and don't miss platform-specific
11 arm => "arm-linux-androideabi",
12 arm64 => "aarch64-linux-android",
13 mips => "mipsel-linux-android",
14 mips64 => "mips64el-linux-android",
15 x86 => "i686-linux-android",
16 x86_64 => "x86_64-linux-android",
21 if ($now_printing =~ m|^android|) {
26 my $ndk;
[all …]
/third_party/vk-gl-cts/external/amber/src/kokoro/ndk-build/
Dbuild.sh8 # 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 '*'
26 # NDK Path
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.
[all …]
/third_party/f2fs-tools/.github/workflows/
Dci.yml1 # See also https://docs.github.com/en/actions/learn-github-actions/expressions
2 # See also https://github.com/marketplace/actions/setup-android-ndk
10 runs-on: ubuntu-latest
12 fail-fast: false
15 - android
16 - linux-gcc
17 - linux-clang
18 - linux-x86-gcc
19 - linux-powerpc64-gcc
20 - linux-mingw64-gcc
[all …]
/third_party/libwebsockets/READMEs/
DREADME.build-android.md1 # 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.
10 ## Installing NDK pieces
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
[all …]
/third_party/nghttp2/
DDockerfile.android2 # Dockerfile to build nghttp2 android binary
4 # $ sudo docker build -t nghttp2-android - < Dockerfile.android
6 # After successful build, android binaries are located under
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
24 ENV CC $TOOLCHAIN/bin/$TARGET$API-clang
[all …]
/third_party/rust/crates/libc/ci/
Dandroid-install-ndk.sh3 set -ex
5 NDK=android-ndk-r26b
6 wget --tries=20 -q https://dl.google.com/android/repository/${NDK}-linux.zip
7 unzip -q ${NDK}-linux.zip
9 mv ./${NDK}/toolchains/llvm/prebuilt/linux-x86_64 /android
11 rm -rf ./${NDK}-linux.zip ./${NDK}
/third_party/toybox/tests/
Dfile.test3 [ -f testing.sh ] && . testing.sh
12 echo "6465780a3033350038ca8f6ce910f94e" | xxd -r -p > android.dex
13 ln -s $FILES/java.class symlink
15 ln -s $FILES/java.klass dangler
24 testing "utf-8" "file $FILES/utf8/japan.txt | sed 's|$FILES/||'" \
25 "utf8/japan.txt: UTF-8 text\n" "" ""
38 testing "Android .dex" "file android.dex" "android.dex: Android dex file, version 035\n" "" ""
40 # These actually test a lot of the ELF code: 32-/64-bit, arm/arm64, PT_INTERP,
41 # the two kinds of NDK ELF note, BuildID, and stripped/not stripped.
42 toyonly testing "Android NDK full ELF note" \
[all …]
/third_party/skia/tools/skqp/
DREADME.md4 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.
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.
27 - Install the [Android SDK](https://developer.android.com/studio/#command-tools).
[all …]
/third_party/skia/third_party/externals/libpng/contrib/arm-neon/
Dandroid-ndk.c1 /* contrib/arm-neon/android-ndk.c
3 * Copyright (c) 2014 Glenn Randers-Pehrson
11 * SEE contrib/arm-neon/README before reporting bugs
14 * BUG REPORTS: png-mng-implement@sourceforge.net
16 * png_have_neon implemented for the Android NDK, see:
19 * http://www.kandroid.org/ndk/docs/CPU-ARM-NEON.html
20 * https://code.google.com/p/android/issues/detail?id=49065
22 * NOTE: this requires that libpng is built against the Android NDK and linked
23 * with an implementation of the Android ARM 'cpu-features' library. The code
25 * only the header files exist in the NDK.
[all …]
/third_party/skia/third_party/externals/oboe/tests/
DREADME.md7 1. Connect an Android device or start the Android emulator
12 …and executed one of the Oboe examples or OboeTester. That ensures that the NDK and cmake is instal…
20 cmake --version
24 export ANDROID_HOME=$HOME/Library/Android/sdk
28 export ANDROID_HOME=$HOME/Android/Sdk
30 Now we need to determine the latest installed version of the NDK. Enter:
32 ls $ANDROID_HOME/ndk
36 export ANDROID_NDK=$ANDROID_HOME/ndk/21.0.6113669/
45 cmake --version
54 You may need to enter \<control-c\> to exit the script.
[all …]
/third_party/skia/third_party/externals/libjpeg-turbo/
DBUILDING.md1 Building libjpeg-turbo
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.
36 ARCH=`uname -m`
37 rpmbuild --rebuild nasm-{version}.src.rpm
[all …]
/third_party/mesa3d/docs/
Dandroid.rst1 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
12 Chrome OS developers for building and testing Android drivers.
14 Building using the Android NDK
15 ------------------------------
[all …]
/third_party/vk-gl-cts/external/amber/src/kokoro/android/
Dbuild.sh7 # 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/libwebsockets/contrib/
Dcross-aarch64-android.cmake2 # CMake Toolchain file for crosscompiling Android / aarch64
6 # cmake .. -DCMAKE_TOOLCHAIN_FILE=contrib/cross-aarch64-android.cmake
13 set(NDK /opt/android/ndk/21.1.6352462/) variable
14 set(CROSS_SYSROOT "${NDK}/platforms/android-${ANDROID_API_VER}/arch-${ABARCH1}")
15 set(BUILD_ARCH linux-x86_64)
20 set(TC_PATH ${NDK}/toolchains/llvm/prebuilt/${BUILD_ARCH})
21 set(TC_BASE ${TC_PATH}/bin/${CMAKE_SYSTEM_PROCESSOR}-linux-android)
22 set(PLATFORM android)
24 set(CMAKE_C_COMPILER "${TC_BASE}${ANDROID_API_VER}-clang")
25 set(CMAKE_CXX_COMPILER "${TC_BASE}${ANDROID_API_VER}-clang++")
[all …]
/third_party/skia/third_party/externals/angle2/doc/
DExternalBenchmarks.md14 GLES 2.0 and supports Linux and Android. It performs tens of tests and reports the framerate for
24 $ ./waf configure --with-flavors=x11-glesv2 --data-path=$PWD/data/
32 $ ./glmark2-es2
39 $ ln -s libEGL.so libEGL.so.1
40 $ ln -s libGLESv2.so libGLESv2.so.2
47 $ LD_LIBRARY_PATH=/path/to/angle/out/release/ ldd ./glmark2-es2
53 To run glmark2 on the default back-end of ANGLE:
56 $ LD_LIBRARY_PATH=/path/to/angle/out/release/ ./glmark2-es2
59 To run glmark2 on a specific back-end of ANGLE:
62 $ ANGLE_DEFAULT_PLATFORM=vulkan LD_LIBRARY_PATH=/path/to/angle/out/release/ ./glmark2-es2
[all …]
/third_party/vk-gl-cts/scripts/android/
Dbuild_apk.py1 # -*- coding: utf-8 -*-
3 #-------------------------------------------------------------------------
5 # --------------------------------------
7 # Copyright 2017 The Android Open Source Project
13 # http://www.apache.org/licenses/LICENSE-2.0
21 #-------------------------------------------------------------------------
23 # \todo [2017-04-10 pyry]
25 # * cmake -E copy_directory doesn't copy timestamps which will cause
26 # assets to be always re-packaged
27 # * Consider adding an option for downloading SDK & NDK
[all …]
/third_party/libsnd/Scripts/
Dandroid-configure.sh1 #!/bin/bash -e
3 # Copyright (C) 2013-2016 Erik de Castro Lopo <erikd@mega-nerd.com>
29 # Android NDK version number; eg r10, r10b etc
30 ANDROID_NDK_VER=${ANDROID_NDK_VER:-r10}
32 # Android NDK gcc version; eg 4.8, 4.9 etc.
33 ANDROID_GCC_VER=${ANDROID_GCC_VER:-4.9}
35 # Android API version; eg 14 (Android 4.0), 21 (Android 5.0) etc.
36 ANDROID_API_VER=${ANDROID_API_VER:-14}
38 ANDROID_TARGET=${ANDROID_TARGET:-arm-linux-androideabi}
40 if test -z ${ANDROID_TOOLCHAIN_HOME} ; then
[all …]
/third_party/skia/site/docs/user/sample/
Dviewer.md2 ---
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 ----------------------------
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:
26 <skia-path>/out/Release/viewer --resourcePath <skia-path>/resources
[all …]
/third_party/skia/third_party/externals/oboe/
Dbuild_all_android.sh1 # Copyright 2017 The Android Open Source Project
7 # http://www.apache.org/licenses/LICENSE-2.0
15 # Script to build Oboe for multiple Android ABIs and prepare them for distribution
18 # Ensure that ANDROID_NDK environment variable is set to your Android NDK location
19 # e.g. /Library/Android/sdk/ndk-bundle
23 if [ -z "$ANDROID_NDK" ]; then
24 echo "Please set ANDROID_NDK to the Android NDK folder"
31 CMAKE_ARGS="-H. \
32 -DBUILD_SHARED_LIBS=true \
33 -DCMAKE_BUILD_TYPE=Release \
[all …]
/third_party/mesa3d/include/android_stub/android/
Dsync.h10 * http://www.apache.org/licenses/LICENSE-2.0
22 /* This file contains the legacy sync interface used by Android platform and
24 * transitions to using the updated interface in ndk/sync.h. When this file is
25 * empty other than the ndk/sync.h include, that file will be renamed to
28 * New code should continue to include this file (#include <android/sync.h>)
29 * instead of ndk/sync.h so the eventual rename is seamless, but should only
30 * use the things declared in ndk/sync.h.
33 * platform and NDK call it android/sync.h. A symlink from the old name to this
40 #include "../ndk/sync.h"
/third_party/mesa3d/include/android_stub/sync/
Dsync.h10 * http://www.apache.org/licenses/LICENSE-2.0
22 /* This file contains the legacy sync interface used by Android platform and
24 * transitions to using the updated interface in ndk/sync.h. When this file is
25 * empty other than the ndk/sync.h include, that file will be renamed to
28 * New code should continue to include this file (#include <android/sync.h>)
29 * instead of ndk/sync.h so the eventual rename is seamless, but should only
30 * use the things declared in ndk/sync.h.
33 * platform and NDK call it android/sync.h. A symlink from the old name to this
40 #include "../ndk/sync.h"
/third_party/mesa3d/.gitlab-ci/container/
Dcreate-android-ndk-pc.sh3 # Makes a .pc file in the Android NDK for meson to find its libraries.
5 set -ex
7 ndk="$1"
13 sysroot=$ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot
16 x86_64-linux-android \
17 i686-linux-android \
18 aarch64-linux-android \
19 arm-linux-androideabi; do
21 mkdir -p $pcdir
35 Libs: -L$sysroot/usr/lib/$arch/29 $libs
[all …]

12345678910