Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for Android (0.21 sec)

  1. src/cmd/cgo/internal/test/cgo_stubs_android_test.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package cgotest
    
    import "testing"
    
    // Stubs for tests that fails to build on Android
    func test6997(t *testing.T)        {}
    func test8694(t *testing.T)        {}
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 359 bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/test/cgo_linux_test.go

    )
    
    func TestSetgid(t *testing.T) {
    	if runtime.GOOS == "android" {
    		t.Skip("unsupported on Android")
    	}
    	if _, err := os.Stat("/etc/alpine-release"); err == nil {
    		t.Skip("setgid is broken with musl libc - go.dev/issue/39857")
    	}
    	testSetgid(t)
    }
    
    func TestSetgidStress(t *testing.T) {
    	if runtime.GOOS == "android" {
    		t.Skip("unsupported on Android")
    	}
    	if _, err := os.Stat("/etc/alpine-release"); err == nil {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 1K bytes
    - Viewed (0)
  3. src/cmd/cgo/gcc.go

    	// property that it is sometimes (always?) a small integer instead of a real pointer.
    	// Note: although only the android JVMs are bad in this respect, we declare the JNI types
    	// bad regardless of platform, so the same Go code compiles on both android and non-android.
    	if parent, ok := jniTypes[dt.Name]; ok {
    		// Try to make sure we're talking about a JNI type, not just some random user's
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  4. misc/go_android_exec/README

    Android
    =======
    
    For details on developing Go for Android, see the documentation in the
    mobile subrepository:
    
    	https://github.com/golang/mobile
    
    To run the standard library tests, enable Cgo and use an appropriate
    C compiler from the Android NDK. For example,
    
    	CGO_ENABLED=1 \
    	GOOS=android \
    	GOARCH=arm64 \
    	CC_FOR_TARGET=$NDK/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android21-clang \
    	./all.bash
    
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon May 01 14:45:55 GMT 2023
    - 732 bytes
    - Viewed (0)
  5. misc/go_android_exec/main.go

    // TODO(#33974): use a more portable library for file locking.
    
    //go:build darwin || dragonfly || freebsd || illumos || linux || netbsd || openbsd
    
    // This program can be used as go_android_GOARCH_exec by the Go tool.
    // It executes binaries on an android device using adb.
    package main
    
    import (
    	"bytes"
    	"errors"
    	"fmt"
    	"io"
    	"log"
    	"os"
    	"os/exec"
    	"os/signal"
    	"path"
    	"path/filepath"
    	"regexp"
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon Aug 21 17:46:57 GMT 2023
    - 15.3K bytes
    - Viewed (0)
  6. src/cmd/cgo/internal/test/issue26213/jni.h

    // It's going to be hard to include a whole real JVM to test this.
    // So we'll simulate a really easy JVM using just the parts we need.
    
    // This is the relevant part of jni.h.
    
    // On Android NDK16, jobject is defined like this in C and C++
    typedef void* jobject;
    
    typedef jobject jclass;
    typedef jobject jthrowable;
    typedef jobject jstring;
    typedef jobject jarray;
    typedef jarray jbooleanArray;
    C
    - Registered: Tue Mar 26 11:13:08 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 874 bytes
    - Viewed (0)
  7. src/buildall.bash

    	set -e
    fi
    
    pattern="$1"
    if [ "$pattern" = "" ]; then
    	pattern=.
    fi
    
    ./make.bash || exit 1
    GOROOT="$(cd .. && pwd)"
    
    gettargets() {
    	../bin/go tool dist list | sed -e 's|/|-|' |
    		egrep -v '^(android|ios)' # need C toolchain even for cross-compiling
    	echo linux-arm-arm5
    }
    
    selectedtargets() {
    	gettargets | grep -E "$pattern"
    }
    
    # put linux first in the target list to get all the architectures up front.
    Shell Script
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Jul 27 17:32:27 GMT 2023
    - 2.1K bytes
    - Viewed (0)
  8. doc/go1.22.html

          method can be used to add customized constraints to root certificates to be applied during chain building.
        </p>
    
        <p><!-- https://go.dev/issue/58922, CL 519315-->
          On Android, root certificates will now be loaded from <code>/data/misc/keychain/certs-added</code> as well as <code>/system/etc/security/cacerts</code>.
        </p>
    
        <p><!-- https://go.dev/issue/60665, CL 520535 -->
    HTML
    - Registered: Tue Feb 06 11:13:10 GMT 2024
    - Last Modified: Wed Jan 31 20:51:56 GMT 2024
    - 45.6K bytes
    - Viewed (0)
Back to top