| 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 27 matching lines...) Expand all Loading... |
| 38 'sources': [ | 38 'sources': [ |
| 39 'mac/crash_report_exception_handler.cc', | 39 'mac/crash_report_exception_handler.cc', |
| 40 'mac/crash_report_exception_handler.h', | 40 'mac/crash_report_exception_handler.h', |
| 41 'mac/crash_report_upload_thread.cc', | 41 'mac/crash_report_upload_thread.cc', |
| 42 'mac/crash_report_upload_thread.h', | 42 'mac/crash_report_upload_thread.h', |
| 43 'mac/exception_handler_server.cc', | 43 'mac/exception_handler_server.cc', |
| 44 'mac/exception_handler_server.h', | 44 'mac/exception_handler_server.h', |
| 45 'mac/main.cc', | 45 'mac/main.cc', |
| 46 ], | 46 ], |
| 47 | 47 |
| 48 » # In an in-Chromium build with component=shared_library, | 48 # In an in-Chromium build with component=shared_library, |
| 49 » # crashpad_handler will depend on shared libraries such as | 49 # crashpad_handler will depend on shared libraries such as |
| 50 » # libbase.dylib located in out/{Debug,Release} via the @rpath | 50 # libbase.dylib located in out/{Debug,Release} via the @rpath |
| 51 » # mechanism. When crashpad_handler is copied to its home deep inside | 51 # mechanism. When crashpad_handler is copied to its home deep inside |
| 52 » # the Chromium app bundle, it needs to have an LC_RPATH command | 52 # the Chromium app bundle, it needs to have an LC_RPATH command |
| 53 » # pointing back to the directory containing these dependency | 53 # pointing back to the directory containing these dependency |
| 54 » # libraries. | 54 # libraries. |
| 55 'variables': { | 55 'variables': { |
| 56 'component%': 'static_library', | 56 'component%': 'static_library', |
| 57 }, | 57 }, |
| 58 'conditions': [ | 58 'conditions': [ |
| 59 ['crashpad_in_chromium!=0 and component=="shared_library"', { | 59 ['crashpad_in_chromium!=0 and component=="shared_library"', { |
| 60 'xcode_settings': { | 60 'xcode_settings': { |
| 61 'LD_RUNPATH_SEARCH_PATHS': [ # -Wl,-rpath | 61 'LD_RUNPATH_SEARCH_PATHS': [ # -Wl,-rpath |
| 62 # Get back from | 62 # Get back from |
| 63 # Chromium.app/Contents/Versions/V/Framework.framework/Helpers | 63 # Chromium.app/Contents/Versions/V/Framework.framework/Helpers |
| 64 '@loader_path/../../../../../..', | 64 '@loader_path/../../../../../..', |
| 65 ], | 65 ], |
| 66 }, | 66 }, |
| 67 }], | 67 }], |
| 68 ], | 68 ], |
| 69 }, | 69 }, |
| 70 ], | 70 ], |
| 71 }, { | 71 }, { |
| 72 'targets': [], | 72 'targets': [], |
| 73 }], | 73 }], |
| 74 ], | 74 ], |
| 75 } | 75 } |
| OLD | NEW |