| Index: third_party/crashpad/crashpad/util/mach/mig.py
|
| diff --git a/third_party/crashpad/crashpad/util/mach/mig.py b/third_party/crashpad/crashpad/util/mach/mig.py
|
| index 2d248854d59ce5f171e6f69262bd4871631bc330..9c48c128643d2ab8427162b0b7db701a5c203a80 100755
|
| --- a/third_party/crashpad/crashpad/util/mach/mig.py
|
| +++ b/third_party/crashpad/crashpad/util/mach/mig.py
|
| @@ -15,6 +15,7 @@
|
| # See the License for the specific language governing permissions and
|
| # limitations under the License.
|
|
|
| +import os
|
| import re
|
| import subprocess
|
| import sys
|
| @@ -106,8 +107,9 @@ extern "C" {
|
| file.close()
|
|
|
| def main(args):
|
| - assert len(args) == 5
|
| - (defs_file, user_c, server_c, user_h, server_h) = args
|
| + assert len(args) == 6
|
| + (defs_file, user_c, server_c, user_h, server_h, developer_dir) = args
|
| + os.environ['DEVELOPER_DIR'] = developer_dir
|
| subprocess.check_call(['mig',
|
| '-user', user_c,
|
| '-server', server_c,
|
|
|