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