| OLD | NEW |
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 'includes': [ | 6 'includes': [ |
| 7 'breakpad_sender.gypi', | 7 'breakpad_sender.gypi', |
| 8 'breakpad_handler.gypi', | 8 'breakpad_handler.gypi', |
| 9 ], | 9 ], |
| 10 'conditions': [ | 10 'conditions': [ |
| 11 # minidump_stackwalk and minidump_dump are tool-type executables that do | 11 # minidump_stackwalk and minidump_dump are tool-type executables that do |
| 12 # not build on iOS with Xcode (but do build on iOS with ninja.) | 12 # not build on iOS with Xcode (but do build on iOS with ninja.) |
| 13 ['(OS!="ios" or "<(GENERATOR)"=="ninja") and OS!="win"', { | 13 ['(OS!="ios" or "<(GENERATOR)"=="ninja") and OS!="win"', { |
| 14 'targets': [ | 14 'targets': [ |
| 15 { | 15 { |
| 16 # code shared by both {micro,mini}dump_stackwalk | 16 # code shared by both {micro,mini}dump_stackwalk |
| 17 # GN version: //breakpad:stackwalk_common | 17 # GN version: //breakpad:stackwalk_common |
| 18 'target_name': 'stackwalk_common', | 18 'target_name': 'stackwalk_common', |
| 19 'type': 'static_library', | 19 'type': 'static_library', |
| 20 'toolsets': ['host'], | |
| 21 'includes': ['breakpad_tools.gypi'], | 20 'includes': ['breakpad_tools.gypi'], |
| 22 'defines': ['BPLOG_MINIMUM_SEVERITY=SEVERITY_ERROR'], | 21 'defines': ['BPLOG_MINIMUM_SEVERITY=SEVERITY_ERROR'], |
| 23 'sources': [ | 22 'sources': [ |
| 24 'src/processor/basic_code_module.h', | 23 'src/processor/basic_code_module.h', |
| 25 'src/processor/basic_code_modules.cc', | 24 'src/processor/basic_code_modules.cc', |
| 26 'src/processor/basic_code_modules.h', | 25 'src/processor/basic_code_modules.h', |
| 27 'src/processor/basic_source_line_resolver.cc', | 26 'src/processor/basic_source_line_resolver.cc', |
| 28 'src/processor/binarystream.cc', | 27 'src/processor/binarystream.cc', |
| 29 'src/processor/binarystream.h', | 28 'src/processor/binarystream.h', |
| 30 'src/processor/call_stack.cc', | 29 'src/processor/call_stack.cc', |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 'src/third_party/libdisasm/qword.h', | 84 'src/third_party/libdisasm/qword.h', |
| 86 'src/third_party/libdisasm/x86_disasm.c', | 85 'src/third_party/libdisasm/x86_disasm.c', |
| 87 'src/third_party/libdisasm/x86_format.c', | 86 'src/third_party/libdisasm/x86_format.c', |
| 88 'src/third_party/libdisasm/x86_imm.c', | 87 'src/third_party/libdisasm/x86_imm.c', |
| 89 'src/third_party/libdisasm/x86_imm.h', | 88 'src/third_party/libdisasm/x86_imm.h', |
| 90 'src/third_party/libdisasm/x86_insn.c', | 89 'src/third_party/libdisasm/x86_insn.c', |
| 91 'src/third_party/libdisasm/x86_misc.c', | 90 'src/third_party/libdisasm/x86_misc.c', |
| 92 'src/third_party/libdisasm/x86_operand_list.c', | 91 'src/third_party/libdisasm/x86_operand_list.c', |
| 93 'src/third_party/libdisasm/x86_operand_list.h', | 92 'src/third_party/libdisasm/x86_operand_list.h', |
| 94 ], | 93 ], |
| 94 'conditions': [ |
| 95 ['OS=="ios"', { |
| 96 'toolsets': ['host'], |
| 97 }], |
| 98 ], |
| 95 }, | 99 }, |
| 96 { | 100 { |
| 97 # GN version: //breakpad:microdump_stackwalk | 101 # GN version: //breakpad:microdump_stackwalk |
| 98 'target_name': 'microdump_stackwalk', | 102 'target_name': 'microdump_stackwalk', |
| 99 'type': 'executable', | 103 'type': 'executable', |
| 100 'toolsets': ['host'], | |
| 101 'dependencies': ['stackwalk_common'], | 104 'dependencies': ['stackwalk_common'], |
| 102 'includes': ['breakpad_tools.gypi'], | 105 'includes': ['breakpad_tools.gypi'], |
| 103 'defines': ['BPLOG_MINIMUM_SEVERITY=SEVERITY_ERROR'], | 106 'defines': ['BPLOG_MINIMUM_SEVERITY=SEVERITY_ERROR'], |
| 104 'sources': [ | 107 'sources': [ |
| 105 'src/processor/microdump.cc', | 108 'src/processor/microdump.cc', |
| 106 'src/processor/microdump_processor.cc', | 109 'src/processor/microdump_processor.cc', |
| 107 'src/processor/microdump_stackwalk.cc', | 110 'src/processor/microdump_stackwalk.cc', |
| 108 ], | 111 ], |
| 112 'conditions': [ |
| 113 ['OS=="ios"', { |
| 114 'toolsets': ['host'], |
| 115 }], |
| 116 ], |
| 109 }, | 117 }, |
| 110 { | 118 { |
| 111 # GN version: //breakpad:minidump_stackwalk | 119 # GN version: //breakpad:minidump_stackwalk |
| 112 'target_name': 'minidump_stackwalk', | 120 'target_name': 'minidump_stackwalk', |
| 113 'type': 'executable', | 121 'type': 'executable', |
| 114 'toolsets': ['host'], | |
| 115 'dependencies': ['stackwalk_common'], | 122 'dependencies': ['stackwalk_common'], |
| 116 'includes': ['breakpad_tools.gypi'], | 123 'includes': ['breakpad_tools.gypi'], |
| 117 'defines': ['BPLOG_MINIMUM_SEVERITY=SEVERITY_ERROR'], | 124 'defines': ['BPLOG_MINIMUM_SEVERITY=SEVERITY_ERROR'], |
| 118 'sources': [ | 125 'sources': [ |
| 119 'src/processor/exploitability.cc', | 126 'src/processor/exploitability.cc', |
| 120 'src/processor/exploitability_linux.cc', | 127 'src/processor/exploitability_linux.cc', |
| 121 'src/processor/exploitability_linux.h', | 128 'src/processor/exploitability_linux.h', |
| 122 'src/processor/exploitability_win.cc', | 129 'src/processor/exploitability_win.cc', |
| 123 'src/processor/exploitability_win.h', | 130 'src/processor/exploitability_win.h', |
| 124 'src/processor/minidump.cc', | 131 'src/processor/minidump.cc', |
| 125 'src/processor/minidump_processor.cc', | 132 'src/processor/minidump_processor.cc', |
| 126 'src/processor/minidump_stackwalk.cc', | 133 'src/processor/minidump_stackwalk.cc', |
| 127 ], | 134 ], |
| 135 'conditions': [ |
| 136 ['OS=="ios"', { |
| 137 'toolsets': ['host'], |
| 138 }], |
| 139 ], |
| 128 }, | 140 }, |
| 129 { | 141 { |
| 130 # GN version: //breakpad:minidump_dump | 142 # GN version: //breakpad:minidump_dump |
| 131 'target_name': 'minidump_dump', | 143 'target_name': 'minidump_dump', |
| 132 'type': 'executable', | 144 'type': 'executable', |
| 133 'toolsets': ['host'], | |
| 134 'includes': ['breakpad_tools.gypi'], | 145 'includes': ['breakpad_tools.gypi'], |
| 135 'sources': [ | 146 'sources': [ |
| 136 'src/processor/basic_code_module.h', | 147 'src/processor/basic_code_module.h', |
| 137 'src/processor/basic_code_modules.cc', | 148 'src/processor/basic_code_modules.cc', |
| 138 'src/processor/basic_code_modules.h', | 149 'src/processor/basic_code_modules.h', |
| 139 'src/processor/dump_context.cc', | 150 'src/processor/dump_context.cc', |
| 140 'src/processor/dump_object.cc', | 151 'src/processor/dump_object.cc', |
| 141 'src/processor/logging.cc', | 152 'src/processor/logging.cc', |
| 142 'src/processor/logging.h', | 153 'src/processor/logging.h', |
| 143 'src/processor/minidump.cc', | 154 'src/processor/minidump.cc', |
| 144 'src/processor/minidump_dump.cc', | 155 'src/processor/minidump_dump.cc', |
| 145 'src/processor/pathname_stripper.cc', | 156 'src/processor/pathname_stripper.cc', |
| 146 'src/processor/pathname_stripper.h', | 157 'src/processor/pathname_stripper.h', |
| 147 ], | 158 ], |
| 159 'conditions': [ |
| 160 ['OS=="ios"', { |
| 161 'toolsets': ['host'], |
| 162 }], |
| 163 ], |
| 148 }, | 164 }, |
| 149 ], | 165 ], |
| 150 }], | 166 }], |
| 151 ['OS=="mac" or (OS=="ios" and "<(GENERATOR)"=="ninja")', { | 167 ['OS=="mac" or (OS=="ios" and "<(GENERATOR)"=="ninja")', { |
| 152 'target_defaults': { | 168 'target_defaults': { |
| 153 'include_dirs': [ | 169 'include_dirs': [ |
| 154 'src', | 170 'src', |
| 155 ], | 171 ], |
| 156 'configurations': { | 172 'configurations': { |
| 157 'Debug_Base': { | 173 'Debug_Base': { |
| (...skipping 797 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 955 'include_main_binary': 0, | 971 'include_main_binary': 0, |
| 956 }, | 972 }, |
| 957 'includes': [ | 973 'includes': [ |
| 958 '../build/android/native_app_dependencies.gypi' | 974 '../build/android/native_app_dependencies.gypi' |
| 959 ], | 975 ], |
| 960 } | 976 } |
| 961 ], | 977 ], |
| 962 }], | 978 }], |
| 963 ], | 979 ], |
| 964 } | 980 } |
| OLD | NEW |