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/features.gni") | 5 import("//build/config/features.gni") |
| 6 import("//media/media_options.gni") |
6 | 7 |
7 executable("service_discovery_sniffer") { | 8 executable("service_discovery_sniffer") { |
8 testonly = true | 9 testonly = true |
9 sources = [ | 10 sources = [ |
10 "service_discovery_sniffer.cc", | 11 "service_discovery_sniffer.cc", |
11 "service_discovery_sniffer.h", | 12 "service_discovery_sniffer.h", |
12 ] | 13 ] |
13 | 14 |
14 deps = [ | 15 deps = [ |
15 "//base", | 16 "//base", |
16 "//base/test:test_support", | 17 "//base/test:test_support", |
17 "//build/config/sanitizers:deps", | 18 "//build/config/sanitizers:deps", |
18 "//chrome/browser", | 19 "//chrome/browser", |
19 "//net", | 20 "//net", |
20 ] | 21 ] |
21 | 22 |
22 if (enable_webrtc) { | 23 if (enable_webrtc) { |
23 deps += [ "//third_party/libjingle/webrtc:libjingle_webrtc" ] | 24 deps += [ "//third_party/libjingle/webrtc:libjingle_webrtc" ] |
24 } | 25 } |
25 } | 26 } |
OLD | NEW |