| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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/crypto.gni") | 5 import("//build/config/crypto.gni") |
| 6 import("//build/config/features.gni") | 6 import("//build/config/features.gni") |
| 7 import("//build/config/sysroot.gni") | 7 import("//build/config/sysroot.gni") |
| 8 | 8 |
| 9 # Provides a way for the utility library to push ldflags to dependents. | 9 # Provides a way for the utility library to push ldflags to dependents. |
| 10 config("utility_ldflags") { | 10 config("utility_ldflags") { |
| 11 if (is_mac && safe_browsing_mode == 1) { | 11 if (is_mac && safe_browsing_mode == 1) { |
| 12 libs = [ "bz2" ] | 12 libs = [ |
| 13 "bz2", |
| 14 "CoreFoundation.framework", |
| 15 ] |
| 13 } | 16 } |
| 14 } | 17 } |
| 15 | 18 |
| 16 static_library("utility") { | 19 static_library("utility") { |
| 17 sources = [ | 20 sources = [ |
| 18 "chrome_content_utility_client.cc", | 21 "chrome_content_utility_client.cc", |
| 19 "chrome_content_utility_client.h", | 22 "chrome_content_utility_client.h", |
| 20 "chrome_content_utility_ipc_whitelist.cc", | 23 "chrome_content_utility_ipc_whitelist.cc", |
| 21 "chrome_content_utility_ipc_whitelist.h", | 24 "chrome_content_utility_ipc_whitelist.h", |
| 22 "cloud_print/bitmap_image.cc", | 25 "cloud_print/bitmap_image.cc", |
| (...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 212 ] | 215 ] |
| 213 | 216 |
| 214 additional_configs = [ ":utility_ldflags" ] | 217 additional_configs = [ ":utility_ldflags" ] |
| 215 | 218 |
| 216 deps = [ | 219 deps = [ |
| 217 "//base", | 220 "//base", |
| 218 "//third_party/zlib", | 221 "//third_party/zlib", |
| 219 ] | 222 ] |
| 220 } | 223 } |
| 221 } | 224 } |
| OLD | NEW |