Home | History | Annotate | Download | only in Configurations

Lines Matching refs:ndk

26             my $ndk;
29 $ndk = $ENV{$ndk_var};
30 last if defined $ndk;
32 die "\$ANDROID_NDK_HOME is not defined" if (!$ndk);
33 my $is_standalone_toolchain = -f "$ndk/AndroidVersion.txt";
34 my $ndk_src_props = "$ndk/source.properties";
37 die "\$ANDROID_NDK_HOME=$ndk is invalid";
39 $ndk = canonpath($ndk);
63 $sysroot = "$ndk/sysroot";
75 if (-d "$ndk/platforms") {
79 } glob("$ndk/platforms/android-$api");
80 die "no $ndk/platforms/android-$api" if ($#platforms < 0);
87 my $path = "$ndk/meta/platforms.json";
105 # see if there is NDK clang on $PATH, "universal" or "standalone"
106 if (which("clang") =~ m|^$ndk/.*/prebuilt/([^/]+)/|) {
121 if (which("llvm-ar") =~ m|^$ndk/.*/prebuilt/([^/]+)/|) {
133 if (which("$triarch-$cc") !~ m|^$ndk|) {
134 die "no NDK $triarch-$cc on \$PATH";
139 die "no NDK clang on \$PATH";
141 if (which("$triarch-gcc") !~ m|^$ndk/.*/prebuilt/([^/]+)/|) {
142 die "no NDK $triarch-gcc on \$PATH";
150 my $incroot = "$ndk/sysroot/usr/include";
153 $incroot =~ s|^$ndk/||;
158 $sysroot =~ s|^$ndk/||;
219 # -march and/or -mfloat-abi flags. NDK defaults to armv5te.
220 # Newer NDK versions reportedly require additional -latomic.