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", |
(...skipping 18 matching lines...) Expand all Loading... |
29 "//chrome:strings", | 29 "//chrome:strings", |
30 "//chrome/common", | 30 "//chrome/common", |
31 ] | 31 ] |
32 | 32 |
33 if (is_android) { | 33 if (is_android) { |
34 if (use_seccomp_bpf) { | 34 if (use_seccomp_bpf) { |
35 deps += [ "//sandbox/linux:seccomp_bpf" ] | 35 deps += [ "//sandbox/linux:seccomp_bpf" ] |
36 defines += [ "USE_SECCOMP_BPF" ] | 36 defines += [ "USE_SECCOMP_BPF" ] |
37 } | 37 } |
38 } else { | 38 } else { |
39 deps += [ "//net:net_utility_services" ] | 39 deps += [ |
| 40 "//content/public/common:mojo_bindings", |
| 41 "//net:net_utility_services", |
| 42 ] |
40 sources += | 43 sources += |
41 rebase_path(gypi_values.chrome_utility_importer_sources, ".", "..") | 44 rebase_path(gypi_values.chrome_utility_importer_sources, ".", "..") |
42 } | 45 } |
43 | 46 |
44 if (enable_extensions) { | 47 if (enable_extensions) { |
45 deps += [ | 48 deps += [ |
46 "//chrome/common/extensions/api", | 49 "//chrome/common/extensions/api", |
47 "//extensions/utility", | 50 "//extensions/utility", |
48 ] | 51 ] |
49 | 52 |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 ] | 104 ] |
102 } | 105 } |
103 | 106 |
104 if (!enable_mdns) { | 107 if (!enable_mdns) { |
105 sources -= [ | 108 sources -= [ |
106 "local_discovery/service_discovery_message_handler.cc", | 109 "local_discovery/service_discovery_message_handler.cc", |
107 "local_discovery/service_discovery_message_handler.h", | 110 "local_discovery/service_discovery_message_handler.h", |
108 ] | 111 ] |
109 } | 112 } |
110 } | 113 } |
OLD | NEW |