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

Issue 19275010: Embed compatibility manifest into all *.exe files (Closed)

Created:
7 years, 5 months ago by Yohei Yukawa
Modified:
7 years, 4 months ago
CC:
chromium-reviews, grt+watch_chromium.org, amit, jam, joi+watch-content_chromium.org, robertshield, tfarina, darin-cc_chromium.org, jochen+watch_chromium.org
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Embed compatibility manifest into all *.exe files This CL introduces an automated and centralized way to embed compatibility manifest into all *.exe files. With this CL, a potential risk of behavioural inconsistency between production binaries and unit test binaries is resolved by enforcing the same compatibility context. This CL uses 'target_conditions' feature of gyp to inject manifest settings into each executable target. One tricky part is that some executables such as setup.exe and mini_installer.exe require external manifest file instead of embedded one when component build is enabled. See http://crbug.com/127233 for this. You can override the gyp variable 'win_exe_compatibility_manifest' locally for a given executable target to embed a custom compatibility manifest. BUG=260692 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=214427

Patch Set 1 : Rebase #

Patch Set 2 : Use external manifest for some setup executables when component build is enabled #

Patch Set 3 : Rebase #

Patch Set 4 : Allow a developer to override the default compatibility manifest for a given target #

Patch Set 5 : style fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+79 lines, -92 lines) Patch
M build/common.gypi View 1 2 3 4 2 chunks +30 lines, -0 lines 0 comments Download
A + build/win/compatibility.manifest View 1 chunk +0 lines, -7 lines 0 comments Download
M chrome/app/chrome.exe.manifest View 2 chunks +4 lines, -15 lines 0 comments Download
M chrome/chrome_dll.gypi View 1 chunk +3 lines, -1 line 0 comments Download
M chrome/chrome_exe.gypi View 1 2 chunks +5 lines, -5 lines 0 comments Download
M chrome/chrome_installer.gypi View 1 4 chunks +11 lines, -7 lines 0 comments Download
M chrome/installer/mini_installer/mini_installer.exe.manifest View 1 chunk +1 line, -12 lines 0 comments Download
M chrome/installer/setup/setup.exe.manifest View 1 chunk +1 line, -12 lines 0 comments Download
M chrome/tools/crash_service/crash_service.exe.manifest View 1 chunk +1 line, -0 lines 0 comments Download
M chrome_frame/chrome_frame.gyp View 1 chunk +3 lines, -2 lines 0 comments Download
M content/content_shell.gypi View 3 4 1 chunk +3 lines, -1 line 0 comments Download
M content/shell/app/shell.exe.manifest View 1 chunk +1 line, -12 lines 0 comments Download
M remoting/remoting.gyp View 1 3 4 3 chunks +9 lines, -6 lines 0 comments Download
M ui/views/examples/views_examples.exe.manifest View 2 chunks +4 lines, -11 lines 0 comments Download
M ui/views/views.gyp View 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 22 (0 generated)
Yohei Yukawa
Hi there. This is the follow-up CL that I was asked in https://codereview.chromium.org/18477012/#msg3 Could you ...
7 years, 5 months ago (2013-07-25 07:13:30 UTC) #1
tfarina
properly assigning the reviewers list.
7 years, 5 months ago (2013-07-25 15:03:29 UTC) #2
Yohei Yukawa
On 2013/07/25 15:03:29, tfarina wrote: > properly assigning the reviewers list. Oh, thank you!
7 years, 5 months ago (2013-07-25 16:21:20 UTC) #3
cpu_(ooo_6.6-7.5)
lgtm, but I want a second opinion from Scott.
7 years, 5 months ago (2013-07-25 19:16:49 UTC) #4
scottmg
lgtm, but punting again to +alexeypa who is both more familiar and probably more affected ...
7 years, 5 months ago (2013-07-25 19:24:53 UTC) #5
grt (UTC plus 2)
Recusing myself since, although I like the idea, others on the review list have more ...
7 years, 5 months ago (2013-07-25 19:40:43 UTC) #6
alexeypa (please no reviews)
I am slightly concerned about the same compatibility manifest being injected into all .EXEs. It ...
7 years, 5 months ago (2013-07-25 19:46:22 UTC) #7
Yohei Yukawa
On 2013/07/25 19:46:22, alexeypa wrote: > I am slightly concerned about the same compatibility manifest ...
7 years, 5 months ago (2013-07-26 01:31:26 UTC) #8
Yohei Yukawa
+jochen for the OWNER review for - chrome/tools/crash_service/crash_service.exe.manifest - content/content_shell.gypi - content/shell/app/shell.exe.manifest - ui/views/examples/views_examples.exe.manifest - ...
7 years, 5 months ago (2013-07-26 01:36:36 UTC) #9
jochen (gone - plz use gerrit)
i don't own all that stuff, but the stuff I own lgtm
7 years, 5 months ago (2013-07-26 14:57:21 UTC) #10
Yohei Yukawa
+sky for the OWNER review of - ui/views/examples/views_examples.exe.manifest - ui/views/views.gyp Could you take a look?
7 years, 5 months ago (2013-07-26 15:22:21 UTC) #11
alexeypa (please no reviews)
On 2013/07/26 01:31:26, Yohei Yukawa wrote: > Ack. I updated the common.gypi as patch set ...
7 years, 5 months ago (2013-07-26 15:52:48 UTC) #12
sky
LGTM
7 years, 5 months ago (2013-07-26 19:09:38 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/Yukawa@chromium.org/19275010/68001
7 years, 4 months ago (2013-07-27 20:45:28 UTC) #14
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=17503
7 years, 4 months ago (2013-07-28 00:11:15 UTC) #15
Yohei Yukawa
On 2013/07/25 19:40:43, grt wrote: > Recusing myself since, although I like the idea, others ...
7 years, 4 months ago (2013-07-28 04:27:47 UTC) #16
grt (UTC plus 2)
lgtm
7 years, 4 months ago (2013-07-29 15:56:05 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/Yukawa@chromium.org/19275010/68001
7 years, 4 months ago (2013-07-29 15:59:07 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/Yukawa@chromium.org/19275010/68001
7 years, 4 months ago (2013-07-30 00:31:23 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/Yukawa@chromium.org/19275010/68001
7 years, 4 months ago (2013-07-30 10:34:08 UTC) #20
commit-bot: I haz the power
Change committed as 214427
7 years, 4 months ago (2013-07-30 20:24:53 UTC) #21
alexeypa (please no reviews)
7 years, 4 months ago (2013-08-05 19:42:44 UTC) #22
Message was sent while issue was closed.
On 2013/07/25 19:46:22, alexeypa wrote:
> I'll also going to verify whether this change breaks input injection in
> Chromoting on Windows 8. Unfortunately the fasted way to do it is to wait for
> the official signed build, so this CL should land first. We need a plan for
the
> case if it does break Chromoting. 

FYI. I just verified this CL on Win8. Chromoting works, so I think we are good.

Powered by Google App Engine
This is Rietveld 408576698