OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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 source_set("handler_lib") { | 5 source_set("handler_lib") { |
6 sources = [ | 6 sources = [ |
7 "crash_report_upload_thread.cc", | 7 "crash_report_upload_thread.cc", |
8 "crash_report_upload_thread.h", | 8 "crash_report_upload_thread.h", |
9 "handler_main.cc", | 9 "handler_main.cc", |
10 "handler_main.h", | 10 "handler_main.h", |
(...skipping 28 matching lines...) Expand all Loading... |
39 ] | 39 ] |
40 | 40 |
41 include_dirs = [ ".." ] | 41 include_dirs = [ ".." ] |
42 | 42 |
43 deps = [ | 43 deps = [ |
44 ":handler_lib", | 44 ":handler_lib", |
45 "../compat", | 45 "../compat", |
46 "//base", | 46 "//base", |
47 "//build/win:default_exe_manifest", | 47 "//build/win:default_exe_manifest", |
48 ] | 48 ] |
| 49 |
| 50 if (is_mac && is_component_build) { |
| 51 # The handler is in Chromium.app/Contents/Versions/X/Chromium Framework.fram
ework/Helpers/ |
| 52 # so set rpath up to the base. |
| 53 ldflags = [ |
| 54 "-rpath", |
| 55 "@loader_path/../../../../../..", |
| 56 ] |
| 57 } |
49 } | 58 } |
OLD | NEW |