OLD | NEW |
1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
6 'targets': [ | 6 'targets': [ |
7 { | 7 { |
8 'target_name': 'memory_watcher', | 8 'target_name': 'memory_watcher', |
9 'type': 'shared_library', | 9 'type': 'shared_library', |
10 'dependencies': [ | 10 'dependencies': [ |
11 '../../base/base.gyp:base', | 11 '../../base/base.gyp:base', |
12 '../../ui/ui.gyp:ui', | 12 '../../ui/ui.gyp:ui', |
13 ], | 13 ], |
14 'defines': [ | 14 'defines': [ |
15 'BUILD_MEMORY_WATCHER', | 15 'BUILD_MEMORY_WATCHER', |
16 ], | 16 ], |
17 'include_dirs': [ | 17 'include_dirs': [ |
18 '../..', | 18 '../..', |
19 '<(DEPTH)/third_party/wtl/include', | 19 '<(DEPTH)/third_party/wtl/include', |
20 ], | 20 ], |
| 21 # "/GS can not protect parameters and local variables from local buffer |
| 22 # overrun because optimizations are disabled in function". Nothing to be |
| 23 # done about this warning. |
| 24 'msvs_disabled_warnings': [ 4748 ], |
21 'sources': [ | 25 'sources': [ |
22 'call_stack.cc', | 26 'call_stack.cc', |
23 'call_stack.h', | 27 'call_stack.h', |
24 'dllmain.cc', | 28 'dllmain.cc', |
25 'hotkey.h', | 29 'hotkey.h', |
26 'ia32_modrm_map.cc', | 30 'ia32_modrm_map.cc', |
27 'ia32_opcode_map.cc', | 31 'ia32_opcode_map.cc', |
28 'memory_hook.cc', | 32 'memory_hook.cc', |
29 'memory_hook.h', | 33 'memory_hook.h', |
30 'memory_watcher.cc', | 34 'memory_watcher.cc', |
31 'memory_watcher.h', | 35 'memory_watcher.h', |
32 'mini_disassembler.cc', | 36 'mini_disassembler.cc', |
33 'preamble_patcher.cc', | 37 'preamble_patcher.cc', |
34 'preamble_patcher.h', | 38 'preamble_patcher.h', |
35 'preamble_patcher_with_stub.cc', | 39 'preamble_patcher_with_stub.cc', |
36 ], | 40 ], |
37 }, | 41 }, |
38 ], | 42 ], |
39 } | 43 } |
OLD | NEW |