OLD | NEW |
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2013 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 import("//build/config/crypto.gni") | 5 import("//build/config/crypto.gni") |
6 import("//build/config/features.gni") | 6 import("//build/config/features.gni") |
7 import("//build/config/ui.gni") | 7 import("//build/config/ui.gni") |
8 | 8 |
9 declare_args() { | 9 declare_args() { |
10 # When set, turns off the (normally-on) iterator debugging and related stuff | 10 # When set, turns off the (normally-on) iterator debugging and related stuff |
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
167 "shell32.lib", | 167 "shell32.lib", |
168 "shlwapi.lib", | 168 "shlwapi.lib", |
169 "user32.lib", | 169 "user32.lib", |
170 "usp10.lib", | 170 "usp10.lib", |
171 "uuid.lib", | 171 "uuid.lib", |
172 "version.lib", | 172 "version.lib", |
173 "wininet.lib", | 173 "wininet.lib", |
174 "winmm.lib", | 174 "winmm.lib", |
175 "winspool.lib", | 175 "winspool.lib", |
176 "ws2_32.lib", | 176 "ws2_32.lib", |
| 177 # Please don't add more stuff here. We should actually be making this |
| 178 # list smaller, since all common things should be covered. If you need |
| 179 # some extra libraries, please just add a libs = [ "foo.lib" ] to your |
| 180 # target that needs it. |
177 ] | 181 ] |
178 } else if (is_android) { | 182 } else if (is_android) { |
179 # Android uses -nostdlib so we need to add even libc here. | 183 # Android uses -nostdlib so we need to add even libc here. |
180 libs = [ | 184 libs = [ |
181 # TODO(brettw) write a version of this, hopefully we can express this | 185 # TODO(brettw) write a version of this, hopefully we can express this |
182 # without forking out to GCC just to get the library name. The android | 186 # without forking out to GCC just to get the library name. The android |
183 # toolchain directory should probably be extracted into a .gni file that | 187 # toolchain directory should probably be extracted into a .gni file that |
184 # this file and the android toolchain .gn file can share. | 188 # this file and the android toolchain .gn file can share. |
185 # # Manually link the libgcc.a that the cross compiler uses. | 189 # # Manually link the libgcc.a that the cross compiler uses. |
186 # '<!(<(android_toolchain)/*-gcc -print-libgcc-file-name)', | 190 # '<!(<(android_toolchain)/*-gcc -print-libgcc-file-name)', |
(...skipping 18 matching lines...) Expand all Loading... |
205 "CoreText.framework", | 209 "CoreText.framework", |
206 "Foundation.framework", | 210 "Foundation.framework", |
207 "UIKit.framework", | 211 "UIKit.framework", |
208 ] | 212 ] |
209 } else if (is_linux) { | 213 } else if (is_linux) { |
210 libs = [ | 214 libs = [ |
211 "dl", | 215 "dl", |
212 ] | 216 ] |
213 } | 217 } |
214 } | 218 } |
OLD | NEW |