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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 'xcode_settings': { | 62 'xcode_settings': { |
63 'LD_RUNPATH_SEARCH_PATHS': [ # -Wl,-rpath | 63 'LD_RUNPATH_SEARCH_PATHS': [ # -Wl,-rpath |
64 # Get back from | 64 # Get back from |
65 # Chromium.app/Contents/Versions/V/Framework.framework/Helpers | 65 # Chromium.app/Contents/Versions/V/Framework.framework/Helpers |
66 '@loader_path/../../../../../..', | 66 '@loader_path/../../../../../..', |
67 ], | 67 ], |
68 }, | 68 }, |
69 }], | 69 }], |
70 ], | 70 ], |
71 }], | 71 }], |
| 72 ['OS=="win"', { |
| 73 'link_settings': { |
| 74 'libraries': [ |
| 75 '-ldbghelp.lib', |
| 76 ], |
| 77 }, |
| 78 }], |
72 ], | 79 ], |
73 }, | 80 }, |
74 ], | 81 ], |
75 'conditions': [ | 82 'conditions': [ |
76 ['OS=="win"', { | 83 ['OS=="win"', { |
77 'targets': [ | 84 'targets': [ |
78 { | 85 { |
79 'target_name': 'crashy_program', | 86 'target_name': 'crashy_program', |
80 'type': 'executable', | 87 'type': 'executable', |
81 'dependencies': [ | 88 'dependencies': [ |
82 '../client/client.gyp:crashpad_client', | 89 '../client/client.gyp:crashpad_client', |
83 '../third_party/mini_chromium/mini_chromium.gyp:base', | 90 '../third_party/mini_chromium/mini_chromium.gyp:base', |
84 '../tools/tools.gyp:crashpad_tool_support', | 91 '../tools/tools.gyp:crashpad_tool_support', |
85 ], | 92 ], |
86 'include_dirs': [ | 93 'include_dirs': [ |
87 '..', | 94 '..', |
88 ], | 95 ], |
89 'sources': [ | 96 'sources': [ |
90 'win/crashy_test_program.cc', | 97 'win/crashy_test_program.cc', |
91 ], | 98 ], |
92 }, | 99 }, |
93 ], | 100 ], |
94 }, { | 101 }, { |
95 'targets': [], | 102 'targets': [], |
96 }], | 103 }], |
97 ], | 104 ], |
98 } | 105 } |
OLD | NEW |