Home | History | Annotate | Download | only in build
      1 # Copyright 2013 The Chromium Authors. All rights reserved.
      2 # Use of this source code is governed by a BSD-style license that can be
      3 # found in the LICENSE file.
      4 
      5 # This file contains settings for ../chrome/chrome.gyp that other gyp files
      6 # also use.
      7 {
      8   'variables': {
      9     # TODO: remove this helper when we have loops in GYP
     10     'apply_locales_cmd': ['python', '<(DEPTH)/build/apply_locales.py'],
     11 
     12     'conditions': [
     13       ['OS=="mac"', {
     14         'conditions': [
     15           ['branding=="Chrome"', {
     16             'mac_bundle_id': 'com.google.Chrome',
     17             'mac_creator': 'rimZ',
     18             # The policy .grd file also needs the bundle id.
     19             'grit_defines': ['-D', 'mac_bundle_id=com.google.Chrome'],
     20           }, {  # else: branding!="Chrome"
     21             'mac_bundle_id': 'org.chromium.Chromium',
     22             'mac_creator': 'Cr24',
     23             # The policy .grd file also needs the bundle id.
     24             'grit_defines': ['-D', 'mac_bundle_id=org.chromium.Chromium'],
     25           }],  # branding
     26         ],  # conditions
     27       }],  # OS=="mac"
     28     ],  # conditions
     29   },  # variables
     30 }
     31