[email protected] | 7aa611b | 2011-06-02 20:47:02 | [diff] [blame] | 1 | # Copyright (c) 2011 The Chromium Authors. All rights reserved. |
[email protected] | 2eebb1a4 | 2009-05-28 18:46:27 | [diff] [blame] | 2 | # Use of this source code is governed by a BSD-style license that can be |
| 3 | # found in the LICENSE file. |
| 4 | |
| 5 | { |
[email protected] | 1b38a80d | 2013-11-01 17:38:59 | [diff] [blame] | 6 | 'variables': { |
| 7 | 'chromium_code': 1, |
| 8 | }, |
[email protected] | 2eebb1a4 | 2009-05-28 18:46:27 | [diff] [blame] | 9 | 'targets': [ |
| 10 | { |
| 11 | 'target_name': 'memory_watcher', |
| 12 | 'type': 'shared_library', |
[email protected] | 2eebb1a4 | 2009-05-28 18:46:27 | [diff] [blame] | 13 | 'dependencies': [ |
| 14 | '../../base/base.gyp:base', |
[email protected] | 529a3cf | 2013-09-30 02:47:48 | [diff] [blame] | 15 | '../../ui/gfx/gfx.gyp:gfx', |
[email protected] | b5e2d78 | 2013-12-18 21:01:15 | [diff] [blame] | 16 | '../../ui/gfx/gfx.gyp:gfx_geometry', |
[email protected] | 2eebb1a4 | 2009-05-28 18:46:27 | [diff] [blame] | 17 | ], |
| 18 | 'defines': [ |
| 19 | 'BUILD_MEMORY_WATCHER', |
| 20 | ], |
| 21 | 'include_dirs': [ |
| 22 | '../..', |
[email protected] | 2eebb1a4 | 2009-05-28 18:46:27 | [diff] [blame] | 23 | ], |
[email protected] | 4ad6125 | 2013-11-01 21:21:41 | [diff] [blame] | 24 | # 4748 "/GS can not protect parameters and local variables from local |
| 25 | # buffer overrun because optimizations are disabled in function". |
| 26 | # 4740 "flow in or out of inline asm code suppresses global optimization" |
| 27 | # (result of __asm call x, __asm x:). |
| 28 | # Nothing to be done about these warnings. |
| 29 | 'msvs_disabled_warnings': [ 4748, 4740 ], |
[email protected] | 2eebb1a4 | 2009-05-28 18:46:27 | [diff] [blame] | 30 | 'sources': [ |
| 31 | 'call_stack.cc', |
| 32 | 'call_stack.h', |
| 33 | 'dllmain.cc', |
| 34 | 'hotkey.h', |
| 35 | 'ia32_modrm_map.cc', |
| 36 | 'ia32_opcode_map.cc', |
| 37 | 'memory_hook.cc', |
| 38 | 'memory_hook.h', |
| 39 | 'memory_watcher.cc', |
| 40 | 'memory_watcher.h', |
| 41 | 'mini_disassembler.cc', |
| 42 | 'preamble_patcher.cc', |
| 43 | 'preamble_patcher.h', |
| 44 | 'preamble_patcher_with_stub.cc', |
| 45 | ], |
| 46 | }, |
| 47 | ], |
| 48 | } |