| 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/proxy_resolver:app", |
| 20 "//components/search_engines", | 21 "//components/search_engines", |
| 21 "//components/strings", | 22 "//components/strings", |
| 22 "//components/url_fixer", | 23 "//components/url_fixer", |
| 23 "//content/public/common", | 24 "//content/public/common", |
| 25 "//content/public/common:mojo_bindings", |
| 24 "//content/public/utility", | 26 "//content/public/utility", |
| 25 "//media", | 27 "//media", |
| 28 "//mojo/common", |
| 29 "//mojo/shell", |
| 26 "//skia", | 30 "//skia", |
| 27 "//third_party/libxml", | 31 "//third_party/libxml", |
| 32 "//third_party/mojo/src/mojo/public/cpp/application", |
| 33 "//third_party/mojo/src/mojo/public/cpp/bindings", |
| 34 "//third_party/mojo/src/mojo/public/interfaces/application", |
| 28 "//chrome:resources", | 35 "//chrome:resources", |
| 29 "//chrome:strings", | 36 "//chrome:strings", |
| 30 "//chrome/common", | 37 "//chrome/common", |
| 31 ] | 38 ] |
| 32 | 39 |
| 33 if (is_android) { | 40 if (is_android) { |
| 34 if (use_seccomp_bpf) { | 41 if (use_seccomp_bpf) { |
| 35 deps += [ "//sandbox/linux:seccomp_bpf" ] | 42 deps += [ "//sandbox/linux:seccomp_bpf" ] |
| 36 defines += [ "USE_SECCOMP_BPF" ] | 43 defines += [ "USE_SECCOMP_BPF" ] |
| 37 } | 44 } |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 101 ] | 108 ] |
| 102 } | 109 } |
| 103 | 110 |
| 104 if (!enable_mdns) { | 111 if (!enable_mdns) { |
| 105 sources -= [ | 112 sources -= [ |
| 106 "local_discovery/service_discovery_message_handler.cc", | 113 "local_discovery/service_discovery_message_handler.cc", |
| 107 "local_discovery/service_discovery_message_handler.h", | 114 "local_discovery/service_discovery_message_handler.h", |
| 108 ] | 115 ] |
| 109 } | 116 } |
| 110 } | 117 } |
| OLD | NEW |