From 53939ea429d84e0a380b37ad15c9e4c0030caae3 Mon Sep 17 00:00:00 2001
From: "sgk@google.com" <sgk@google.com@0039d316-1c4b-4281-b951-d872f2087c98>
Date: Fri, 6 Mar 2009 20:38:16 +0000
Subject: Add a product_name of 'chrome' on the non-Mac systems.

This adds a placeholder condition for building branded 'chrome.exe'
vs. 'chromium.exe', which can be updated to build 'chromium.exe' by
default whenever we update the infrastructure (buildbots, developer
instructions, etc.)  to use -Dbranding=Chrome.
Review URL: http://codereview.chromium.org/40233

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11150 0039d316-1c4b-4281-b951-d872f2087c98
---
 chrome/chrome.gyp | 12 ++++++++++++
 1 file changed, 12 insertions(+)

(limited to 'chrome')

diff --git a/chrome/chrome.gyp b/chrome/chrome.gyp
index d36f093..da41a40 100644
--- a/chrome/chrome.gyp
+++ b/chrome/chrome.gyp
@@ -1354,6 +1354,18 @@
               'mac_bundle_resources': ['app/theme/chromium/app.icns'],
             }],
           ],
+        }, { # else: OS != "mac"
+          'conditions': [
+            ['branding=="Chrome"', {
+              'product_name': 'chrome'
+            }, {  # else: Branding!="Chrome"
+              # TODO:  change to:
+              #   'product_name': 'chromium'
+              # whenever we convert the rest of the infrastructure
+              # (buildbots etc.) to use "gyp -Dbranding=Chrome".
+              'product_name': 'chrome'
+            }],
+          ],
         }],
         ['OS!="win"', {
           'variables': {
-- 
cgit v1.1