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

Unified Diff: third_party/crashpad/crashpad/util/mach/mig.py

Issue 2387723002: Test CL to demonstrate GN + hermetic toolchain
Patch Set: more fixes. Created 4 years, 3 months 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/platform/BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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,
« no previous file with comments | « third_party/WebKit/Source/platform/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698