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

Unified Diff: android/patch_locale.sh

Issue 1000163003: Generate the icu data binaries at compile time instead of checking in binaries Base URL: https://chromium.googlesource.com/chromium/deps/icu.git@master
Patch Set: Fixed warnings in cross compiling Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « README.chromium ('k') | build_tools/PRESUBMIT.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android/patch_locale.sh
diff --git a/android/patch_locale.sh b/android/patch_locale.sh
index 1724a8af7ade7c6f70c46498667966360a3e5a66..ea970dd9662a685e4085a3655818d091b6c87a7f 100755
--- a/android/patch_locale.sh
+++ b/android/patch_locale.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Copyright (c) 2012 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
@@ -8,7 +8,7 @@
# TODO(jshin): Use ucurr_isAvailable in ICU to drop more currencies.
# See also http://en.wikipedia.org/wiki/List_of_circulating_currencies
# Copied from scripts/trim_data.sh. Need to refactor.
-for currency in $(grep -v '^#' currencies.list)
+for currency in $(grep -v '^#' $(dirname $0)/currencies.list)
do
OP=${KEEPLIST:+|}
KEEPLIST=${KEEPLIST}${OP}${currency}
@@ -134,6 +134,7 @@ done
COMMON_CALENDARS="gregorian|generic"
for i in locales/*.txt; do
CALENDARS="${COMMON_CALENDARS}"
+ EXTRA_CAL=
case $(basename $i .txt | sed 's/_.*$//') in
th)
EXTRA_CAL='buddhist'
« no previous file with comments | « README.chromium ('k') | build_tools/PRESUBMIT.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698