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 'variables': { | 6 'variables': { |
7 'chromium_code': 1, | 7 'chromium_code': 1, |
8 }, | 8 }, |
9 'targets': [ | 9 'targets': [ |
10 { | 10 { |
11 'target_name': 'memory_watcher', | 11 'target_name': 'memory_watcher', |
12 'type': 'shared_library', | 12 'type': 'shared_library', |
13 'dependencies': [ | 13 'dependencies': [ |
14 '../../base/base.gyp:base', | 14 '../../base/base.gyp:base', |
15 '../../ui/gfx/gfx.gyp:gfx', | 15 '../../ui/gfx/gfx.gyp:gfx', |
16 '../../ui/gfx/gfx.gyp:gfx_geometry', | 16 '../../ui/gfx/gfx.gyp:gfx_geometry', |
17 ], | 17 ], |
18 'defines': [ | 18 'defines': [ |
19 'BUILD_MEMORY_WATCHER', | 19 'BUILD_MEMORY_WATCHER', |
20 ], | 20 ], |
21 'include_dirs': [ | 21 'include_dirs': [ |
22 '../..', | 22 '../..', |
23 '<(DEPTH)/third_party/wtl/include', | |
24 ], | 23 ], |
25 # 4748 "/GS can not protect parameters and local variables from local | 24 # 4748 "/GS can not protect parameters and local variables from local |
26 # buffer overrun because optimizations are disabled in function". | 25 # buffer overrun because optimizations are disabled in function". |
27 # 4740 "flow in or out of inline asm code suppresses global optimization" | 26 # 4740 "flow in or out of inline asm code suppresses global optimization" |
28 # (result of __asm call x, __asm x:). | 27 # (result of __asm call x, __asm x:). |
29 # Nothing to be done about these warnings. | 28 # Nothing to be done about these warnings. |
30 'msvs_disabled_warnings': [ 4748, 4740 ], | 29 'msvs_disabled_warnings': [ 4748, 4740 ], |
31 'sources': [ | 30 'sources': [ |
32 'call_stack.cc', | 31 'call_stack.cc', |
33 'call_stack.h', | 32 'call_stack.h', |
34 'dllmain.cc', | 33 'dllmain.cc', |
35 'hotkey.h', | 34 'hotkey.h', |
36 'ia32_modrm_map.cc', | 35 'ia32_modrm_map.cc', |
37 'ia32_opcode_map.cc', | 36 'ia32_opcode_map.cc', |
38 'memory_hook.cc', | 37 'memory_hook.cc', |
39 'memory_hook.h', | 38 'memory_hook.h', |
40 'memory_watcher.cc', | 39 'memory_watcher.cc', |
41 'memory_watcher.h', | 40 'memory_watcher.h', |
42 'mini_disassembler.cc', | 41 'mini_disassembler.cc', |
43 'preamble_patcher.cc', | 42 'preamble_patcher.cc', |
44 'preamble_patcher.h', | 43 'preamble_patcher.h', |
45 'preamble_patcher_with_stub.cc', | 44 'preamble_patcher_with_stub.cc', |
46 ], | 45 ], |
47 }, | 46 }, |
48 ], | 47 ], |
49 } | 48 } |
OLD | NEW |