| 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 380 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 391 "m", | 391 "m", |
| 392 ] | 392 ] |
| 393 } else if (is_mac) { | 393 } else if (is_mac) { |
| 394 libs = [ | 394 libs = [ |
| 395 "AppKit.framework", | 395 "AppKit.framework", |
| 396 "ApplicationServices.framework", | 396 "ApplicationServices.framework", |
| 397 "Carbon.framework", | 397 "Carbon.framework", |
| 398 "CoreFoundation.framework", | 398 "CoreFoundation.framework", |
| 399 "Foundation.framework", | 399 "Foundation.framework", |
| 400 "IOKit.framework", | 400 "IOKit.framework", |
| 401 "OpenGL.framework", |
| 401 "Security.framework", | 402 "Security.framework", |
| 402 ] | 403 ] |
| 403 } else if (is_ios) { | 404 } else if (is_ios) { |
| 405 # The libraries listed here will be specified for both the target and the |
| 406 # host. Only the common ones should be listed here. |
| 404 libs = [ | 407 libs = [ |
| 405 "CoreFoundation.framework", | 408 "CoreFoundation.framework", |
| 406 "CoreGraphics.framework", | 409 "CoreGraphics.framework", |
| 407 "CoreText.framework", | 410 "CoreText.framework", |
| 408 "Foundation.framework", | 411 "Foundation.framework", |
| 409 "UIKit.framework", | |
| 410 ] | 412 ] |
| 411 } else if (is_linux) { | 413 } else if (is_linux) { |
| 412 libs = [ "dl" ] | 414 libs = [ "dl" ] |
| 413 } | 415 } |
| 414 } | 416 } |
| 415 | 417 |
| 416 # Add this config to your target to enable precompiled headers. | 418 # Add this config to your target to enable precompiled headers. |
| 417 # | 419 # |
| 418 # On Windows, precompiled headers are done on a per-target basis. If you have | 420 # On Windows, precompiled headers are done on a per-target basis. If you have |
| 419 # just a couple of files, the time it takes to precompile (~2 seconds) can | 421 # just a couple of files, the time it takes to precompile (~2 seconds) can |
| (...skipping 22 matching lines...) Expand all Loading... |
| 442 # with precompiled headers since the source file that's "compiled" for | 444 # with precompiled headers since the source file that's "compiled" for |
| 443 # making the precompiled header is empty. | 445 # making the precompiled header is empty. |
| 444 # | 446 # |
| 445 # This error doesn't happen every time. In VS2013, it seems if the .pch | 447 # This error doesn't happen every time. In VS2013, it seems if the .pch |
| 446 # file doesn't exist, no error will be generated (probably MS tested this | 448 # file doesn't exist, no error will be generated (probably MS tested this |
| 447 # case but forgot the other one?). To reproduce this error, do a build, | 449 # case but forgot the other one?). To reproduce this error, do a build, |
| 448 # then delete the precompile.c.obj file, then build again. | 450 # then delete the precompile.c.obj file, then build again. |
| 449 cflags_c = [ "/wd4206" ] | 451 cflags_c = [ "/wd4206" ] |
| 450 } | 452 } |
| 451 } | 453 } |
| OLD | NEW |