NaCl: Update revision in DEPS, 2363d1a -> 66f4b73
[chromium-blink-merge.git] / components / proximity_auth / BUILD.gn
blobd067603853864038e6259edd0c3209438f7bcca3
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 import("//testing/test.gni")
7 source_set("proximity_auth") {
8   sources = [
9     "base64url.cc",
10     "base64url.h",
11     "bluetooth_connection.cc",
12     "bluetooth_connection.h",
13     "bluetooth_connection_finder.cc",
14     "bluetooth_connection_finder.h",
15     "bluetooth_util.cc",
16     "bluetooth_util_chromeos.cc",
17     "bluetooth_util.h",
18     "client.cc",
19     "client.h",
20     "client_observer.h",
21     "connection.cc",
22     "connection.h",
23     "connection_finder.h",
24     "connection_observer.h",
25     "proximity_auth_system.cc",
26     "proximity_auth_system.h",
27     "remote_device.h",
28     "remote_status_update.cc",
29     "remote_status_update.h",
30     "secure_context.h",
31     "switches.cc",
32     "switches.h",
33     "wire_message.cc",
34     "wire_message.h",
35   ]
37   deps = [
38     "//base",
39     "//device/bluetooth",
40     "//net",
41   ]
44 source_set("unit_tests") {
45   testonly = true
46   sources = [
47     "base64url_unittest.cc",
48     "bluetooth_connection_unittest.cc",
49     "bluetooth_connection_finder_unittest.cc",
50     "client_unittest.cc",
51     "connection_unittest.cc",
52     "proximity_auth_system_unittest.cc",
53     "remote_status_update_unittest.cc",
54     "wire_message_unittest.cc",
55   ]
57   deps = [
58     ":proximity_auth",
59     "cryptauth:unit_tests",
60     "//base/test:test_support",
61     "//device/bluetooth:mocks",
62     "//testing/gmock",
63     "//testing/gtest",
64   ]
67 # Note: This is a convenience target for ease of rapid iteration during
68 # development. It is not executed on any try or build bots.
69 test("proximity_auth_unittests") {
70   sources = [
71     "run_all_unittests.cc",
72   ]
73   deps = [
74     ":unit_tests",
75   ]