blob: ed0505c85a6c0d0885b7b3ec8531a523789a9f1d [file] [log] [blame]
[email protected]7aa611b2011-06-02 20:47:021# Copyright (c) 2011 The Chromium Authors. All rights reserved.
[email protected]2eebb1a42009-05-28 18:46:272# 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]1b38a80d2013-11-01 17:38:596 'variables': {
7 'chromium_code': 1,
8 },
[email protected]2eebb1a42009-05-28 18:46:279 'targets': [
10 {
11 'target_name': 'memory_watcher',
12 'type': 'shared_library',
[email protected]2eebb1a42009-05-28 18:46:2713 'dependencies': [
14 '../../base/base.gyp:base',
[email protected]529a3cf2013-09-30 02:47:4815 '../../ui/gfx/gfx.gyp:gfx',
[email protected]b5e2d782013-12-18 21:01:1516 '../../ui/gfx/gfx.gyp:gfx_geometry',
[email protected]2eebb1a42009-05-28 18:46:2717 ],
18 'defines': [
19 'BUILD_MEMORY_WATCHER',
20 ],
21 'include_dirs': [
22 '../..',
[email protected]2eebb1a42009-05-28 18:46:2723 ],
[email protected]4ad61252013-11-01 21:21:4124 # 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]2eebb1a42009-05-28 18:46:2730 '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}