| 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/chromecast_build.gni") | 7 import("//build/config/chromecast_build.gni") |
| 8 import("//build/config/crypto.gni") | 8 import("//build/config/crypto.gni") |
| 9 import("//build/config/features.gni") | 9 import("//build/config/features.gni") |
| 10 import("//build/config/sanitizers/sanitizers.gni") | 10 import("//build/config/sanitizers/sanitizers.gni") |
| (...skipping 370 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 381 } else if (is_ios) { | 381 } else if (is_ios) { |
| 382 # The libraries listed here will be specified for both the target and the | 382 # The libraries listed here will be specified for both the target and the |
| 383 # host. Only the common ones should be listed here. | 383 # host. Only the common ones should be listed here. |
| 384 libs = [ | 384 libs = [ |
| 385 "CoreFoundation.framework", | 385 "CoreFoundation.framework", |
| 386 "CoreGraphics.framework", | 386 "CoreGraphics.framework", |
| 387 "CoreText.framework", | 387 "CoreText.framework", |
| 388 "Foundation.framework", | 388 "Foundation.framework", |
| 389 ] | 389 ] |
| 390 } else if (is_linux) { | 390 } else if (is_linux) { |
| 391 libs = [ "dl" ] | 391 libs = [ |
| 392 "dl", |
| 393 "rt", |
| 394 ] |
| 392 } | 395 } |
| 393 } | 396 } |
| 394 | 397 |
| 395 # Executable configs ----------------------------------------------------------- | 398 # Executable configs ----------------------------------------------------------- |
| 396 | 399 |
| 397 # Windows linker setup for EXEs and DLLs. | 400 # Windows linker setup for EXEs and DLLs. |
| 398 if (is_win) { | 401 if (is_win) { |
| 399 _windows_linker_configs = [ | 402 _windows_linker_configs = [ |
| 400 "//build/config/win:sdk_link", | 403 "//build/config/win:sdk_link", |
| 401 "//build/config/win:common_linker_setup", | 404 "//build/config/win:common_linker_setup", |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 469 # This error doesn't happen every time. In VS2013, it seems if the .pch | 472 # This error doesn't happen every time. In VS2013, it seems if the .pch |
| 470 # file doesn't exist, no error will be generated (probably MS tested this | 473 # file doesn't exist, no error will be generated (probably MS tested this |
| 471 # case but forgot the other one?). To reproduce this error, do a build, | 474 # case but forgot the other one?). To reproduce this error, do a build, |
| 472 # then delete the precompile.c.obj file, then build again. | 475 # then delete the precompile.c.obj file, then build again. |
| 473 cflags_c = [ "/wd4206" ] | 476 cflags_c = [ "/wd4206" ] |
| 474 } else if (is_mac && !is_official_build && !use_goma) { | 477 } else if (is_mac && !is_official_build && !use_goma) { |
| 475 precompiled_header = "build/precompile.h" | 478 precompiled_header = "build/precompile.h" |
| 476 precompiled_source = "//build/precompile.h" | 479 precompiled_source = "//build/precompile.h" |
| 477 } | 480 } |
| 478 } | 481 } |
| OLD | NEW |