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

Issue 109013004: Use icudat*.dat file on Mac (Closed)

Created:
7 years ago by jungshik at Google
Modified:
6 years, 11 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, erikwright+watch_chromium.org, jam, jshin+watch_chromium.org
Visibility:
Public.

Description

Use icudat*.dat file on Mac 1. Set icu_use_data_file_flag to 1 in common.gypi 2. Add icudatl.dat to the resournce bundle list in chrome_dll_bundle.gypi and content_shell.gypi 3. Move ICU_UTIL_DATA_IMPL to base.gyp This CL has to be landed after https://codereview.chromium.org/111723007/ is landed and rolled in. (done in https://codereview.chromium.org/118313004/ ) Note to perf-sheriff: This CL adds ~10MB to the resource bundle while cutting down the same amount from the Chrome executable/binary. BUG=72633 TEST=All the Mac builds (static, shared) go through and tests (e.g. layout tests, base_unittests --gtest_filter=*String*, net_unittests --gtest_filter=*IDN*) loading the ICU data pass. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=247404

Patch Set 1 #

Patch Set 2 : add icudtl.dat only when icu_use_data_file_flag is set #

Total comments: 10

Patch Set 3 : move ICU_UTIL_DATA_IMPL to base.gyp #

Patch Set 4 : same as ps 3(git cl upload test) #

Total comments: 2

Patch Set 5 : mac_bunlde condition moved #

Patch Set 6 : add '==1' to icu_use_data_file_flag check #

Total comments: 2

Patch Set 7 : use PRODUCT_DIR instead of DEPTH #

Total comments: 1

Patch Set 8 : move icudtl.dat copy to content_shell framework target #

Unified diffs Side-by-side diffs Delta from patch set Stats (+42 lines, -29 lines) Patch
M base/base.gyp View 1 2 3 4 5 6 7 1 chunk +11 lines, -0 lines 0 comments Download
M build/common.gypi View 1 2 3 4 5 6 7 2 chunks +3 lines, -11 lines 0 comments Download
M chrome/chrome_dll_bundle.gypi View 1 2 3 4 5 6 1 chunk +5 lines, -0 lines 0 comments Download
M content/content_shell.gypi View 1 2 3 4 5 6 7 2 chunks +23 lines, -18 lines 0 comments Download

Messages

