ed0505c85a6c0d0885b7b3ec8531a523789a9f1d
[platform/framework/web/crosswalk.git] / src / tools / memory_watcher / memory_watcher.gyp
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
3 # found in the LICENSE file.
4
5 {
6   'variables': {
7     'chromium_code': 1,
8   },
9   'targets': [
10     {
11       'target_name': 'memory_watcher',
12       'type': 'shared_library',
13       'dependencies': [
14         '../../base/base.gyp:base',
15         '../../ui/gfx/gfx.gyp:gfx',
16         '../../ui/gfx/gfx.gyp:gfx_geometry',
17       ],
18       'defines': [
19         'BUILD_MEMORY_WATCHER',
20       ],
21       'include_dirs': [
22         '../..',
23       ],
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 ],
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 }