| OLD | NEW |
| 1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2009 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 'target_defaults': { | 6 'target_defaults': { |
| 7 'variables': { | 7 'variables': { |
| 8 'breakpad_handler_target': 0, | 8 'breakpad_handler_target': 0, |
| 9 }, | 9 }, |
| 10 'target_conditions': [ | 10 'target_conditions': [ |
| (...skipping 18 matching lines...) Expand all Loading... |
| 29 'src', | 29 'src', |
| 30 ], | 30 ], |
| 31 }], | 31 }], |
| 32 ], | 32 ], |
| 33 }, | 33 }, |
| 34 'conditions': [ | 34 'conditions': [ |
| 35 [ 'OS=="win"', { | 35 [ 'OS=="win"', { |
| 36 'targets': [ | 36 'targets': [ |
| 37 { | 37 { |
| 38 'target_name': 'breakpad_handler', | 38 'target_name': 'breakpad_handler', |
| 39 'type': '<(library)', | 39 'type': 'static_library', |
| 40 'variables': { | 40 'variables': { |
| 41 'breakpad_handler_target': 1, | 41 'breakpad_handler_target': 1, |
| 42 }, | 42 }, |
| 43 # TODO(gregoryd): direct_dependent_settings should be shared with the | 43 # TODO(gregoryd): direct_dependent_settings should be shared with the |
| 44 # 64-bit target, but it doesn't work due to a bug in gyp | 44 # 64-bit target, but it doesn't work due to a bug in gyp |
| 45 'direct_dependent_settings': { | 45 'direct_dependent_settings': { |
| 46 'include_dirs': [ | 46 'include_dirs': [ |
| 47 'src', | 47 'src', |
| 48 ], | 48 ], |
| 49 }, | 49 }, |
| 50 'defines': [ | 50 'defines': [ |
| 51 # Avoid the TerminateThread Application Verifier Failure. | 51 # Avoid the TerminateThread Application Verifier Failure. |
| 52 'BREAKPAD_NO_TERMINATE_THREAD', | 52 'BREAKPAD_NO_TERMINATE_THREAD', |
| 53 ], | 53 ], |
| 54 }, | 54 }, |
| 55 { | 55 { |
| 56 # This alternate breakpad target builds a breakpad that is suitable | 56 # This alternate breakpad target builds a breakpad that is suitable |
| 57 # for use with a DLL. It explicitly does NOT define | 57 # for use with a DLL. It explicitly does NOT define |
| 58 # BREAKPAD_NO_TERMINATE_THREAD as that define makes breakpad crash | 58 # BREAKPAD_NO_TERMINATE_THREAD as that define makes breakpad crash |
| 59 # when created and destroyed in DllMain. | 59 # when created and destroyed in DllMain. |
| 60 'target_name': 'breakpad_handler_dll', | 60 'target_name': 'breakpad_handler_dll', |
| 61 'type': '<(library)', | 61 'type': 'static_library', |
| 62 'variables': { | 62 'variables': { |
| 63 'breakpad_handler_target': 1, | 63 'breakpad_handler_target': 1, |
| 64 }, | 64 }, |
| 65 # TODO(gregoryd): direct_dependent_settings should be shared with the | 65 # TODO(gregoryd): direct_dependent_settings should be shared with the |
| 66 # 64-bit target, but it doesn't work due to a bug in gyp | 66 # 64-bit target, but it doesn't work due to a bug in gyp |
| 67 'direct_dependent_settings': { | 67 'direct_dependent_settings': { |
| 68 'include_dirs': [ | 68 'include_dirs': [ |
| 69 'src', | 69 'src', |
| 70 ], | 70 ], |
| 71 }, | 71 }, |
| 72 }, | 72 }, |
| 73 { | 73 { |
| 74 'target_name': 'breakpad_handler_win64', | 74 'target_name': 'breakpad_handler_win64', |
| 75 'type': '<(library)', | 75 'type': 'static_library', |
| 76 'variables': { | 76 'variables': { |
| 77 'breakpad_handler_target': 1, | 77 'breakpad_handler_target': 1, |
| 78 }, | 78 }, |
| 79 # TODO(gregoryd): direct_dependent_settings should be shared with the | 79 # TODO(gregoryd): direct_dependent_settings should be shared with the |
| 80 # 32-bit target, but it doesn't work due to a bug in gyp | 80 # 32-bit target, but it doesn't work due to a bug in gyp |
| 81 'direct_dependent_settings': { | 81 'direct_dependent_settings': { |
| 82 'include_dirs': [ | 82 'include_dirs': [ |
| 83 'src', | 83 'src', |
| 84 ], | 84 ], |
| 85 }, | 85 }, |
| 86 'defines': [ | 86 'defines': [ |
| 87 # Avoid the TerminateThread Application Verifier Failure. | 87 # Avoid the TerminateThread Application Verifier Failure. |
| 88 'BREAKPAD_NO_TERMINATE_THREAD', | 88 'BREAKPAD_NO_TERMINATE_THREAD', |
| 89 ], | 89 ], |
| 90 'configurations': { | 90 'configurations': { |
| 91 'Common_Base': { | 91 'Common_Base': { |
| 92 'msvs_target_platform': 'x64', | 92 'msvs_target_platform': 'x64', |
| 93 }, | 93 }, |
| 94 }, | 94 }, |
| 95 }, | 95 }, |
| 96 ], | 96 ], |
| 97 }], | 97 }], |
| 98 ], | 98 ], |
| 99 } | 99 } |
| OLD | NEW |