Roll src/third_party/WebKit b3f094a:f697bbd (svn 194310:194313)
[chromium-blink-merge.git] / components / proximity_auth / BUILD.gn
blob380459e62bf0fe7bd5eef11fb7fac384fee35706
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     "bluetooth_connection.cc",
10     "bluetooth_connection.h",
11     "bluetooth_connection_finder.cc",
12     "bluetooth_connection_finder.h",
13     "bluetooth_util.cc",
14     "bluetooth_util.h",
15     "bluetooth_util_chromeos.cc",
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     "switches.cc",
30     "switches.h",
31     "wire_message.cc",
32     "wire_message.h",
33   ]
35   deps = [
36     "//base",
37     "//device/bluetooth",
38     "//net",
39   ]
42 source_set("unit_tests") {
43   testonly = true
44   sources = [
45     "bluetooth_connection_finder_unittest.cc",
46     "bluetooth_connection_unittest.cc",
47     "client_unittest.cc",
48     "connection_unittest.cc",
49     "proximity_auth_system_unittest.cc",
50     "remote_status_update_unittest.cc",
51     "wire_message_unittest.cc",
52   ]
54   configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
56   deps = [
57     ":proximity_auth",
58     "cryptauth:unit_tests",
59     "//base/test:test_support",
60     "//device/bluetooth:mocks",
61     "//testing/gmock",
62     "//testing/gtest",
63   ]
66 # Note: This is a convenience target for ease of rapid iteration during
67 # development. It is not executed on any try or build bots.
68 test("proximity_auth_unittests") {
69   sources = [
70     "run_all_unittests.cc",
71   ]
72   deps = [
73     ":unit_tests",
74   ]