2
0
mirror of synced 2025-02-23 14:58:12 +00:00

cmd/gomobile: don't try to copy $GOROOT/include; no longer exists.

golang.org/cl/6361.

Change-Id: Id056efa8de166978e1385e5a683c9d512b33e3cf
Reviewed-on: https://go-review.googlesource.com/6402
Reviewed-by: David Crawshaw <crawshaw@golang.org>
This commit is contained in:
Hyang-Ah (Hana) Kim 2015-03-01 10:56:41 -05:00 committed by Hyang-Ah Hana Kim
parent ca953945bc
commit f13db43649
2 changed files with 1 additions and 2 deletions

View File

@ -483,7 +483,7 @@ func copyGoroot(dst, src string) error {
if err := mkdir(filepath.Join(dst, "pkg")); err != nil {
return err
}
for _, dir := range []string{"include", "lib", "src"} {
for _, dir := range []string{"lib", "src"} {
if err := copyAll(filepath.Join(dst, dir), filepath.Join(src, dir)); err != nil {
return err
}

View File

@ -66,7 +66,6 @@ rm -r -f "$NDKCCPATH"
mkdir -p $NDKCCPATH
WORK=GOPATH1/pkg/gomobile/android-{{.NDK}}/work
mkdir -p $WORK/go/pkg
cp -a $GOROOT/include $WORK/go/include
cp -a $GOROOT/lib $WORK/go/lib
cp -a $GOROOT/src $WORK/go/src
ln -s $GOROOT/.git $WORK/go/.git