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 ], | |
25 'sources': [ | 21 'sources': [ |
26 'call_stack.cc', | 22 'call_stack.cc', |
27 'call_stack.h', | 23 'call_stack.h', |
28 'dllmain.cc', | 24 'dllmain.cc', |
29 'hotkey.h', | 25 'hotkey.h', |
30 'ia32_modrm_map.cc', | 26 'ia32_modrm_map.cc', |
31 'ia32_opcode_map.cc', | 27 'ia32_opcode_map.cc', |
32 'memory_hook.cc', | 28 'memory_hook.cc', |
33 'memory_hook.h', | 29 'memory_hook.h', |
34 'memory_watcher.cc', | 30 'memory_watcher.cc', |
35 'memory_watcher.h', | 31 'memory_watcher.h', |
36 'mini_disassembler.cc', | 32 'mini_disassembler.cc', |
37 'preamble_patcher.cc', | 33 'preamble_patcher.cc', |
38 'preamble_patcher.h', | 34 'preamble_patcher.h', |
39 'preamble_patcher_with_stub.cc', | 35 'preamble_patcher_with_stub.cc', |
40 ], | 36 ], |
41 }, | 37 }, |
42 ], | 38 ], |
43 } | 39 } |
OLD | NEW |