OLD | NEW |
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2013 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 # Defines the configuration of Goma. | 5 # Defines the configuration of Goma. |
6 | 6 |
7 declare_args() { | 7 declare_args() { |
8 # Set to true to enable distributed compilation using Goma. | 8 # Set to true to enable distributed compilation using Goma. |
9 use_goma = false | 9 use_goma = false |
10 | 10 |
11 # Set the default value based on the platform. | 11 # Set the default value based on the platform. |
12 if (is_win) { | 12 if (is_win) { |
13 # Absolute directory containing the Goma source code. | 13 # Absolute directory containing the gomacc.exe binary. |
14 goma_dir = "C:\goma\goma-win64" | 14 goma_dir = "C:\goma\goma-win64" |
15 } else { | 15 } else { |
16 # Absolute directory containing the Goma source code. | 16 # Absolute directory containing the gomacc binary. |
17 goma_dir = getenv("HOME") + "/goma" | 17 goma_dir = getenv("HOME") + "/goma" |
18 } | 18 } |
19 } | 19 } |
OLD | NEW |