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

Issue 22600003: Switch to using '-t ios' for grit (Closed)

Created:
7 years, 4 months ago by stuartmorgan
Modified:
7 years, 4 months ago
CC:
chromium-reviews, Patrick Dubroy, pam+watch_chromium.org, oshima+watch_chromium.org, jshin+watch_chromium.org, arv+watch_chromium.org, tfarina
Visibility:
Public.

Description

Switch to using '-t ios' for grit grit now supports passing '-t ios', which sets is_ios, and doesn't set is_macosx (matching the semantics of gyp). All instances of pp_ifdef('ios') change to is_ios, matching the syntax used by other platforms. Because this flips the setting of is_macosx for iOS, most places where code looked at is_macosx also now look for is_ios. This CL errs on the side of being behavior-preserving, adding is_ios checks in some places where they probably aren't needed, to avoid accidental regressions. In places where it's very obvious it's not needed, it hasn't been added. Also adds a missing is_ios to history.html, resolving drift from not-yet-upstreamed changes. BUG=227781 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=218386

Patch Set 1 #

Patch Set 2 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+157 lines, -159 lines) Patch
M build/common.gypi View 1 1 chunk +1 line, -2 lines 0 comments Download
M chrome/app/chromium_strings.grd View 1 6 chunks +11 lines, -11 lines 0 comments Download
M chrome/app/generated_resources.grd View 29 chunks +34 lines, -34 lines 0 comments Download
M chrome/app/google_chrome_strings.grd View 1 6 chunks +11 lines, -11 lines 0 comments Download
M chrome/app/resources/locale_settings.grd View 3 chunks +5 lines, -5 lines 0 comments Download
M chrome/app/resources/locale_settings_mac.grd View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/app/theme/theme_resources.grd View 1 26 chunks +41 lines, -41 lines 0 comments Download
M chrome/browser/browser_resources.grd View 1 5 chunks +9 lines, -10 lines 0 comments Download
M chrome/browser/resources/history/history.html View 1 4 chunks +9 lines, -9 lines 0 comments Download
M chrome/browser/resources/history/history_mobile.css View 1 2 chunks +2 lines, -2 lines 0 comments Download
chrome/browser/resources/translate_internals/prefs.html View 1 chunk +1 line, -1 line 0 comments Download
M chrome/renderer/resources/neterror.html View 1 9 chunks +9 lines, -9 lines 0 comments Download
M components/component_strings.grd View 1 chunk +2 lines, -2 lines 0 comments Download
M ui/base/strings/app_locale_settings.grd View 2 chunks +3 lines, -3 lines 0 comments Download
M ui/base/strings/app_locale_settings_ja.xtb View 1 chunk +1 line, -1 line 0 comments Download
M ui/base/strings/app_locale_settings_ko.xtb View 1 chunk +1 line, -1 line 0 comments Download
M ui/base/strings/app_locale_settings_zh-CN.xtb View 1 chunk +1 line, -1 line 0 comments Download
ui/base/strings/app_locale_settings_zh-TW.xtb View 1 chunk +1 line, -1 line 0 comments Download
M ui/base/strings/ui_strings.grd View 1 1 chunk +2 lines, -2 lines 0 comments Download
M ui/resources/ui_resources.grd View 8 chunks +8 lines, -8 lines 0 comments Download
M ui/webui/resources/css/overlay.css View 1 1 chunk +1 line, -1 line 0 comments Download
M ui/webui/resources/css/tree.css View 1 chunk +1 line, -1 line 0 comments Download
M ui/webui/resources/css/widgets.css View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 9 (0 generated)
stuartmorgan
rohitrao: for review darin: for OWNERS (since the UI OWNERS are out, it looks like)
7 years, 4 months ago (2013-08-07 16:50:37 UTC) #1
stuartmorgan
I should note that of course the is_ios stuff in chrome/ will eventually all be ...
7 years, 4 months ago (2013-08-07 16:51:32 UTC) #2
rohitrao (ping after 24h)
lgtm
7 years, 4 months ago (2013-08-07 17:07:21 UTC) #3
stuartmorgan
darin: ping for OWNERS
7 years, 4 months ago (2013-08-13 18:45:41 UTC) #4
darin (slow to review)
rubber stamp LGTM
7 years, 4 months ago (2013-08-13 18:49:18 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/stuartmorgan@chromium.org/22600003/1
7 years, 4 months ago (2013-08-19 22:12:13 UTC) #6
commit-bot: I haz the power
Failed to apply patch for chrome/app/generated_resources.grd: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 4 months ago (2013-08-19 22:12:37 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/stuartmorgan@chromium.org/22600003/9001
7 years, 4 months ago (2013-08-19 22:26:03 UTC) #8
commit-bot: I haz the power
7 years, 4 months ago (2013-08-20 01:01:17 UTC) #9
Message was sent while issue was closed.
Change committed as 218386

Powered by Google App Engine
This is Rietveld 408576698