Total messages: 26 (0 generated)
jungshik at Google
Hi Mark, It's still WIP and didn't work if icu_use_data_file is NOT set to 1 ...
7 years ago (2013-12-18 17:53:28 UTC) #1
jungshik at Google
On 2013/12/18 17:53:28, Jungshik Shin wrote: > Hi Mark, > > It's still WIP and ...
7 years ago (2013-12-18 17:57:56 UTC) #2
Mark Mentovai
When you’re trying to change the value of this variable, how are you doing it? ...
7 years ago (2013-12-18 19:04:04 UTC) #3
Mark Mentovai
And are you getting the correct value for ICU_UTIL_DATA_IMPL?
7 years ago (2013-12-18 19:08:13 UTC) #4
jungshik at Google
Thanks for looking into it. I'll keep trying. :-) https://codereview.chromium.org/109013004/diff/20001/base/i18n/icu_util.cc File base/i18n/icu_util.cc (right): https://codereview.chromium.org/109013004/diff/20001/base/i18n/icu_util.cc#newcode36 base/i18n/icu_util.cc:36: ...
7 years ago (2013-12-18 19:53:19 UTC) #5
jungshik at Google
On 2013/12/18 19:08:13, Mark Mentovai wrote: > And are you getting the correct value for ...
7 years ago (2013-12-18 19:56:50 UTC) #6
Mark Mentovai
I took a second look and spotted the problem. https://codereview.chromium.org/109013004/diff/20001/chrome/chrome_dll_bundle.gypi File chrome/chrome_dll_bundle.gypi (right): https://codereview.chromium.org/109013004/diff/20001/chrome/chrome_dll_bundle.gypi#newcode228 chrome/chrome_dll_bundle.gypi:228: ...
7 years ago (2013-12-18 20:02:57 UTC) #7
Mark Mentovai
https://codereview.chromium.org/109013004/diff/20001/build/common.gypi File build/common.gypi (right): https://codereview.chromium.org/109013004/diff/20001/build/common.gypi#newcode2210 build/common.gypi:2210: 'defines': ['ICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE'], Thinking about this some more, it really ...
7 years ago (2013-12-18 20:16:07 UTC) #8
jungshik at Google
On 2013/12/18 20:02:57, Mark Mentovai wrote: > I took a second look and spotted the ...
7 years ago (2013-12-18 21:39:22 UTC) #9
jungshik at Google
On 2013/12/18 20:16:07, Mark Mentovai wrote: > https://codereview.chromium.org/109013004/diff/20001/build/common.gypi > File build/common.gypi (right): > > https://codereview.chromium.org/109013004/diff/20001/build/common.gypi#newcode2210 ...
7 years ago (2013-12-18 21:39:45 UTC) #10
jungshik at Google
On 2013/12/18 21:39:45, Jungshik Shin wrote: > On 2013/12/18 20:16:07, Mark Mentovai wrote: > > ...
7 years ago (2013-12-19 00:41:46 UTC) #11
jungshik at Google
avi@chromium.org: Please review/owner-approve changes in content_shell.gypi. Thanks
7 years ago (2013-12-19 00:42:37 UTC) #12
Avi (use Gerrit)
On 2013/12/19 00:42:37, Jungshik Shin wrote: > avi@chromium.org: Please review/owner-approve changes in content_shell.gypi. > Thanks ...
7 years ago (2013-12-19 07:14:28 UTC) #13
Mark Mentovai
https://codereview.chromium.org/109013004/diff/50001/chrome/chrome_dll_bundle.gypi File chrome/chrome_dll_bundle.gypi (right): https://codereview.chromium.org/109013004/diff/50001/chrome/chrome_dll_bundle.gypi#newcode228 chrome/chrome_dll_bundle.gypi:228: 'conditions': [ This “conditions” block still overwrites the one ...
7 years ago (2013-12-19 14:51:17 UTC) #14
jungshik at Google
On 2013/12/19 14:51:17, Mark Mentovai wrote: > https://codereview.chromium.org/109013004/diff/50001/chrome/chrome_dll_bundle.gypi > File chrome/chrome_dll_bundle.gypi (right): > > https://codereview.chromium.org/109013004/diff/50001/chrome/chrome_dll_bundle.gypi#newcode228 ...
7 years ago (2013-12-20 11:45:49 UTC) #15
Mark Mentovai
LGTM. I think you can use <(PRODUCT_DIR) now that you fixed the gyp files in ...
7 years ago (2013-12-20 14:27:34 UTC) #16
Avi (use Gerrit)
LGTM stamp now that Mark is happy.
7 years ago (2013-12-20 16:27:10 UTC) #17
jungshik at Google
On 2013/12/20 16:27:10, Avi wrote: > LGTM stamp now that Mark is happy. Thank you, ...
6 years, 11 months ago (2014-01-03 21:00:40 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jshin@chromium.org/109013004/150001
6 years, 11 months ago (2014-01-21 23:48:59 UTC) #19
commit-bot: I haz the power
Retried try job too often on mac_rel for step(s) app_list_unittests, cacheinvalidation_unittests, cc_unittests, check_deps, check_deps2git, chromedriver_unittests, ...
6 years, 11 months ago (2014-01-22 02:53:39 UTC) #20
jungshik at Google
On 2014/01/22 02:53:39, I haz the power (commit-bot) wrote: > Retried try job too often ...
6 years, 11 months ago (2014-01-22 19:23:18 UTC) #21
jungshik at Google
https://codereview.chromium.org/109013004/diff/150001/content/content_shell.gypi File content/content_shell.gypi (right): https://codereview.chromium.org/109013004/diff/150001/content/content_shell.gypi#newcode481 content/content_shell.gypi:481: }], I'll move this under content_shell_framework target
6 years, 11 months ago (2014-01-22 19:38:41 UTC) #22
jungshik at Google
On 2014/01/22 19:38:41, Jungshik Shin wrote: > https://codereview.chromium.org/109013004/diff/150001/content/content_shell.gypi > File content/content_shell.gypi (right): > > https://codereview.chromium.org/109013004/diff/150001/content/content_shell.gypi#newcode481 ...
6 years, 11 months ago (2014-01-22 20:24:30 UTC) #23
jungshik at Google
On 2014/01/22 20:24:30, Jungshik Shin wrote: > On 2014/01/22 19:38:41, Jungshik Shin wrote: > > ...
6 years, 11 months ago (2014-01-22 20:48:18 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jshin@chromium.org/109013004/440001
6 years, 11 months ago (2014-01-27 23:59:34 UTC) #25
commit-bot: I haz the power
6 years, 11 months ago (2014-01-28 06:00:06 UTC) #26
Message was sent while issue was closed.
Change committed as 247404

Powered by Google App Engine
This is Rietveld 408576698