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/allocator.gni") | 5 import("//build/config/allocator.gni") |
6 import("//build/config/chrome_build.gni") | 6 import("//build/config/chrome_build.gni") |
7 import("//build/config/crypto.gni") | 7 import("//build/config/crypto.gni") |
8 import("//build/config/features.gni") | 8 import("//build/config/features.gni") |
9 import("//build/config/sanitizers/sanitizers.gni") | 9 import("//build/config/sanitizers/sanitizers.gni") |
10 import("//build/config/ui.gni") | 10 import("//build/config/ui.gni") |
(...skipping 376 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
387 ] | 387 ] |
388 } else if (is_mac) { | 388 } else if (is_mac) { |
389 libs = [ | 389 libs = [ |
390 "AppKit.framework", | 390 "AppKit.framework", |
391 "ApplicationServices.framework", | 391 "ApplicationServices.framework", |
392 "Carbon.framework", | 392 "Carbon.framework", |
393 "CoreFoundation.framework", | 393 "CoreFoundation.framework", |
394 "Foundation.framework", | 394 "Foundation.framework", |
395 "IOKit.framework", | 395 "IOKit.framework", |
396 "Security.framework", | 396 "Security.framework", |
| 397 "OpenGL.framework", |
397 ] | 398 ] |
398 } else if (is_ios) { | 399 } else if (is_ios) { |
| 400 # The libraries listed here will be specified for both the target and the |
| 401 # host. Only the common ones should be listed here. |
399 libs = [ | 402 libs = [ |
400 "CoreFoundation.framework", | 403 "CoreFoundation.framework", |
401 "CoreGraphics.framework", | 404 "CoreGraphics.framework", |
402 "CoreText.framework", | 405 "CoreText.framework", |
403 "Foundation.framework", | 406 "Foundation.framework", |
404 "UIKit.framework", | |
405 ] | 407 ] |
406 } else if (is_linux) { | 408 } else if (is_linux) { |
407 libs = [ "dl" ] | 409 libs = [ "dl" ] |
408 } | 410 } |
409 } | 411 } |
410 | 412 |
411 # Add this config to your target to enable precompiled headers. | 413 # Add this config to your target to enable precompiled headers. |
412 # | 414 # |
413 # On Windows, precompiled headers are done on a per-target basis. If you have | 415 # On Windows, precompiled headers are done on a per-target basis. If you have |
414 # just a couple of files, the time it takes to precompile (~2 seconds) can | 416 # just a couple of files, the time it takes to precompile (~2 seconds) can |
(...skipping 13 matching lines...) Expand all Loading... |
428 | 430 |
429 # This is a file that GN will compile with the above header. It will be | 431 # This is a file that GN will compile with the above header. It will be |
430 # implicitly added to the sources (potentially multiple times, with one | 432 # implicitly added to the sources (potentially multiple times, with one |
431 # variant for each language used in the target). | 433 # variant for each language used in the target). |
432 precompiled_source = "//build/precompile.cc" | 434 precompiled_source = "//build/precompile.cc" |
433 | 435 |
434 # Force include the header. | 436 # Force include the header. |
435 cflags = [ "/FI$precompiled_header" ] | 437 cflags = [ "/FI$precompiled_header" ] |
436 } | 438 } |
437 } | 439 } |
OLD | NEW |