Cleanup: Only build extensions renderer code when extensions are enabled.
[chromium-blink-merge.git] / components / proximity_auth / BUILD.gn
blob01d4efc256d1957a8354e6ac8bd107c1a5943f92
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
3 # found in the LICENSE file.
5 static_library("proximity_auth") {
6   sources = [
7     "connection.cc",
8     "connection.h",
9     "connection_observer.h",
10     "proximity_auth_system.cc",
11     "proximity_auth_system.h",
12     "remote_device.h",
13     "wire_message.cc",
14     "wire_message.h",
15   ]
17   deps = [
18     "//base",
19   ]
22 source_set("unit_tests") {
23   testonly = true
24   sources = [
25     "connection_unittest.cc",
26     "proximity_auth_system_unittest.cc",
27     "wire_message_unittest.cc",
28   ]
30   deps = [
31     ":proximity_auth",
32     "//base/test:test_support",
33     "//testing/gmock",
34     "//testing/gtest",
35   ]