blob: 646b2098b63440c743b17fbccfe2abe2f3065d64 [file] [log] [blame]
Ben Murdoch097c5b22016-05-18 11:27:45 +01001# 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 'grit_defines': ['-D', 'version=<(version_full)'],
12 'includes': ['util/version.gypi'],
13
14 'conditions': [
15 ['OS=="mac"', {
16 'conditions': [
17 ['branding=="Chrome"', {
18 'mac_bundle_id': 'com.google.Chrome',
19 'mac_creator': 'rimZ',
20 # The policy .grd file also needs the bundle id.
21 'grit_defines': ['-D', 'mac_bundle_id=com.google.Chrome'],
22 }, { # else: branding!="Chrome"
23 'mac_bundle_id': 'org.chromium.Chromium',
24 'mac_creator': 'Cr24',
25 # The policy .grd file also needs the bundle id.
26 'grit_defines': ['-D', 'mac_bundle_id=org.chromium.Chromium'],
27 }], # branding
28 ], # conditions
29 }], # OS=="mac"
30 ], # conditions
31 }, # variables
32}