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