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

Issue 53793002: Initial implementation of Chrome Early Loading Framework (Closed)

Created:
7 years, 1 month ago by Cait (Slow)
Modified:
4 years, 8 months ago
CC:
grt+watch_chromium.org
Visibility:
Public.

Description

Chrome Early Loading Framework chrome_elf.dll is shipped in Chrome's version directory to ease updates, and is loaded early in chrome.exe's lifetime by making it a private assembly in a subfolder of chrome.exe's folder (see http://msdn.microsoft.com/library/aa374224.aspx). BUG= http://crosbug.com/p/23889 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=234795

Patch Set 1 #

Total comments: 7

Patch Set 2 : Manifests #

Patch Set 3 : Assemblies #

Total comments: 19

Patch Set 4 : Clean up #

Total comments: 8

Patch Set 5 : Generate manifest via gyp #

Total comments: 20

Patch Set 6 : Comments #

Patch Set 7 : config fix #

Total comments: 3

Patch Set 8 : Actions and installer tests #

Total comments: 3

Patch Set 9 : Move InitChromeElf to after the fast notify #

Total comments: 22

Patch Set 10 : #

Total comments: 5

Patch Set 11 : Move elf init call back under fast notify #

Unified diffs Side-by-side diffs Delta from patch set Stats (+198 lines, -34 lines) Patch
M chrome/app/DEPS View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M chrome/app/chrome_exe_main_win.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +5 lines, -0 lines 0 comments Download
M chrome/chrome_exe.gypi View 1 2 3 4 5 6 7 3 chunks +14 lines, -0 lines 0 comments Download
M chrome/installer/mini_installer/chrome.release View 1 2 3 4 5 6 7 8 9 10 1 chunk +8 lines, -0 lines 0 comments Download
M chrome/test/mini_installer/config/chrome_system_installed.prop View 1 2 3 4 5 6 7 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/test/mini_installer/config/chrome_user_installed.prop View 1 2 3 4 5 6 7 1 chunk +4 lines, -0 lines 0 comments Download
A + chrome_elf/DEPS View 1 2 3 4 5 6 7 8 9 0 chunks +-1 lines, --1 lines 0 comments Download
A chrome_elf/OWNERS View 1 2 3 9 1 chunk +3 lines, -0 lines 0 comments Download
A chrome_elf/README View 1 2 3 4 5 6 7 8 9 10 1 chunk +15 lines, -0 lines 0 comments Download
A chrome_elf/chrome_elf.def View 1 2 3 4 9 1 chunk +4 lines, -0 lines 0 comments Download
A + chrome_elf/chrome_elf.gyp View 1 2 3 4 5 6 7 9 1 chunk +26 lines, -24 lines 0 comments Download
A + chrome_elf/chrome_elf_main.h View 1 2 3 4 9 1 chunk +10 lines, -11 lines 0 comments Download
A chrome_elf/chrome_elf_main.cc View 1 2 3 4 5 6 7 8 9 1 chunk +16 lines, -0 lines 0 comments Download
A chrome_elf/chrome_exe_manifest.template View 1 2 3 9 1 chunk +10 lines, -0 lines 0 comments Download
A chrome_elf/chrome_exe_manifest_action.gypi View 1 2 3 4 5 6 7 9 1 chunk +34 lines, -0 lines 0 comments Download
A chrome_elf/version_assembly_manifest.template View 1 2 3 4 9 1 chunk +8 lines, -0 lines 0 comments Download
A chrome_elf/version_assembly_manifest_action.gypi View 1 2 3 4 5 6 7 8 9 1 chunk +37 lines, -0 lines 0 comments Download

Messages

