| OLD | NEW |
| 1 # Copyright 2014 The Crashpad Authors. All rights reserved. | 1 # Copyright 2014 The Crashpad Authors. All rights reserved. |
| 2 # | 2 # |
| 3 # Licensed under the Apache License, Version 2.0 (the "License"); | 3 # Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 # you may not use this file except in compliance with the License. | 4 # you may not use this file except in compliance with the License. |
| 5 # You may obtain a copy of the License at | 5 # You may obtain a copy of the License at |
| 6 # | 6 # |
| 7 # http://www.apache.org/licenses/LICENSE-2.0 | 7 # http://www.apache.org/licenses/LICENSE-2.0 |
| 8 # | 8 # |
| 9 # Unless required by applicable law or agreed to in writing, software | 9 # Unless required by applicable law or agreed to in writing, software |
| 10 # distributed under the License is distributed on an "AS IS" BASIS, | 10 # distributed under the License is distributed on an "AS IS" BASIS, |
| (...skipping 30 matching lines...) Expand all Loading... |
| 41 '../third_party/mini_chromium/mini_chromium.gyp:base', | 41 '../third_party/mini_chromium/mini_chromium.gyp:base', |
| 42 '../util/util.gyp:crashpad_util', | 42 '../util/util.gyp:crashpad_util', |
| 43 ], | 43 ], |
| 44 'include_dirs': [ | 44 'include_dirs': [ |
| 45 '..', | 45 '..', |
| 46 ], | 46 ], |
| 47 'sources': [ | 47 'sources': [ |
| 48 'crashpad_database_util.cc', | 48 'crashpad_database_util.cc', |
| 49 ], | 49 ], |
| 50 }, | 50 }, |
| 51 { |
| 52 'target_name': 'generate_dump', |
| 53 'type': 'executable', |
| 54 'dependencies': [ |
| 55 'crashpad_tool_support', |
| 56 '../compat/compat.gyp:crashpad_compat', |
| 57 '../minidump/minidump.gyp:crashpad_minidump', |
| 58 '../snapshot/snapshot.gyp:crashpad_snapshot', |
| 59 '../third_party/mini_chromium/mini_chromium.gyp:base', |
| 60 '../util/util.gyp:crashpad_util', |
| 61 ], |
| 62 'include_dirs': [ |
| 63 '..', |
| 64 ], |
| 65 'sources': [ |
| 66 'generate_dump.cc', |
| 67 ], |
| 68 'conditions': [ |
| 69 ['OS=="mac"', { |
| 70 'xcode_settings': { |
| 71 'OTHER_LDFLAGS': [ |
| 72 '-sectcreate', |
| 73 '__TEXT', |
| 74 '__info_plist', |
| 75 '<(sectaskaccess_info_plist)' |
| 76 ], |
| 77 }, |
| 78 }], |
| 79 ], |
| 80 }, |
| 51 ], | 81 ], |
| 52 'conditions': [ | 82 'conditions': [ |
| 53 ['OS=="mac"', { | 83 ['OS=="mac"', { |
| 54 'variables': { | 84 'variables': { |
| 55 # Programs that use task_for_pid() can indicate to taskgated(8) in their | 85 # Programs that use task_for_pid() can indicate to taskgated(8) in their |
| 56 # Info.plist that they are allowed to call that function. In order for | 86 # Info.plist that they are allowed to call that function. In order for |
| 57 # this to work, the programs in question must be signed by an authority | 87 # this to work, the programs in question must be signed by an authority |
| 58 # trusted by the system. Signing is beyond the scope of the build, but | 88 # trusted by the system. Signing is beyond the scope of the build, but |
| 59 # the key to make this work is placed in Info.plist to enable the | 89 # the key to make this work is placed in Info.plist to enable the |
| 60 # desired behavior once the tools that require this access are signed. | 90 # desired behavior once the tools that require this access are signed. |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 112 'xcode_settings': { | 142 'xcode_settings': { |
| 113 'OTHER_LDFLAGS': [ | 143 'OTHER_LDFLAGS': [ |
| 114 '-sectcreate', | 144 '-sectcreate', |
| 115 '__TEXT', | 145 '__TEXT', |
| 116 '__info_plist', | 146 '__info_plist', |
| 117 '<(sectaskaccess_info_plist)' | 147 '<(sectaskaccess_info_plist)' |
| 118 ], | 148 ], |
| 119 }, | 149 }, |
| 120 }, | 150 }, |
| 121 { | 151 { |
| 122 'target_name': 'generate_dump', | |
| 123 'type': 'executable', | |
| 124 'dependencies': [ | |
| 125 'crashpad_tool_support', | |
| 126 '../compat/compat.gyp:crashpad_compat', | |
| 127 '../minidump/minidump.gyp:crashpad_minidump', | |
| 128 '../snapshot/snapshot.gyp:crashpad_snapshot', | |
| 129 '../third_party/mini_chromium/mini_chromium.gyp:base', | |
| 130 '../util/util.gyp:crashpad_util', | |
| 131 ], | |
| 132 'include_dirs': [ | |
| 133 '..', | |
| 134 ], | |
| 135 'sources': [ | |
| 136 'generate_dump.cc', | |
| 137 ], | |
| 138 'xcode_settings': { | |
| 139 'OTHER_LDFLAGS': [ | |
| 140 '-sectcreate', | |
| 141 '__TEXT', | |
| 142 '__info_plist', | |
| 143 '<(sectaskaccess_info_plist)' | |
| 144 ], | |
| 145 }, | |
| 146 }, | |
| 147 { | |
| 148 'target_name': 'on_demand_service_tool', | 152 'target_name': 'on_demand_service_tool', |
| 149 'type': 'executable', | 153 'type': 'executable', |
| 150 'dependencies': [ | 154 'dependencies': [ |
| 151 'crashpad_tool_support', | 155 'crashpad_tool_support', |
| 152 '../compat/compat.gyp:crashpad_compat', | 156 '../compat/compat.gyp:crashpad_compat', |
| 153 '../third_party/mini_chromium/mini_chromium.gyp:base', | 157 '../third_party/mini_chromium/mini_chromium.gyp:base', |
| 154 '../util/util.gyp:crashpad_util', | 158 '../util/util.gyp:crashpad_util', |
| 155 ], | 159 ], |
| 156 'include_dirs': [ | 160 'include_dirs': [ |
| 157 '..', | 161 '..', |
| (...skipping 22 matching lines...) Expand all Loading... |
| 180 '..', | 184 '..', |
| 181 ], | 185 ], |
| 182 'sources': [ | 186 'sources': [ |
| 183 'mac/run_with_crashpad.cc', | 187 'mac/run_with_crashpad.cc', |
| 184 ], | 188 ], |
| 185 }, | 189 }, |
| 186 ], | 190 ], |
| 187 }], | 191 }], |
| 188 ], | 192 ], |
| 189 } | 193 } |
| OLD | NEW |