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

Unified Diff: snapshot/snapshot.gyp

Issue 1586433003: Adding an API to read module annotations in snapshot.gyp (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: Last comments Created 4 years, 11 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
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',
+ ],
+ },
],
}

Powered by Google App Engine
This is Rietveld 408576698