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 'targets': [ 7 { 8 'target_name': 'memory_watcher', 9 'type': 'shared_library', 10 'dependencies': [ 11 '../../base/base.gyp:base', 12 '../../ui/ui.gyp:ui', 13 ], 14 'defines': [ 15 'BUILD_MEMORY_WATCHER', 16 ], 17 'include_dirs': [ 18 '../..', 19 '<(DEPTH)/third_party/wtl/include', 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': [ 26 'call_stack.cc', 27 'call_stack.h', 28 'dllmain.cc', 29 'hotkey.h', 30 'ia32_modrm_map.cc', 31 'ia32_opcode_map.cc', 32 'memory_hook.cc', 33 'memory_hook.h', 34 'memory_watcher.cc', 35 'memory_watcher.h', 36 'mini_disassembler.cc', 37 'preamble_patcher.cc', 38 'preamble_patcher.h', 39 'preamble_patcher_with_stub.cc', 40 ], 41 }, 42 ], 43 } 44