Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1220)

Issue 64230043: code review 64230043: net, os: update packages to be compatible with An...

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 8 months ago by ernesto
Modified:
11 years, 8 months ago
Reviewers:
gobot, rsc, dave, golang-codereviews
CC:
bradfitz, minux1
Visibility:
Public.

Description

net, os: update packages to be compatible with Android (FOR DISCUSSION)ยง IMPORTANT: This is just a quick and dirty implementation for discussion and it is based on minux's previous work https://codereview.appspot.com/6454055 Changes: - dnsconfig needs to fetch name servers from Android's System properties. /etc/resolv.conf does not exist in Android. - temp directory is not in /tmp but /data/local/tmp Differences from minux's solution: - No need for Android NDK - No need to allow cross-compilation with cgo since Issue 4714 - Fix dnsconfig with quick and dirty solution using /system/bin/getprop I did use this solution to cross compile binaries for Android from darwin

Patch Set 1 #

Patch Set 2 : diff -r e430b5beb694 https://code.google.com/p/go #

Patch Set 3 : diff -r e430b5beb694 https://code.google.com/p/go #

Total comments: 12
Unified diffs Side-by-side diffs Delta from patch set Stats (+86 lines, -10 lines) Patch
A src/pkg/net/dnsconfig_android.go View 1 1 chunk +53 lines, -0 lines 9 comments Download
M src/pkg/net/dnsconfig_unix.go View 1 1 chunk +1 line, -1 line 0 comments Download
A src/pkg/os/file_android.go View 1 1 chunk +16 lines, -0 lines 2 comments Download
A src/pkg/os/file_no_android.go View 1 1 chunk +16 lines, -0 lines 1 comment Download
M src/pkg/os/file_unix.go View 1 1 chunk +0 lines, -9 lines 0 comments Download

Messages

Total messages: 5
ernesto
Hello golang-codereviews@googlegroups.com (cc: bradfitz@golang.org, minux.ma@gmail.com), I'd like you to review this change to https://code.google.com/p/go
11 years, 8 months ago (2014-02-15 01:11:30 UTC) #1
dave_cheney.net
A bunch of small comments. I don't have a position on android in the go ...
11 years, 8 months ago (2014-02-15 01:21:47 UTC) #2
minux1
I don't know whether the property storage format is stable or not (i guess it's ...
11 years, 8 months ago (2014-02-15 01:50:57 UTC) #3
gobot
R=golang-dev (assigned by dave@cheney.net)
11 years, 8 months ago (2014-02-23 23:56:41 UTC) #4
rsc
11 years, 8 months ago (2014-03-05 19:57:26 UTC) #5
R=close not for go 1.3
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b