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 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
120 ['OS=="win"', { | 120 ['OS=="win"', { |
121 'link_settings': { | 121 'link_settings': { |
122 'libraries': [ | 122 'libraries': [ |
123 '-lpowrprof.lib', | 123 '-lpowrprof.lib', |
124 '-lversion.lib', | 124 '-lversion.lib', |
125 ], | 125 ], |
126 }, | 126 }, |
127 }], | 127 }], |
128 ] | 128 ] |
129 }, | 129 }, |
| 130 { |
| 131 'variables': { |
| 132 'conditions': [ |
| 133 ['OS == "win"', { |
| 134 'snapshot_api_target_type%': 'static_library', |
| 135 }, { |
| 136 # There are no source files except on Windows. |
| 137 'snapshot_api_target_type%': 'none', |
| 138 }], |
| 139 ], |
| 140 }, |
| 141 'target_name': 'crashpad_snapshot_api', |
| 142 'type': '<(snapshot_api_target_type)', |
| 143 'dependencies': [ |
| 144 'crashpad_snapshot', |
| 145 '../compat/compat.gyp:crashpad_compat', |
| 146 '../third_party/mini_chromium/mini_chromium.gyp:base', |
| 147 '../util/util.gyp:crashpad_util', |
| 148 ], |
| 149 'include_dirs': [ |
| 150 '..', |
| 151 ], |
| 152 'sources': [ |
| 153 'api/module_annotations_win.cc', |
| 154 'api/module_annotations_win.h', |
| 155 ], |
| 156 }, |
130 ], | 157 ], |
131 } | 158 } |
OLD | NEW |