Use multiline attribute to check for IA2_STATE_MULTILINE.
[chromium-blink-merge.git] / components / proximity_auth / BUILD.gn
blob84f827b6f797148b567ff005344787c7eb0c0ad8
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.h",
17     "bluetooth_util_chromeos.cc",
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_finder_unittest.cc",
49     "bluetooth_connection_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   configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
59   deps = [
60     ":proximity_auth",
61     "cryptauth:unit_tests",
62     "//base/test:test_support",
63     "//device/bluetooth:mocks",
64     "//testing/gmock",
65     "//testing/gtest",
66   ]
69 # Note: This is a convenience target for ease of rapid iteration during
70 # development. It is not executed on any try or build bots.
71 test("proximity_auth_unittests") {
72   sources = [
73     "run_all_unittests.cc",
74   ]
75   deps = [
76     ":unit_tests",
77   ]