Non-SFI mode: Clean up macros of base/ and ipc/ libraries for nacl_helper_nonsfi.
[chromium-blink-merge.git] / components / proximity_auth / BUILD.gn
blob1ad84d13e1becdaae7e6e5e6f3eb9a7fa77bbd9b
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 source_set("proximity_auth") {
6   sources = [
7     "base64url.cc",
8     "base64url.h",
9     "bluetooth_connection.cc",
10     "bluetooth_connection.h",
11     "bluetooth_connection_finder.cc",
12     "bluetooth_connection_finder.h",
13     "bluetooth_util.cc",
14     "bluetooth_util_chromeos.cc",
15     "bluetooth_util.h",
16     "client.cc",
17     "client.h",
18     "client_observer.h",
19     "connection.cc",
20     "connection.h",
21     "connection_finder.h",
22     "connection_observer.h",
23     "proximity_auth_system.cc",
24     "proximity_auth_system.h",
25     "remote_device.h",
26     "remote_status_update.cc",
27     "remote_status_update.h",
28     "secure_context.h",
29     "wire_message.cc",
30     "wire_message.h",
31   ]
33   deps = [
34     "//base",
35     "//device/bluetooth",
36     "//net",
37   ]
40 source_set("unit_tests") {
41   testonly = true
42   sources = [
43     "base64url_unittest.cc",
44     "bluetooth_connection_unittest.cc",
45     "bluetooth_connection_finder_unittest.cc",
46     "client_unittest.cc",
47     "connection_unittest.cc",
48     "proximity_auth_system_unittest.cc",
49     "remote_status_update_unittest.cc",
50     "wire_message_unittest.cc",
51   ]
53   deps = [
54     ":proximity_auth",
55     "cryptauth:unit_tests",
56     "//base/test:test_support",
57     "//device/bluetooth:mocks",
58     "//testing/gmock",
59     "//testing/gtest",
60   ]
63 # Note: This is a convenience target for ease of rapid iteration during
64 # development. It is not executed on any try or build bots.
65 test("proximity_auth_unittests") {
66   sources = [ "run_all_unittests.cc" ]
67   deps = [ ":unit_tests" ]