| OLD | NEW |
| 1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 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 | 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 [ 'OS=="mac"', { | 11 [ 'OS=="mac"', { |
| 12 'target_defaults': { | 12 'target_defaults': { |
| 13 'include_dirs': [ | 13 'include_dirs': [ |
| 14 'src', | 14 'src', |
| 15 ], | 15 ], |
| 16 'configurations': { | 16 'configurations': { |
| 17 'Debug_Base': { | 17 'Debug_Base': { |
| 18 'defines': [ | 18 'defines': [ |
| 19 # This is needed for GTMLogger to work correctly. | 19 # This is needed for GTMLogger to work correctly. |
| 20 'DEBUG', | 20 'DEBUG', |
| 21 ], | 21 ], |
| 22 }, | 22 }, |
| 23 }, | 23 }, |
| 24 }, | 24 }, |
| 25 'targets': [ | 25 'targets': [ |
| 26 { | 26 { |
| 27 'target_name': 'breakpad_utilities', | 27 'target_name': 'breakpad_utilities', |
| 28 'type': '<(library)', | 28 'type': 'static_library', |
| 29 'sources': [ | 29 'sources': [ |
| 30 'src/common/convert_UTF.c', | 30 'src/common/convert_UTF.c', |
| 31 'src/client/mac/handler/breakpad_nlist_64.cc', | 31 'src/client/mac/handler/breakpad_nlist_64.cc', |
| 32 'src/client/mac/handler/dynamic_images.cc', | 32 'src/client/mac/handler/dynamic_images.cc', |
| 33 'src/common/mac/file_id.cc', | 33 'src/common/mac/file_id.cc', |
| 34 'src/common/mac/MachIPC.mm', | 34 'src/common/mac/MachIPC.mm', |
| 35 'src/common/mac/macho_id.cc', | 35 'src/common/mac/macho_id.cc', |
| 36 'src/common/mac/macho_utilities.cc', | 36 'src/common/mac/macho_utilities.cc', |
| 37 'src/common/mac/macho_walker.cc', | 37 'src/common/mac/macho_walker.cc', |
| 38 'src/client/minidump_file_writer.cc', | 38 'src/client/minidump_file_writer.cc', |
| (...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 167 'src/tools/mac/symupload/symupload.m', | 167 'src/tools/mac/symupload/symupload.m', |
| 168 ], | 168 ], |
| 169 'link_settings': { | 169 'link_settings': { |
| 170 'libraries': [ | 170 'libraries': [ |
| 171 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework', | 171 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework', |
| 172 ], | 172 ], |
| 173 } | 173 } |
| 174 }, | 174 }, |
| 175 { | 175 { |
| 176 'target_name': 'breakpad', | 176 'target_name': 'breakpad', |
| 177 'type': '<(library)', | 177 'type': 'static_library', |
| 178 'dependencies': [ | 178 'dependencies': [ |
| 179 'breakpad_utilities', | 179 'breakpad_utilities', |
| 180 'crash_inspector', | 180 'crash_inspector', |
| 181 'crash_report_sender', | 181 'crash_report_sender', |
| 182 ], | 182 ], |
| 183 'sources': [ | 183 'sources': [ |
| 184 'src/client/mac/crash_generation/crash_generation_client.cc', | 184 'src/client/mac/crash_generation/crash_generation_client.cc', |
| 185 'src/client/mac/crash_generation/crash_generation_client.h', | 185 'src/client/mac/crash_generation/crash_generation_client.h', |
| 186 'src/client/mac/handler/protected_memory_allocator.cc', | 186 'src/client/mac/handler/protected_memory_allocator.cc', |
| 187 'src/client/mac/handler/exception_handler.cc', | 187 'src/client/mac/handler/exception_handler.cc', |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 276 'src', | 276 'src', |
| 277 '..', | 277 '..', |
| 278 ], | 278 ], |
| 279 }, | 279 }, |
| 280 ], | 280 ], |
| 281 }], | 281 }], |
| 282 ], | 282 ], |
| 283 'targets': [ | 283 'targets': [ |
| 284 { | 284 { |
| 285 'target_name': 'breakpad_client', | 285 'target_name': 'breakpad_client', |
| 286 'type': '<(library)', | 286 'type': 'static_library', |
| 287 | 287 |
| 288 'sources': [ | 288 'sources': [ |
| 289 'src/client/linux/crash_generation/crash_generation_client.cc', | 289 'src/client/linux/crash_generation/crash_generation_client.cc', |
| 290 'src/client/linux/crash_generation/crash_generation_client.h', | 290 'src/client/linux/crash_generation/crash_generation_client.h', |
| 291 'src/client/linux/handler/exception_handler.cc', | 291 'src/client/linux/handler/exception_handler.cc', |
| 292 'src/client/linux/minidump_writer/directory_reader.h', | 292 'src/client/linux/minidump_writer/directory_reader.h', |
| 293 'src/client/linux/minidump_writer/line_reader.h', | 293 'src/client/linux/minidump_writer/line_reader.h', |
| 294 'src/client/linux/minidump_writer/linux_dumper.cc', | 294 'src/client/linux/minidump_writer/linux_dumper.cc', |
| 295 'src/client/linux/minidump_writer/linux_dumper.h', | 295 'src/client/linux/minidump_writer/linux_dumper.h', |
| 296 'src/client/linux/minidump_writer/minidump_writer.cc', | 296 'src/client/linux/minidump_writer/minidump_writer.cc', |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 331 'src', | 331 'src', |
| 332 'src/client', | 332 'src/client', |
| 333 'src/third_party/linux/include', | 333 'src/third_party/linux/include', |
| 334 '..', | 334 '..', |
| 335 '.', | 335 '.', |
| 336 ], | 336 ], |
| 337 }, | 337 }, |
| 338 { | 338 { |
| 339 # Breakpad r693 uses some files from src/processor in unit tests. | 339 # Breakpad r693 uses some files from src/processor in unit tests. |
| 340 'target_name': 'breakpad_processor_support', | 340 'target_name': 'breakpad_processor_support', |
| 341 'type': '<(library)', | 341 'type': 'static_library', |
| 342 | 342 |
| 343 'sources': [ | 343 'sources': [ |
| 344 'src/processor/basic_code_modules.cc', | 344 'src/processor/basic_code_modules.cc', |
| 345 'src/processor/basic_code_modules.h', | 345 'src/processor/basic_code_modules.h', |
| 346 'src/processor/logging.cc', | 346 'src/processor/logging.cc', |
| 347 'src/processor/logging.h', | 347 'src/processor/logging.h', |
| 348 'src/processor/minidump.cc', | 348 'src/processor/minidump.cc', |
| 349 'src/processor/minidump.h', | 349 'src/processor/minidump.h', |
| 350 'src/processor/pathname_stripper.cc', | 350 'src/processor/pathname_stripper.cc', |
| 351 'src/processor/pathname_stripper.h', | 351 'src/processor/pathname_stripper.h', |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 422 ], | 422 ], |
| 423 }], | 423 }], |
| 424 ], | 424 ], |
| 425 } | 425 } |
| 426 | 426 |
| 427 # Local Variables: | 427 # Local Variables: |
| 428 # tab-width:2 | 428 # tab-width:2 |
| 429 # indent-tabs-mode:nil | 429 # indent-tabs-mode:nil |
| 430 # End: | 430 # End: |
| 431 # vim: set expandtab tabstop=2 shiftwidth=2: | 431 # vim: set expandtab tabstop=2 shiftwidth=2: |
| OLD | NEW |