Total messages: 35 (0 generated)
gab
Some comments below. Cheers! Gab https://codereview.chromium.org/53793002/diff/1/chrome/app/chrome_exe_main_win.cc File chrome/app/chrome_exe_main_win.cc (right): https://codereview.chromium.org/53793002/diff/1/chrome/app/chrome_exe_main_win.cc#newcode109 chrome/app/chrome_exe_main_win.cc:109: InitHelper(); rename to InitElf()? ...
7 years, 1 month ago (2013-10-31 13:44:30 UTC) #1
robertshield
https://codereview.chromium.org/53793002/diff/1/chrome/installer/mini_installer/chrome.release File chrome/installer/mini_installer/chrome.release (right): https://codereview.chromium.org/53793002/diff/1/chrome/installer/mini_installer/chrome.release#newcode24 chrome/installer/mini_installer/chrome.release:24: chrome_elf.dll: %(VersionDir)s\ On 2013/10/31 13:44:31, gab wrote: > alpha ...
7 years, 1 month ago (2013-11-05 02:23:55 UTC) #2
robertshield
Also, please add an OWNERs file under chrome_elf/
7 years, 1 month ago (2013-11-05 02:25:52 UTC) #3
grt (UTC plus 2)
https://codereview.chromium.org/53793002/diff/100001/chrome/chrome_elf.gypi File chrome/chrome_elf.gypi (right): https://codereview.chromium.org/53793002/diff/100001/chrome/chrome_elf.gypi#newcode8 chrome/chrome_elf.gypi:8: 'target_name': 'chrome_elf', does this target depend on anything in ...
7 years, 1 month ago (2013-11-05 03:08:36 UTC) #4
Cait (Slow)
Thanks! -- Here is a more cleaned up version. https://codereview.chromium.org/53793002/diff/100001/chrome/chrome_elf.gypi File chrome/chrome_elf.gypi (right): https://codereview.chromium.org/53793002/diff/100001/chrome/chrome_elf.gypi#newcode8 chrome/chrome_elf.gypi:8: ...
7 years, 1 month ago (2013-11-05 05:39:06 UTC) #5
gab
Looks great :)! https://codereview.chromium.org/53793002/diff/180001/chrome/app/DEPS File chrome/app/DEPS (right): https://codereview.chromium.org/53793002/diff/180001/chrome/app/DEPS#newcode11 chrome/app/DEPS:11: "+chrome_elf/chrome_elf_main.h", nit: chrome_ comes before chromeos ...
7 years, 1 month ago (2013-11-05 16:43:20 UTC) #6
grt (UTC plus 2)
https://codereview.chromium.org/53793002/diff/180001/chrome/tools/build/win/create_installer_archive.py File chrome/tools/build/win/create_installer_archive.py (right): https://codereview.chromium.org/53793002/diff/180001/chrome/tools/build/win/create_installer_archive.py#newcode369 chrome/tools/build/win/create_installer_archive.py:369: with open(os.path.join(version_dir, manifest_name), 'w') as f: On 2013/11/05 16:43:20, ...
7 years, 1 month ago (2013-11-05 20:56:05 UTC) #7
Cait (Slow)
Ok -- I think we're about ready for OWNERS. Greg: can you take a quick ...
7 years, 1 month ago (2013-11-06 00:30:15 UTC) #8
Cait (Slow)
[+darin] for owners
7 years, 1 month ago (2013-11-06 00:36:01 UTC) #9
gab
Please augment the CL description as such: This CL makes it such that chrome_elf.dll is ...
7 years, 1 month ago (2013-11-06 16:07:24 UTC) #10
grt (UTC plus 2)
On 2013/11/06 16:07:24, gab wrote: > Please augment the CL description as such: Personally, I ...
7 years, 1 month ago (2013-11-06 18:46:49 UTC) #11
grt (UTC plus 2)
https://codereview.chromium.org/53793002/diff/300001/chrome/chrome.gyp File chrome/chrome.gyp (right): https://codereview.chromium.org/53793002/diff/300001/chrome/chrome.gyp#newcode124 chrome/chrome.gyp:124: '../chrome_elf/chrome_elf.gypi', remove this as per comment in chrome_elf.gypi https://codereview.chromium.org/53793002/diff/300001/chrome/chrome_exe.gypi ...
7 years, 1 month ago (2013-11-06 19:07:28 UTC) #12
gab
On 2013/11/06 18:46:49, grt wrote: > On 2013/11/06 16:07:24, gab wrote: > > Please augment ...
7 years, 1 month ago (2013-11-06 19:48:53 UTC) #13
grt (UTC plus 2)
On 2013/11/06 19:48:53, gab wrote: > On 2013/11/06 18:46:49, grt wrote: > > On 2013/11/06 ...
7 years, 1 month ago (2013-11-06 19:53:19 UTC) #14
Cait (Slow)
darin: friendly ping -- thanks! https://codereview.chromium.org/53793002/diff/300001/chrome/chrome.gyp File chrome/chrome.gyp (right): https://codereview.chromium.org/53793002/diff/300001/chrome/chrome.gyp#newcode124 chrome/chrome.gyp:124: '../chrome_elf/chrome_elf.gypi', On 2013/11/06 19:07:29, ...
7 years, 1 month ago (2013-11-06 21:18:05 UTC) #15
gab
https://codereview.chromium.org/53793002/diff/300001/chrome/installer/mini_installer/chrome.release File chrome/installer/mini_installer/chrome.release (right): https://codereview.chromium.org/53793002/diff/300001/chrome/installer/mini_installer/chrome.release#newcode25 chrome/installer/mini_installer/chrome.release:25: *.*.*.*.manifest: %(VersionDir)s\ On 2013/11/06 21:18:06, Cait Phillips wrote: > ...
7 years, 1 month ago (2013-11-06 22:28:26 UTC) #16
grt (UTC plus 2)
Please augment the test framework in chrome/test/mini_installer so that it tests for the elf and ...
7 years, 1 month ago (2013-11-07 03:04:22 UTC) #17
cpu_(ooo_6.6-7.5)
https://codereview.chromium.org/53793002/diff/520001/chrome/app/chrome_exe_main_win.cc File chrome/app/chrome_exe_main_win.cc (right): https://codereview.chromium.org/53793002/diff/520001/chrome/app/chrome_exe_main_win.cc#newcode113 chrome/app/chrome_exe_main_win.cc:113: can we do the init after the fast notify? ...
7 years, 1 month ago (2013-11-07 19:29:32 UTC) #18
Cait (Slow)
Hi Carlos: PTAL -- thanks! https://codereview.chromium.org/53793002/diff/300001/chrome/installer/mini_installer/chrome.release File chrome/installer/mini_installer/chrome.release (right): https://codereview.chromium.org/53793002/diff/300001/chrome/installer/mini_installer/chrome.release#newcode25 chrome/installer/mini_installer/chrome.release:25: *.*.*.*.manifest: %(VersionDir)s\ On 2013/11/06 ...
7 years, 1 month ago (2013-11-07 19:30:07 UTC) #19
gab
https://codereview.chromium.org/53793002/diff/520001/chrome/app/chrome_exe_main_win.cc File chrome/app/chrome_exe_main_win.cc (right): https://codereview.chromium.org/53793002/diff/520001/chrome/app/chrome_exe_main_win.cc#newcode113 chrome/app/chrome_exe_main_win.cc:113: On 2013/11/07 19:29:32, cpu wrote: > can we do ...
7 years, 1 month ago (2013-11-07 20:19:39 UTC) #20
cpu_(ooo_6.6-7.5)
https://codereview.chromium.org/53793002/diff/520001/chrome/app/chrome_exe_main_win.cc File chrome/app/chrome_exe_main_win.cc (right): https://codereview.chromium.org/53793002/diff/520001/chrome/app/chrome_exe_main_win.cc#newcode113 chrome/app/chrome_exe_main_win.cc:113: On 2013/11/07 20:19:40, gab wrote: > On 2013/11/07 19:29:32, ...
7 years, 1 month ago (2013-11-07 22:10:37 UTC) #21
robertshield
On 2013/11/07 22:10:37, cpu wrote: > https://codereview.chromium.org/53793002/diff/520001/chrome/app/chrome_exe_main_win.cc > File chrome/app/chrome_exe_main_win.cc (right): > > https://codereview.chromium.org/53793002/diff/520001/chrome/app/chrome_exe_main_win.cc#newcode113 > ...
7 years, 1 month ago (2013-11-11 18:14:54 UTC) #22
gab
lg, comments below, mostly about opinions of where things should belong. Cheers, Gab https://codereview.chromium.org/53793002/diff/820001/chrome/app/chrome_exe_main_win.cc File ...
7 years, 1 month ago (2013-11-11 20:11:38 UTC) #23
robertshield
https://codereview.chromium.org/53793002/diff/820001/chrome/app/chrome_exe_main_win.cc File chrome/app/chrome_exe_main_win.cc (right): https://codereview.chromium.org/53793002/diff/820001/chrome/app/chrome_exe_main_win.cc#newcode112 chrome/app/chrome_exe_main_win.cc:112: InitChromeElf(); On 2013/11/11 20:11:38, gab wrote: > I hear ...
7 years, 1 month ago (2013-11-11 20:21:32 UTC) #24
cpu_(ooo_6.6-7.5)
I think a call is fine for forcing. lgtm
7 years, 1 month ago (2013-11-11 20:24:28 UTC) #25
grt (UTC plus 2)
https://codereview.chromium.org/53793002/diff/820001/chrome/test/mini_installer/config/chrome_system_installed.prop File chrome/test/mini_installer/config/chrome_system_installed.prop (right): https://codereview.chromium.org/53793002/diff/820001/chrome/test/mini_installer/config/chrome_system_installed.prop#newcode6 chrome/test/mini_installer/config/chrome_system_installed.prop:6: "$PROGRAM_FILES\\$CHROME_DIR\\Application\\$MINI_INSTALLER_FILE_VERSION\\chrome_elf.dll": On 2013/11/11 20:11:38, gab wrote: > Please add ...
7 years, 1 month ago (2013-11-12 14:29:05 UTC) #26
robertshield
+Ben for OWNERs, as it looks like Darin is out this week.
7 years, 1 month ago (2013-11-12 15:17:58 UTC) #27
Cait (Slow)
Pulling in Robert's reordered chrome.release and cleaning up a few comments. https://codereview.chromium.org/53793002/diff/820001/chrome/chrome_exe.gypi File chrome/chrome_exe.gypi (right): ...
7 years, 1 month ago (2013-11-12 16:33:53 UTC) #28
gab
lgtm w/ comments below Also, regarding the debate with grt about TEST=; he did convince ...
7 years, 1 month ago (2013-11-12 18:24:09 UTC) #29
Ben Goodger (Google)
lgtm
7 years, 1 month ago (2013-11-12 20:28:40 UTC) #30
grt (UTC plus 2)
lgtm with anything reasonably sane regarding the generated files. gab's latest comments make me think ...
7 years, 1 month ago (2013-11-12 20:32:39 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/caitkp@chromium.org/53793002/1230001
7 years, 1 month ago (2013-11-13 02:40:36 UTC) #32
commit-bot: I haz the power
Retried try job too often on linux_rel for step(s) cacheinvalidation_unittests, cc_unittests, check_deps, chromedriver2_unittests, components_unittests, content_browsertests, ...
7 years, 1 month ago (2013-11-13 03:03:50 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/caitkp@chromium.org/53793002/1230001
7 years, 1 month ago (2013-11-13 06:54:23 UTC) #34
commit-bot: I haz the power
7 years, 1 month ago (2013-11-13 10:01:03 UTC) #35
Message was sent while issue was closed.
Change committed as 234795

Powered by Google App Engine
This is Rietveld 408576698