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