Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(560)

Issue 9443018: Upstream Android's PathUtils implementation. (Closed)

Created:
8 years, 10 months ago by Peter Beverloo
Modified:
8 years, 8 months ago
CC:
chromium-reviews, brettw-cc_chromium.org, joth, John Grabowski, Satish, Yaron, navabi
Visibility:
Public.

Description

Upstream Android's PathUtils implementation. BUG= TEST= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=126624

Patch Set 1 #

Patch Set 2 : Patch #

Total comments: 2

Patch Set 3 : Patch #

Total comments: 11

Patch Set 4 : Patch #

Patch Set 5 : Patch (restored jni_generator argument) #

Total comments: 2

Patch Set 6 : Rebased patch #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+116 lines, -35 lines) Patch
M base/android/java/base.xml View 1 2 3 2 chunks +10 lines, -3 lines 0 comments Download
A base/android/java/org/chromium/base/CalledByNative.java View 1 2 3 1 chunk +19 lines, -0 lines 0 comments Download
D base/android/java/org/chromium/base/DeleteStaging.java View 1 2 3 1 chunk +0 lines, -16 lines 0 comments Download
A base/android/java/org/chromium/base/PathUtils.java View 1 2 3 1 chunk +44 lines, -0 lines 0 comments Download
M base/android/path_utils.cc View 1 2 3 2 chunks +14 lines, -7 lines 0 comments Download
M base/base.gyp View 1 2 3 4 5 1 chunk +23 lines, -0 lines 3 comments Download
M base/base.gypi View 1 2 3 2 chunks +4 lines, -2 lines 0 comments Download
M base/test/test_stub_android.cc View 1 2 3 1 chunk +0 lines, -7 lines 0 comments Download
M build/android/envsetup.sh View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 22 (0 generated)
Peter Beverloo
This change is dependent on Marcus' CL: http://codereview.chromium.org/9384011/ It includes the first non-test Java files, ...
8 years, 10 months ago (2012-02-23 13:50:27 UTC) #1
joth
some comments in drive-by. Do we have any plan/idea when the .java will be in ...
8 years, 10 months ago (2012-02-23 14:07:14 UTC) #2
Peter Beverloo
I believe jrg is working on adding the capability to compile Java, I'll defer to ...
8 years, 10 months ago (2012-02-23 14:39:21 UTC) #3
yfriedman
Last I heard, Armand will be working on compiling java. On Thu, Feb 23, 2012 ...
8 years, 10 months ago (2012-02-23 17:44:29 UTC) #4
bulach
not an owner, but lgtm with joth's comment and one nit below.. a few related ...
8 years, 10 months ago (2012-02-23 18:18:41 UTC) #5
Mark Mentovai
https://chromiumcodereview.appspot.com/9443018/diff/5002/base/android/path_utils.cc File base/android/path_utils.cc (right): https://chromiumcodereview.appspot.com/9443018/diff/5002/base/android/path_utils.cc#newcode43 base/android/path_utils.cc:43: Remove the extraneous blank line at the end of ...
8 years, 10 months ago (2012-02-23 18:43:33 UTC) #6
John Grabowski
I don't think we should land java without the ability to build it. It sets ...
8 years, 10 months ago (2012-02-26 08:25:58 UTC) #7
klobag.chromium
On 2012/02/26 08:25:58, John Grabowski wrote: > I don't think we should land java without ...
8 years, 10 months ago (2012-02-27 21:38:39 UTC) #8
klobag.chromium
http://codereview.chromium.org/9443018/diff/5002/base/android/java/PathUtils.java File base/android/java/PathUtils.java (right): http://codereview.chromium.org/9443018/diff/5002/base/android/java/PathUtils.java#newcode24 base/android/java/PathUtils.java:24: // TODO(beverloo) base/ should not know about "chrome": http://b/6057342 ...
8 years, 10 months ago (2012-02-27 21:38:59 UTC) #9
joth
On 27 February 2012 21:38, <klobag@chromium.org> wrote: > > http://codereview.chromium.**org/9443018/diff/5002/base/** > android/java/PathUtils.java<http://codereview.chromium.org/9443018/diff/5002/base/android/java/PathUtils.java> > File base/android/java/PathUtils.**java ...
8 years, 10 months ago (2012-02-28 11:20:20 UTC) #10
klobag.chromium
If we can use OFFICIAL_BUILD or GOOGLE_CHROME_BUILD to control, we can still keep "chrome" for ...
8 years, 9 months ago (2012-02-28 17:26:59 UTC) #11
Peter Beverloo
Thank you for the reviews! This amended patch changes Armand's stub Java file (r124134) with ...
8 years, 9 months ago (2012-02-29 15:40:22 UTC) #12
Yaron
I don't think we can land this until at least: 1) We actually get Java ...
8 years, 9 months ago (2012-02-29 16:55:14 UTC) #13
navabi
https://chromiumcodereview.appspot.com/9443018/diff/15001/build/android/envsetup.sh File build/android/envsetup.sh (right): https://chromiumcodereview.appspot.com/9443018/diff/15001/build/android/envsetup.sh#newcode50 build/android/envsetup.sh:50: export ANDROID_SDK_VERSION="15" On 2012/02/29 16:55:14, Yaron wrote: > I ...
8 years, 9 months ago (2012-02-29 18:23:52 UTC) #14
John Grabowski
LGTM Please rehit try server and be sure java builds
8 years, 9 months ago (2012-03-13 19:06:57 UTC) #15
Peter Beverloo
On 2012/03/13 19:06:57, John Grabowski wrote: > LGTM > > Please rehit try server and ...
8 years, 9 months ago (2012-03-13 19:09:45 UTC) #16
Mark Mentovai
https://chromiumcodereview.appspot.com/9443018/diff/23001/base/base.gyp File base/base.gyp (right): https://chromiumcodereview.appspot.com/9443018/diff/23001/base/base.gyp#newcode134 base/base.gyp:134: '<@(_inputs)', Do you really want to pass jni_generator.py back ...
8 years, 9 months ago (2012-03-13 20:16:21 UTC) #17
Peter Beverloo
https://chromiumcodereview.appspot.com/9443018/diff/23001/base/base.gyp File base/base.gyp (right): https://chromiumcodereview.appspot.com/9443018/diff/23001/base/base.gyp#newcode134 base/base.gyp:134: '<@(_inputs)', On 2012/03/13 20:16:21, Mark Mentovai wrote: > Do ...
8 years, 9 months ago (2012-03-13 20:18:50 UTC) #18
Mark Mentovai
That‘s very weird and should be fixed separately. LGTM then.
8 years, 9 months ago (2012-03-13 20:22:28 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/peter@chromium.org/9443018/23001
8 years, 9 months ago (2012-03-14 09:42:54 UTC) #20
commit-bot: I haz the power
Change committed as 126624
8 years, 9 months ago (2012-03-14 11:24:05 UTC) #21
Nico
8 years, 8 months ago (2012-04-03 18:51:05 UTC) #22
http://codereview.chromium.org/9443018/diff/23001/base/base.gyp
File base/base.gyp (right):

http://codereview.chromium.org/9443018/diff/23001/base/base.gyp#newcode122
base/base.gyp:122: 'action_name': 'generate_jni_headers',
This isn't done conditionally, so a `make all` creates jni headers even when not
building for android. It seems to be fairly fast so maybe that's ok, but it's a
bit surprising.

Powered by Google App Engine
This is Rietveld 408576698