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

Unified Diff: util/util.gyp

Issue 541213002: Run mig to generate the exc and mach_exc interfaces (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: Address review feedback Created 6 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 | « util/mach/mig.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: util/util.gyp
diff --git a/util/util.gyp b/util/util.gyp
index 660e2a6d83d121cbf8e46d4cb94b9e5fce85f109..951a7a77e679796598f6c1575dac33bebc8c931d 100644
--- a/util/util.gyp
+++ b/util/util.gyp
@@ -81,6 +81,42 @@
'stdlib/strnlen.cc',
'stdlib/strnlen.h',
],
+ 'actions': [
+ {
+ 'action_name': 'mig exc.defs',
+ 'inputs': [
+ 'mach/mig.py',
+ '$(SDKROOT)/usr/include/mach/exc.defs',
+ ],
+ 'outputs': [
+ '<(INTERMEDIATE_DIR)/util/mach/excUser.c',
+ '<(INTERMEDIATE_DIR)/util/mach/excServer.c',
+ '<(INTERMEDIATE_DIR)/util/mach/exc.h',
+ '<(INTERMEDIATE_DIR)/util/mach/excServer.h',
+ ],
+ 'action': [
+ 'python', '<@(_inputs)', '<@(_outputs)'
+ ],
+ 'process_outputs_as_sources': 1,
+ },
+ {
+ 'action_name': 'mig mach_exc.defs',
+ 'inputs': [
+ 'mach/mig.py',
+ '$(SDKROOT)/usr/include/mach/mach_exc.defs',
+ ],
+ 'outputs': [
+ '<(INTERMEDIATE_DIR)/util/mach/mach_excUser.c',
+ '<(INTERMEDIATE_DIR)/util/mach/mach_excServer.c',
+ '<(INTERMEDIATE_DIR)/util/mach/mach_exc.h',
+ '<(INTERMEDIATE_DIR)/util/mach/mach_excServer.h',
+ ],
+ 'action': [
+ 'python', '<@(_inputs)', '<@(_outputs)'
+ ],
+ 'process_outputs_as_sources': 1,
+ },
+ ],
},
{
'target_name': 'util_test_lib',
« no previous file with comments | « util/mach/mig.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698