Skip to content

Commit

Permalink
simplify branding
Browse files Browse the repository at this point in the history
Please take look at
https://codereview.chromium.org/1090213002/patch/40001/50001

for details

BUG=

Review URL: https://codereview.chromium.org/1059333004

Cr-Commit-Position: refs/heads/master@{#327270}
  • Loading branch information
gburanov authored and Commit bot committed Apr 28, 2015
1 parent 49180eb commit be076f9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 44 deletions.
12 changes: 1 addition & 11 deletions chrome_elf/chrome_elf.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,9 @@
{
'target_name': 'chrome_elf_resources',
'type': 'none',
'conditions': [
['branding == "Chrome"', {
'variables': {
'branding_path': '../chrome/app/theme/google_chrome/BRANDING',
},
}, { # else branding!="Chrome"
'variables': {
'branding_path': '../chrome/app/theme/chromium/BRANDING',
},
}],
],
'variables': {
'output_dir': 'chrome_elf',
'branding_path': '../chrome/app/theme/<(branding_path_component)/BRANDING',
'template_input_path': '../chrome/app/chrome_version.rc.version',
},
'sources': [
Expand Down
24 changes: 2 additions & 22 deletions cloud_print/cloud_print_resources.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,9 @@
{
'target_name': 'cloud_print_version_resources',
'type': 'none',
'conditions': [
['branding == "Chrome"', {
'variables': {
'branding_path': '<(DEPTH)/chrome/app/theme/google_chrome/BRANDING',
},
}, { # else branding!="Chrome"
'variables': {
'branding_path': '<(DEPTH)/chrome/app/theme/chromium/BRANDING',
},
}],
],
'variables': {
'output_dir': 'cloud_print',
'branding_path': '<(DEPTH)/chrome/app/theme/<(branding_path_component)/BRANDING',
'template_input_path': '../chrome/app/chrome_version.rc.version',
'extra_variable_files_arguments': [ '-f', 'BRANDING' ],
'extra_variable_files': [ 'BRANDING' ], # NOTE: matches that above
Expand All @@ -56,22 +46,12 @@
{
'target_name': 'cloud_print_version_header',
'type': 'none',
'conditions': [
['branding == "Chrome"', {
'variables': {
'branding_path': '<(DEPTH)/chrome/app/theme/google_chrome/BRANDING',
},
}, { # else branding!="Chrome"
'variables': {
'branding_path': '<(DEPTH)/chrome/app/theme/chromium/BRANDING',
},
}],
],
'hard_dependency': 1,
'actions': [
{
'action_name': 'version_header',
'variables': {
'branding_path': '<(DEPTH)/chrome/app/theme/<(branding_path_component)/BRANDING',
'output_dir': 'cloud_print',
'lastchange_path':
'<(DEPTH)/build/util/LASTCHANGE',
Expand Down
12 changes: 1 addition & 11 deletions media/media_cdm.gypi
Original file line number Diff line number Diff line change
Expand Up @@ -101,19 +101,9 @@
# GN version: //media/cdm/ppapi:clearkeycdmadapter_resources
'target_name': 'clearkeycdmadapter_resources',
'type': 'none',
'conditions': [
['branding == "Chrome"', {
'variables': {
'branding_path': '../chrome/app/theme/google_chrome/BRANDING',
},
}, { # else branding!="Chrome"
'variables': {
'branding_path': '../chrome/app/theme/chromium/BRANDING',
},
}],
],
'variables': {
'output_dir': '.',
'branding_path': '../chrome/app/theme/<(branding_path_component)/BRANDING',
'template_input_path': '../chrome/app/chrome_version.rc.version',
'extra_variable_files_arguments':
[ '-f', 'cdm/ppapi/external_clear_key/BRANDING' ],
Expand Down

0 comments on commit be076f9

Please sign in to comment.