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

Unified Diff: cloud_print/cloud_print_resources.gyp

Issue 1059333004: simplify branding (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: one more try to fix build Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome_elf/chrome_elf.gyp ('k') | media/media_cdm.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cloud_print/cloud_print_resources.gyp
diff --git a/cloud_print/cloud_print_resources.gyp b/cloud_print/cloud_print_resources.gyp
index dfa8bc6418c0a8fe93cdd7a90e86a6972ea062a1..4057d23d6f3d9b97649e18e3797b508018493383 100644
--- a/cloud_print/cloud_print_resources.gyp
+++ b/cloud_print/cloud_print_resources.gyp
@@ -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
@@ -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',
« no previous file with comments | « chrome_elf/chrome_elf.gyp ('k') | media/media_cdm.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698