Index: snapshot/snapshot.gyp |
diff --git a/snapshot/snapshot.gyp b/snapshot/snapshot.gyp |
index 29711b06f050a130d09975e35154260d8457f822..0154495d8621405b338f811125d0debc572d5b57 100644 |
--- a/snapshot/snapshot.gyp |
+++ b/snapshot/snapshot.gyp |
@@ -129,5 +129,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', |
+ ], |
+ }, |
], |
} |