| 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/ui.gni") | 9 import("//build/config/ui.gni") |
| 10 import("//build/module_args/v8.gni") | 10 import("//build/module_args/v8.gni") |
| (...skipping 368 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 379 ] | 379 ] |
| 380 } else if (is_mac) { | 380 } else if (is_mac) { |
| 381 libs = [ | 381 libs = [ |
| 382 "AppKit.framework", | 382 "AppKit.framework", |
| 383 "ApplicationServices.framework", | 383 "ApplicationServices.framework", |
| 384 "Carbon.framework", | 384 "Carbon.framework", |
| 385 "CoreFoundation.framework", | 385 "CoreFoundation.framework", |
| 386 "Foundation.framework", | 386 "Foundation.framework", |
| 387 "IOKit.framework", | 387 "IOKit.framework", |
| 388 "Security.framework", | 388 "Security.framework", |
| 389 "OpenGL.framework", |
| 389 ] | 390 ] |
| 390 } else if (is_ios) { | 391 } else if (is_ios) { |
| 392 # The libraries listed here will be specified for both the target and the |
| 393 # host. Only the common ones should be listed here. |
| 391 libs = [ | 394 libs = [ |
| 392 "CoreFoundation.framework", | 395 "CoreFoundation.framework", |
| 393 "CoreGraphics.framework", | 396 "CoreGraphics.framework", |
| 394 "CoreText.framework", | 397 "CoreText.framework", |
| 395 "Foundation.framework", | 398 "Foundation.framework", |
| 396 "UIKit.framework", | |
| 397 ] | 399 ] |
| 398 } else if (is_linux) { | 400 } else if (is_linux) { |
| 399 libs = [ "dl" ] | 401 libs = [ "dl" ] |
| 400 } | 402 } |
| 401 } | 403 } |
| 402 | 404 |
| 403 # Add this config to your target to enable precompiled headers. | 405 # Add this config to your target to enable precompiled headers. |
| 404 # | 406 # |
| 405 # On Windows, precompiled headers are done on a per-target basis. If you have | 407 # On Windows, precompiled headers are done on a per-target basis. If you have |
| 406 # just a couple of files, the time it takes to precompile (~2 seconds) can | 408 # just a couple of files, the time it takes to precompile (~2 seconds) can |
| (...skipping 13 matching lines...) Expand all Loading... |
| 420 | 422 |
| 421 # This is a file that GN will compile with the above header. It will be | 423 # This is a file that GN will compile with the above header. It will be |
| 422 # implicitly added to the sources (potentially multiple times, with one | 424 # implicitly added to the sources (potentially multiple times, with one |
| 423 # variant for each language used in the target). | 425 # variant for each language used in the target). |
| 424 precompiled_source = "//build/precompile.cc" | 426 precompiled_source = "//build/precompile.cc" |
| 425 | 427 |
| 426 # Force include the header. | 428 # Force include the header. |
| 427 cflags = [ "/FI$precompiled_header" ] | 429 cflags = [ "/FI$precompiled_header" ] |
| 428 } | 430 } |
| 429 } | 431 } |
| OLD | NEW |