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

Issue 5360002: Use BRANDING for IE CEEE. Simplify chrome_dll_version handling. (Closed)

Created:
10 years, 1 month ago by Jói
Modified:
9 years, 7 months ago
Reviewers:
MAD, robertshield, rahulk
CC:
chromium-reviews, amit, ceee-reviews_chromium.org
Visibility:
Public.

Description

Use BRANDING settings for IE CEEE. Simplify chrome_dll_version handling. Adding new CEEE_PRODUCT_FULLNAME key to the BRANDING file. Adapting version.h.in to define a preprocessor constant for it. Using this and the other version/product name constants in IE CEEE's .rc files. Piggybacking on MAD's recent changes to make %NAME% a variable in the .rgs files to fairly easily get the product name from branding in there. Naming the toolband with the product name directly (as it is what shows up in IE's View/Toolbars menu), the BHO with an added "Helper" and the broker with an added "Broker". Removing the 'chrome_dll_version' target from chrome.gyp, and skipping code generation of chrome_dll_version.rc. Instead we have a source file with that name, that includes the verson.h generated by the 'chrome_version_header' target. This is cleaner and less code generation. Fixing 'chrome_dll_nacl64' target, it seemed like it wanted to have version information, but it didn't. Cleaning up the way sources are specified in several of the chrome_tests.gypi targets, to use fewer source! statements just to remove source files that are Windows-only (put them in the Windows-only section instead). BUG=none TEST=Visible change should be that user-visible names in Chromium builds are like "Chromium Extensions Execution Environment" (with "Broker" or "Helper" appended when appropriate), i.e. they lose the "Google" part. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=67457

Patch Set 1 #

Patch Set 2 : bug fixes #

Patch Set 3 : Chrome->Chromium #

Total comments: 4

Patch Set 4 : remove chrome_dll_version #

Patch Set 5 : . #

Patch Set 6 : reset bho.cc #

Patch Set 7 : gyp fixes #

Patch Set 8 : address nit from MAD #

Patch Set 9 : merge with head #

Total comments: 6

Patch Set 10 : Merge to head #

Patch Set 11 : Remove duplicate in chrome_tests.gypi; someone fixed before I committed #

Patch Set 12 : Remove spurious '33' from .gyp file. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+116 lines, -156 lines) Patch
M ceee/ie/broker/broker.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M ceee/ie/broker/broker_module.rc View 1 2 2 chunks +4 lines, -3 lines 0 comments Download
M ceee/ie/broker/resource.h View 2 chunks +2 lines, -1 line 0 comments Download
M ceee/ie/plugin/bho/bho.gyp View 2 chunks +2 lines, -1 line 0 comments Download
M ceee/ie/plugin/bho/browser_helper_object.h View 1 2 3 4 5 6 7 8 9 2 chunks +2 lines, -1 line 0 comments Download
M ceee/ie/plugin/scripting/script_host.cc View 1 2 chunks +4 lines, -1 line 0 comments Download
M ceee/ie/plugin/scripting/scripting.gyp View 1 2 3 4 5 6 7 2 chunks +11 lines, -6 lines 0 comments Download
M ceee/ie/plugin/toolband/resource.h View 1 chunk +3 lines, -3 lines 0 comments Download
M ceee/ie/plugin/toolband/toolband.rc View 2 chunks +5 lines, -5 lines 0 comments Download
M chrome/app/chrome_dll.rc View 1 2 3 1 chunk +0 lines, -2 lines 0 comments Download
A chrome/app/chrome_dll_version.rc View 1 2 3 1 chunk +44 lines, -0 lines 0 comments Download
D chrome/app/chrome_dll_version.rc.version View 1 2 3 1 chunk +0 lines, -41 lines 0 comments Download
M chrome/app/theme/chromium/BRANDING View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M chrome/chrome.gyp View 1 2 3 1 chunk +1 line, -53 lines 0 comments Download
M chrome/chrome_dll.gypi View 1 2 3 4 5 6 7 8 9 5 chunks +11 lines, -4 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 5 6 7 8 9 10 11 19 chunks +22 lines, -32 lines 0 comments Download
M chrome/version.h.in View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome_frame/chrome_frame.gyp View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 10 (0 generated)
Jói
Hi MAD, I need to find an appropriate reviewer for the changes to BRANDING and ...
10 years, 1 month ago (2010-11-24 03:46:31 UTC) #1
Jói
Hi Rahul, Looks like you would be a suitable reviewer for the change to the ...
10 years, 1 month ago (2010-11-24 19:44:45 UTC) #2
rahulk
for chromium/BRANDING I think you would want to call it 'Chromium Extensions...' To change for ...
10 years, 1 month ago (2010-11-24 20:32:41 UTC) #3
Jói
PTAL Thanks, I wasn't sure and had sent a question to aa@ because my impression ...
10 years, 1 month ago (2010-11-24 20:46:24 UTC) #4
rahulk
lgtm for BRANDING changes. On Wed, Nov 24, 2010 at 12:45 PM, Jói Sigurðsson <joi@chromium.org> ...
10 years ago (2010-11-24 21:15:07 UTC) #5
MAD
LGTM with small nits... Thanks! BYE MAD http://codereview.chromium.org/5360002/diff/7001/ceee/ie/plugin/bho/browser_helper_object.cc File ceee/ie/plugin/bho/browser_helper_object.cc (right): http://codereview.chromium.org/5360002/diff/7001/ceee/ie/plugin/bho/browser_helper_object.cc#newcode137 ceee/ie/plugin/bho/browser_helper_object.cc:137: if (broker_rpc_ ...
10 years ago (2010-11-24 23:03:55 UTC) #6
Jói
+robertshield to review various .gyp changes The change grew a bit bigger as I was ...
10 years ago (2010-11-25 23:13:41 UTC) #7
Jói
Thanks Robert. Deferring last LGTM to MAD. Cheers, Jói http://codereview.chromium.org/5360002/diff/30001/chrome/chrome_tests.gypi File chrome/chrome_tests.gypi (right): http://codereview.chromium.org/5360002/diff/30001/chrome/chrome_tests.gypi#newcode31 chrome/chrome_tests.gypi:31: ...
10 years ago (2010-11-26 11:59:06 UTC) #8
MAD
Wow, very good cleanup... Thanks Jói! LGTM with two minuscule sorting nits... ;-) BYE MAD ...
10 years ago (2010-11-26 13:28:15 UTC) #9
Jói
10 years ago (2010-11-26 16:07:27 UTC) #10
Addressed nits, merged with head (where it turns out someone else made the
change for the 'test_support_common' target, so I've removed my conflicting
change and removed mention of that from the CL description). About to commit.

http://codereview.chromium.org/5360002/diff/30001/chrome/chrome_dll.gypi
File chrome/chrome_dll.gypi (right):

http://codereview.chromium.org/5360002/diff/30001/chrome/chrome_dll.gypi#newc...
chrome/chrome_dll.gypi:573: 'chrome_version_header',
On 2010/11/26 13:28:16, mad1 wrote:
> Why after nacl?

No reason, I moved it to the first line of dependencies.

http://codereview.chromium.org/5360002/diff/30001/chrome/chrome_dll.gypi#newc...
chrome/chrome_dll.gypi:582: 'app/chrome_dll_version.rc',
On 2010/11/26 13:28:16, mad1 wrote:
> above chrome_main?

Done.

Powered by Google App Engine
This is Rietveld 408576698