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 | 7 |
8 gypi_values = exec_script("//build/gypi_to_gn.py", | 8 gypi_values = exec_script("//build/gypi_to_gn.py", |
9 [ rebase_path("../chrome_utility.gypi") ], | 9 [ rebase_path("../chrome_utility.gypi") ], |
10 "scope", | 10 "scope", |
11 [ "../chrome_utility.gypi" ]) | 11 [ "../chrome_utility.gypi" ]) |
12 | 12 |
13 static_library("utility") { | 13 static_library("utility") { |
14 sources = rebase_path(gypi_values.chrome_utility_sources, ".", "..") | 14 sources = rebase_path(gypi_values.chrome_utility_sources, ".", "..") |
15 defines = [] | 15 defines = [] |
16 | 16 |
17 public_deps = [] | 17 public_deps = [] |
18 deps = [ | 18 deps = [ |
19 "//base", | 19 "//base", |
20 "//components/search_engines", | 20 "//components/search_engines", |
21 "//components/strings", | 21 "//components/strings", |
22 "//components/url_fixer", | 22 "//components/url_fixer", |
| 23 "//content/common:mojo_bindings", |
23 "//content/public/common", | 24 "//content/public/common", |
24 "//content/public/utility", | 25 "//content/public/utility", |
25 "//media", | 26 "//media", |
26 "//skia", | 27 "//skia", |
27 "//third_party/libxml", | 28 "//third_party/libxml", |
28 "//chrome:resources", | 29 "//chrome:resources", |
29 "//chrome:strings", | 30 "//chrome:strings", |
30 "//chrome/common", | 31 "//chrome/common", |
31 ] | 32 ] |
32 | 33 |
33 if (is_android) { | 34 if (is_android) { |
34 if (use_seccomp_bpf) { | 35 if (use_seccomp_bpf) { |
35 deps += [ "//sandbox/linux:seccomp_bpf" ] | 36 deps += [ "//sandbox/linux:seccomp_bpf" ] |
36 defines += [ "USE_SECCOMP_BPF" ] | 37 defines += [ "USE_SECCOMP_BPF" ] |
37 } | 38 } |
38 } else { | 39 } else { |
39 deps += [ "//net:net_utility_services" ] | 40 deps += [ |
| 41 "//net:net_utility_services", |
| 42 "//services/image_decoder", |
| 43 ] |
40 sources += | 44 sources += |
41 rebase_path(gypi_values.chrome_utility_importer_sources, ".", "..") | 45 rebase_path(gypi_values.chrome_utility_importer_sources, ".", "..") |
42 } | 46 } |
43 | 47 |
44 if (enable_extensions) { | 48 if (enable_extensions) { |
45 deps += [ | 49 deps += [ |
46 "//chrome/common/extensions/api", | 50 "//chrome/common/extensions/api", |
47 "//extensions/utility", | 51 "//extensions/utility", |
48 ] | 52 ] |
49 | 53 |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
111 sources -= [ | 115 sources -= [ |
112 "local_discovery/service_discovery_message_handler.cc", | 116 "local_discovery/service_discovery_message_handler.cc", |
113 "local_discovery/service_discovery_message_handler.h", | 117 "local_discovery/service_discovery_message_handler.h", |
114 ] | 118 ] |
115 } | 119 } |
116 | 120 |
117 if (safe_browsing_mode == 1) { | 121 if (safe_browsing_mode == 1) { |
118 defines += [ "FULL_SAFE_BROWSING" ] | 122 defines += [ "FULL_SAFE_BROWSING" ] |
119 } | 123 } |
120 } | 124 } |
OLD | NEW |