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

Issue 10802065: Android resource PAKs and native lib file path changes. (Closed)

Created:
8 years, 5 months ago by benm (inactive)
Modified:
8 years, 4 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, erikwright (departed), darin-cc_chromium.org, jam, brettw-cc_chromium.org
Visibility:
Public.

Description

Android requires some extra functionality to set the path to it's resource pak files and native libraries. This patch adds a new value to the PathService to implement the resource pak override and update the places that load pak files to take advantage of it. Also adds a function for embedders to set the path to native libraries. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=149842

Patch Set 1 #

Patch Set 2 : #

Total comments: 2

Patch Set 3 : Add PathService.java #

Total comments: 2

Patch Set 4 : rebase and update comment per joth@ suggestion #

Total comments: 6

Patch Set 5 : rebase and address brettw@ comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+93 lines, -32 lines) Patch
M base/android/base_jni_registrar.cc View 1 2 2 chunks +2 lines, -0 lines 0 comments Download
A base/android/java/src/org/chromium/base/PathService.java View 1 2 1 chunk +24 lines, -0 lines 0 comments Download
A + base/android/path_service.h View 1 2 1 chunk +4 lines, -5 lines 0 comments Download
A base/android/path_service.cc View 1 2 3 4 1 chunk +26 lines, -0 lines 0 comments Download
M base/base.gyp View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M base/base.gypi View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/common/chrome_paths.cc View 1 2 3 4 2 chunks +8 lines, -3 lines 0 comments Download
M ui/base/resource/resource_bundle.cc View 1 chunk +0 lines, -5 lines 0 comments Download
M ui/base/resource/resource_bundle_android.cc View 1 2 1 chunk +6 lines, -18 lines 0 comments Download
M ui/base/ui_base_paths.h View 1 2 3 2 chunks +6 lines, -1 line 0 comments Download
M ui/base/ui_base_paths.cc View 3 chunks +14 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
benm (inactive)
ptal!
8 years, 5 months ago (2012-07-23 14:34:39 UTC) #1
joth
https://chromiumcodereview.appspot.com/10802065/diff/2001/content/public/android/java/src/org/chromium/content/app/LibraryLoader.java File content/public/android/java/src/org/chromium/content/app/LibraryLoader.java (right): https://chromiumcodereview.appspot.com/10802065/diff/2001/content/public/android/java/src/org/chromium/content/app/LibraryLoader.java#newcode92 content/public/android/java/src/org/chromium/content/app/LibraryLoader.java:92: * Override the logic for inferring the path to ...
8 years, 5 months ago (2012-07-23 21:46:39 UTC) #2
benm (inactive)
http://codereview.chromium.org/10802065/diff/2001/content/public/android/java/src/org/chromium/content/app/LibraryLoader.java File content/public/android/java/src/org/chromium/content/app/LibraryLoader.java (right): http://codereview.chromium.org/10802065/diff/2001/content/public/android/java/src/org/chromium/content/app/LibraryLoader.java#newcode92 content/public/android/java/src/org/chromium/content/app/LibraryLoader.java:92: * Override the logic for inferring the path to ...
8 years, 5 months ago (2012-07-24 17:23:18 UTC) #3
benm (inactive)
Please take a look!
8 years, 4 months ago (2012-08-01 12:50:43 UTC) #4
benm (inactive)
8 years, 4 months ago (2012-08-01 12:52:34 UTC) #5
joth
lgtm but need someone more familiar with the paths & resources upstream to check too. ...
8 years, 4 months ago (2012-08-01 14:57:27 UTC) #6
benm (inactive)
Thanks joth! +sky, +willchan would you mind taking a look? Thanks!
8 years, 4 months ago (2012-08-01 15:03:30 UTC) #7
sky
LGTM
8 years, 4 months ago (2012-08-01 15:34:10 UTC) #8
benm (inactive)
+brettw as willchan is OOO. Brett would you mind taking a look? Thanks! http://codereview.chromium.org/10802065/diff/11001/ui/base/ui_base_paths.h File ...
8 years, 4 months ago (2012-08-02 16:09:19 UTC) #9
brettw
lgtm http://codereview.chromium.org/10802065/diff/23001/base/android/path_service.cc File base/android/path_service.cc (right): http://codereview.chromium.org/10802065/diff/23001/base/android/path_service.cc#newcode12 base/android/path_service.cc:12: #include "jni/PathService_jni.h" I'd probably not put the extra ...
8 years, 4 months ago (2012-08-02 19:38:53 UTC) #10
nilesh
Some drive by comments. http://codereview.chromium.org/10802065/diff/23001/base/android/java/src/org/chromium/base/PathService.java File base/android/java/src/org/chromium/base/PathService.java (right): http://codereview.chromium.org/10802065/diff/23001/base/android/java/src/org/chromium/base/PathService.java#newcode14 base/android/java/src/org/chromium/base/PathService.java:14: public static final int DIR_MODULE ...
8 years, 4 months ago (2012-08-03 00:48:52 UTC) #11
benm (inactive)
Thanks for looking folks! http://codereview.chromium.org/10802065/diff/23001/base/android/java/src/org/chromium/base/PathService.java File base/android/java/src/org/chromium/base/PathService.java (right): http://codereview.chromium.org/10802065/diff/23001/base/android/java/src/org/chromium/base/PathService.java#newcode14 base/android/java/src/org/chromium/base/PathService.java:14: public static final int DIR_MODULE ...
8 years, 4 months ago (2012-08-03 11:11:11 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/benm@chromium.org/10802065/14004
8 years, 4 months ago (2012-08-03 11:11:22 UTC) #13
commit-bot: I haz the power
8 years, 4 months ago (2012-08-03 12:43:31 UTC) #14
Change committed as 149842

Powered by Google App Engine
This is Rietveld 408576698