Index: src/third_party/capstone.gyp |
diff --git a/src/client/windows/crash_generation/crash_generation.gyp b/src/third_party/capstone.gyp |
similarity index 66% |
copy from src/client/windows/crash_generation/crash_generation.gyp |
copy to src/third_party/capstone.gyp |
index ba343768abca6caceafb61f1489216825f395ca8..a81b8ca04bdbff42ed0f501484d79782430dae3e 100644 |
--- a/src/client/windows/crash_generation/crash_generation.gyp |
+++ b/src/third_party/capstone.gyp |
@@ -1,4 +1,4 @@ |
-# Copyright 2010 Google Inc. All rights reserved. |
+# Copyright 2016 Google Inc. All rights reserved. |
vapier
2016/06/24 20:09:07
we don't update copyright years
|
# |
# Redistribution and use in source and binary forms, with or without |
# modification, are permitted provided that the following conditions are |
@@ -28,35 +28,38 @@ |
{ |
'includes': [ |
- '../../../build/common.gypi', |
+ '../build/common.gypi', |
], |
'targets': [ |
{ |
- 'target_name': 'crash_generation_server', |
- 'type': 'static_library', |
- 'sources': [ |
- 'client_info.cc', |
- 'crash_generation_server.cc', |
- 'minidump_generator.cc', |
- 'client_info.h', |
- 'crash_generation_client.h', |
- 'crash_generation_server.h', |
- 'minidump_generator.h', |
- ], |
- 'dependencies': [ |
- '../breakpad_client.gyp:common' |
- ], |
- }, |
- { |
- 'target_name': 'crash_generation_client', |
+ 'target_name': 'capstone', |
'type': 'static_library', |
+ 'all_dependent_settings': { |
+ 'include_dirs': [ |
+ 'capstone/include', |
+ ], |
+ }, |
'include_dirs': [ |
- '<(DEPTH)', |
+ 'capstone', |
+ 'capstone/include', |
+ ], |
+ 'defines': [ |
+ 'CAPSTONE_USE_SYS_DYN_MEM', |
+ 'CAPSTONE_HAS_X86', |
vapier
2016/06/24 20:09:07
indentation broken ?
|
], |
'sources': [ |
- 'crash_generation_client.h', |
- 'crash_generation_client.cc', |
- 'crash_generation_server.h', |
+ 'capstone/arch/X86/X86DisassemblerDecoder.c', |
+ 'capstone/arch/X86/X86Disassembler.c', |
+ 'capstone/arch/X86/X86IntelInstPrinter.c', |
+ 'capstone/arch/X86/X86ATTInstPrinter.c', |
+ 'capstone/arch/X86/X86Mapping.c', |
+ 'capstone/arch/X86/X86Module.c', |
+ 'capstone/cs.c', |
+ 'capstone/utils.c', |
+ 'capstone/SStream.c', |
+ 'capstone/MCInst.c', |
+ 'capstone/MCInstrDesc.c', |
+ 'capstone/MCRegisterInfo.c', |
], |
}, |
], |