OLD | NEW |
1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2011 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 | 5 |
6 def GetConfigurationForBuild(defines): | 6 def GetConfigurationForBuild(defines): |
7 '''Returns a configuration dictionary for the given build that contains | 7 '''Returns a configuration dictionary for the given build that contains |
8 build-specific settings and information. | 8 build-specific settings and information. |
9 | 9 |
10 Args: | 10 Args: |
(...skipping 25 matching lines...) Expand all Loading... |
36 'app_name': 'Google Chrome', | 36 'app_name': 'Google Chrome', |
37 'frame_name': 'Google Chrome Frame', | 37 'frame_name': 'Google Chrome Frame', |
38 'os_name': 'Google Chrome OS', | 38 'os_name': 'Google Chrome OS', |
39 'win_reg_key_name': 'Software\\Policies\\Google\\Chrome', | 39 'win_reg_key_name': 'Software\\Policies\\Google\\Chrome', |
40 'win_category_path': ['google', 'googlechrome'], | 40 'win_category_path': ['google', 'googlechrome'], |
41 'admx_namespace': 'Google.Policies.Chrome', | 41 'admx_namespace': 'Google.Policies.Chrome', |
42 'admx_prefix': 'chrome', | 42 'admx_prefix': 'chrome', |
43 } | 43 } |
44 else: | 44 else: |
45 raise Exception('Unknown build') | 45 raise Exception('Unknown build') |
46 config['win_group_policy_class'] = 'Machine' | 46 config['win_group_policy_class'] = 'both' |
47 config['win_supported_os'] = 'SUPPORTED_WINXPSP2' | 47 config['win_supported_os'] = 'SUPPORTED_WINXPSP2' |
48 if 'mac_bundle_id' in defines: | 48 if 'mac_bundle_id' in defines: |
49 config['mac_bundle_id'] = defines['mac_bundle_id'] | 49 config['mac_bundle_id'] = defines['mac_bundle_id'] |
50 return config | 50 return config |
OLD | NEW |