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

Issue 12529025: Generate Android string files from generated_resources.grd. (Closed)

Created:
7 years, 9 months ago by newt (away)
Modified:
7 years, 9 months ago
Reviewers:
cjhopman, Yaron, Nico
CC:
chromium-reviews, klundberg+watch_chromium.org, frankf+watch_chromium.org, bulach+watch_chromium.org, yfriedman+watch_chromium.org, ilevy+watch_chromium.org
Visibility:
Public.

Description

Generate Android string files from generated_resources.grd. This enables Android layouts and Java code to use strings from generated_resources.grd directly. Strings tagged with formatter_data="android_java" in generated_resources.grd are used to produce an Android strings xml file. BUG=176069 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=190573

Patch Set 1 #

Patch Set 2 : renamed strings.xml files #

Total comments: 1

Patch Set 3 : line break nit #

Patch Set 4 : rebase #

Patch Set 5 : messy rebase, fixed call to aapt crunch #

Patch Set 6 : add output context so strings can be conditionally excluded from pak files #

Patch Set 7 : flip coin to decide which type of gyp variable expansion to use #

Unified diffs Side-by-side diffs Delta from patch set Stats (+232 lines, -177 lines) Patch
M build/android/process_resources.py View 1 2 3 4 5 chunks +14 lines, -11 lines 0 comments Download
M build/common.gypi View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M build/java.gypi View 1 2 3 4 5 6 6 chunks +24 lines, -19 lines 0 comments Download
M build/java_apk.gypi View 1 2 3 3 chunks +7 lines, -12 lines 0 comments Download
M chrome/android/java/strings/android_chrome_strings.grd View 1 1 chunk +43 lines, -43 lines 0 comments Download
M chrome/app/generated_resources.grd View 2 chunks +52 lines, -5 lines 0 comments Download
M chrome/chrome.gyp View 1 2 3 2 chunks +4 lines, -0 lines 0 comments Download
M content/public/android/java/strings/android_content_strings.grd View 1 1 chunk +43 lines, -43 lines 0 comments Download
M ui/android/java/strings/android_ui_strings.grd View 1 1 chunk +43 lines, -43 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
newt (away)
ready for review
7 years, 9 months ago (2013-03-18 23:24:51 UTC) #1
newt (away)
+yfriedman
7 years, 9 months ago (2013-03-18 23:26:04 UTC) #2
cjhopman
lgtm https://codereview.chromium.org/12529025/diff/2001/build/android/process_resources.py File build/android/process_resources.py (right): https://codereview.chromium.org/12529025/diff/2001/build/android/process_resources.py#newcode77 build/android/process_resources.py:77: '-J', options.R_dir] + res_dirs_args Maybe break before the ...
7 years, 9 months ago (2013-03-19 20:27:37 UTC) #3
newt (away)
+nico for chrome.gyp changes
7 years, 9 months ago (2013-03-19 21:26:44 UTC) #4
Nico
lgtm Since you're here: I cleaned up our grd resources a bit recently, and I ...
7 years, 9 months ago (2013-03-19 21:33:04 UTC) #5
newt (away)
These strings should move. I just checked and only one string actually matches this criterion ...
7 years, 9 months ago (2013-03-19 22:09:34 UTC) #6
newt (away)
@yfriedman: PTAL, thanks!
7 years, 9 months ago (2013-03-20 02:35:08 UTC) #7
Yaron
rubberstamp lgtm
7 years, 9 months ago (2013-03-20 18:18:02 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/newt@chromium.org/12529025/12001
7 years, 9 months ago (2013-03-20 19:32:42 UTC) #9
commit-bot: I haz the power
Failed to apply patch for build/java_apk.gypi: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 9 months ago (2013-03-20 19:32:48 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/newt@chromium.org/12529025/25002
7 years, 9 months ago (2013-03-20 20:32:19 UTC) #11
newt (away)
this is blocked on https://codereview.chromium.org/12609013/ which fixes resource issues in webview
7 years, 9 months ago (2013-03-21 18:47:19 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/newt@chromium.org/12529025/74001
7 years, 9 months ago (2013-03-26 01:15:19 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/newt@chromium.org/12529025/74001
7 years, 9 months ago (2013-03-26 06:52:21 UTC) #14
commit-bot: I haz the power
7 years, 9 months ago (2013-03-26 07:31:58 UTC) #15
Message was sent while issue was closed.
Change committed as 190573

Powered by Google App Engine
This is Rietveld 408576698