Index: snapshot/snapshot.gyp |
diff --git a/snapshot/snapshot.gyp b/snapshot/snapshot.gyp |
index 3f7c63ee264a160f0b9ba3442f1c77484b5326ff..38c91a05ab78d49556d9dbf8ccb0d9adf09a8344 100644 |
--- a/snapshot/snapshot.gyp |
+++ b/snapshot/snapshot.gyp |
@@ -127,5 +127,32 @@ |
}], |
] |
}, |
+ { |
+ 'variables': { |
+ 'conditions': [ |
+ ['OS == "win"', { |
+ 'snapshot_api_target_type%': 'static_library', |
+ }, { |
+ # There are no source files except on Windows. |
+ 'snapshot_api_target_type%': 'none', |
+ }], |
+ ], |
+ }, |
+ 'target_name': 'crashpad_snapshot_api', |
+ 'type': '<(snapshot_api_target_type)', |
+ 'dependencies': [ |
+ 'crashpad_snapshot', |
+ '../compat/compat.gyp:crashpad_compat', |
+ '../third_party/mini_chromium/mini_chromium.gyp:base', |
+ '../util/util.gyp:crashpad_util', |
+ ], |
+ 'include_dirs': [ |
+ '..', |
+ ], |
+ 'sources': [ |
+ 'api/module_annotations_win.cc', |
+ 'api/module_annotations_win.h', |
+ ], |
+ }, |
], |
} |