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

Side by Side Diff: chrome/chrome.gyp

Issue 98363007: Move mac_bundle_id and other variables from chrome.gyp to build/chrome_settings.gypi. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: added build/chrome_settings.gypi Created 7 years 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 unified diff | Download patch | Annotate | Revision Log
« build/chrome_settings.gypi ('K') | « build/chrome_settings.gypi ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 { 4 {
5 'variables': { 5 'variables': {
6 'chromium_code': 1, 6 'chromium_code': 1,
7 7
8 # Define the common dependencies that contain all the actual 8 # Define the common dependencies that contain all the actual
9 # Chromium functionality. This list gets pulled in below by 9 # Chromium functionality. This list gets pulled in below by
10 # the link of the actual chrome (or chromium) executable on 10 # the link of the actual chrome (or chromium) executable on
11 # Linux or Mac, and into chrome.dll on Windows. 11 # Linux or Mac, and into chrome.dll on Windows.
12 # NOTE: Most new includes should go in the OS!="ios" condition below. 12 # NOTE: Most new includes should go in the OS!="ios" condition below.
13 'chromium_browser_dependencies': [ 13 'chromium_browser_dependencies': [
14 'common', 14 'common',
15 'browser', 15 'browser',
16 '../sync/sync.gyp:sync', 16 '../sync/sync.gyp:sync',
17 ], 17 ],
18 'chromium_child_dependencies': [ 18 'chromium_child_dependencies': [
19 'common', 19 'common',
20 '../sync/sync.gyp:sync', 20 '../sync/sync.gyp:sync',
21 ], 21 ],
22 'allocator_target': '../base/allocator/allocator.gyp:allocator', 22 'allocator_target': '../base/allocator/allocator.gyp:allocator',
23 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/chrome', 23 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/chrome',
24 'protoc_out_dir': '<(SHARED_INTERMEDIATE_DIR)/protoc_out', 24 'protoc_out_dir': '<(SHARED_INTERMEDIATE_DIR)/protoc_out',
25 'repack_locales_cmd': ['python', 'tools/build/repack_locales.py'], 25 'repack_locales_cmd': ['python', 'tools/build/repack_locales.py'],
26 # TODO: remove this helper when we have loops in GYP
27 'apply_locales_cmd': ['python', '<(DEPTH)/build/apply_locales.py'],
28 'conditions': [ 26 'conditions': [
29 ['OS!="ios"', { 27 ['OS!="ios"', {
30 'chromium_browser_dependencies': [ 28 'chromium_browser_dependencies': [
31 '../ppapi/ppapi_internal.gyp:ppapi_host', 29 '../ppapi/ppapi_internal.gyp:ppapi_host',
32 ], 30 ],
33 'chromium_child_dependencies': [ 31 'chromium_child_dependencies': [
34 'debugger', 32 'debugger',
35 'plugin', 33 'plugin',
36 'renderer', 34 'renderer',
37 'utility', 35 'utility',
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 ], 72 ],
75 },], 73 },],
76 ['os_posix == 1 and OS != "mac" and OS != "ios" and OS != "linux"', { 74 ['os_posix == 1 and OS != "mac" and OS != "ios" and OS != "linux"', {
77 'platform_locale_settings_grd': 75 'platform_locale_settings_grd':
78 'app/resources/locale_settings_linux.grd', 76 'app/resources/locale_settings_linux.grd',
79 },], 77 },],
80 ['OS=="mac"', { 78 ['OS=="mac"', {
81 'tweak_info_plist_path': '../build/mac/tweak_info_plist.py', 79 'tweak_info_plist_path': '../build/mac/tweak_info_plist.py',
82 'platform_locale_settings_grd': 80 'platform_locale_settings_grd':
83 'app/resources/locale_settings_mac.grd', 81 'app/resources/locale_settings_mac.grd',
84 'conditions': [
85 ['branding=="Chrome"', {
86 'mac_bundle_id': 'com.google.Chrome',
87 'mac_creator': 'rimZ',
88 # The policy .grd file also needs the bundle id.
89 'grit_defines': ['-D', 'mac_bundle_id=com.google.Chrome'],
90 }, { # else: branding!="Chrome"
91 'mac_bundle_id': 'org.chromium.Chromium',
92 'mac_creator': 'Cr24',
93 # The policy .grd file also needs the bundle id.
94 'grit_defines': ['-D', 'mac_bundle_id=org.chromium.Chromium'],
95 }], # branding
96 ], # conditions
97 }], # OS=="mac" 82 }], # OS=="mac"
98 ], # conditions 83 ], # conditions
99 }, # variables 84 }, # variables
100 'includes': [ 85 'includes': [
101 # Place some targets in gypi files to reduce contention on this file. 86 # Place some targets in gypi files to reduce contention on this file.
102 # By using an include, we keep everything in a single xcodeproj file. 87 # By using an include, we keep everything in a single xcodeproj file.
103 # Note on Win64 targets: targets that end with win64 be used 88 # Note on Win64 targets: targets that end with win64 be used
104 # on 64-bit Windows only. Targets that end with nacl_win64 should be used 89 # on 64-bit Windows only. Targets that end with nacl_win64 should be used
105 # by Native Client only. 90 # by Native Client only.
106 # NOTE: Most new includes should go in the OS!="ios" condition below. 91 # NOTE: Most new includes should go in the OS!="ios" condition below.
92 '../build/chrome_settings.gypi',
107 '../build/win_precompile.gypi', 93 '../build/win_precompile.gypi',
108 'chrome_browser.gypi', 94 'chrome_browser.gypi',
109 'chrome_browser_ui.gypi', 95 'chrome_browser_ui.gypi',
110 'chrome_common.gypi', 96 'chrome_common.gypi',
111 'chrome_installer_util.gypi', 97 'chrome_installer_util.gypi',
112 'version.gypi', 98 'version.gypi',
113 '../components/nacl/nacl_defines.gypi', 99 '../components/nacl/nacl_defines.gypi',
114 ], 100 ],
115 'conditions': [ 101 'conditions': [
116 ['OS!="ios"', { 102 ['OS!="ios"', {
(...skipping 1009 matching lines...) Expand 10 before | Expand all | Expand 10 after
1126 'sources': [ 1112 'sources': [
1127 'service/cloud_print/print_system_dummy.cc', 1113 'service/cloud_print/print_system_dummy.cc',
1128 ], 1114 ],
1129 }], 1115 }],
1130 ], 1116 ],
1131 }, 1117 },
1132 ], 1118 ],
1133 }], 1119 }],
1134 ], # 'conditions' 1120 ], # 'conditions'
1135 } 1121 }
OLDNEW
« build/chrome_settings.gypi ('K') | « build/chrome_settings.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698