| 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/dcheck_always_on.gni") | 9 import("//build/config/dcheck_always_on.gni") |
| 10 import("//build/config/features.gni") | 10 import("//build/config/features.gni") |
| (...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 251 # host. Only the common ones should be listed here. | 251 # host. Only the common ones should be listed here. |
| 252 libs = [ | 252 libs = [ |
| 253 "CoreFoundation.framework", | 253 "CoreFoundation.framework", |
| 254 "CoreGraphics.framework", | 254 "CoreGraphics.framework", |
| 255 "CoreText.framework", | 255 "CoreText.framework", |
| 256 "Foundation.framework", | 256 "Foundation.framework", |
| 257 ] | 257 ] |
| 258 } else if (is_linux) { | 258 } else if (is_linux) { |
| 259 libs = [ | 259 libs = [ |
| 260 "dl", | 260 "dl", |
| 261 "pthread", |
| 261 "rt", | 262 "rt", |
| 262 ] | 263 ] |
| 263 } | 264 } |
| 264 } | 265 } |
| 265 | 266 |
| 266 # Dependencies that all executables and shared libraries should have. | 267 # Dependencies that all executables and shared libraries should have. |
| 267 group("exe_and_shlib_deps") { | 268 group("exe_and_shlib_deps") { |
| 268 public_deps = [] | 269 public_deps = [] |
| 269 if (using_sanitizer) { | 270 if (using_sanitizer) { |
| 270 public_deps += [ "//build/config/sanitizers:deps" ] | 271 public_deps += [ "//build/config/sanitizers:deps" ] |
| (...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 374 # variant for each language used in the target). | 375 # variant for each language used in the target). |
| 375 precompiled_source = "//build/precompile.cc" | 376 precompiled_source = "//build/precompile.cc" |
| 376 | 377 |
| 377 # Force include the header. | 378 # Force include the header. |
| 378 cflags = [ "/FI$precompiled_header" ] | 379 cflags = [ "/FI$precompiled_header" ] |
| 379 } else if (is_mac) { | 380 } else if (is_mac) { |
| 380 precompiled_source = "//build/precompile.h" | 381 precompiled_source = "//build/precompile.h" |
| 381 } | 382 } |
| 382 } | 383 } |
| 383 } | 384 } |
| OLD | NEW |