1# Copyright 2015 The Weave 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.
4
5WEAVE_SRC_FILES := \
6	src/access_api_handler.cc \
7	src/access_black_list_manager_impl.cc \
8	src/backoff_entry.cc \
9	src/base_api_handler.cc \
10	src/commands/cloud_command_proxy.cc \
11	src/commands/command_instance.cc \
12	src/commands/command_queue.cc \
13	src/commands/schema_constants.cc \
14	src/component_manager_impl.cc \
15	src/config.cc \
16	src/data_encoding.cc \
17	src/device_manager.cc \
18	src/device_registration_info.cc \
19	src/error.cc \
20	src/http_constants.cc \
21	src/json_error_codes.cc \
22	src/notification/notification_parser.cc \
23	src/notification/pull_channel.cc \
24	src/notification/xml_node.cc \
25	src/notification/xmpp_channel.cc \
26	src/notification/xmpp_iq_stanza_handler.cc \
27	src/notification/xmpp_stream_parser.cc \
28	src/privet/auth_manager.cc \
29	src/privet/cloud_delegate.cc \
30	src/privet/constants.cc \
31	src/privet/device_delegate.cc \
32	src/privet/device_ui_kind.cc \
33	src/privet/openssl_utils.cc \
34	src/privet/privet_handler.cc \
35	src/privet/privet_manager.cc \
36	src/privet/privet_types.cc \
37	src/privet/publisher.cc \
38	src/privet/security_manager.cc \
39	src/privet/wifi_bootstrap_manager.cc \
40	src/privet/wifi_ssid_generator.cc \
41	src/registration_status.cc \
42	src/states/state_change_queue.cc \
43	src/streams.cc \
44	src/string_utils.cc \
45	src/utils.cc
46
47WEAVE_TEST_SRC_FILES := \
48	src/test/fake_stream.cc \
49	src/test/fake_task_runner.cc \
50	src/test/unittest_utils.cc
51
52WEAVE_UNITTEST_SRC_FILES := \
53	src/access_api_handler_unittest.cc \
54	src/access_black_list_manager_impl_unittest.cc \
55	src/backoff_entry_unittest.cc \
56	src/base_api_handler_unittest.cc \
57	src/commands/cloud_command_proxy_unittest.cc \
58	src/commands/command_instance_unittest.cc \
59	src/commands/command_queue_unittest.cc \
60	src/component_manager_unittest.cc \
61	src/config_unittest.cc \
62	src/data_encoding_unittest.cc \
63	src/device_registration_info_unittest.cc \
64	src/error_unittest.cc \
65	src/notification/notification_parser_unittest.cc \
66	src/notification/xml_node_unittest.cc \
67	src/notification/xmpp_channel_unittest.cc \
68	src/notification/xmpp_iq_stanza_handler_unittest.cc \
69	src/notification/xmpp_stream_parser_unittest.cc \
70	src/privet/auth_manager_unittest.cc \
71	src/privet/privet_handler_unittest.cc \
72	src/privet/security_manager_unittest.cc \
73	src/privet/wifi_ssid_generator_unittest.cc \
74	src/states/state_change_queue_unittest.cc \
75	src/streams_unittest.cc \
76	src/string_utils_unittest.cc \
77	src/test/weave_testrunner.cc
78
79WEAVE_EXPORTS_UNITTEST_SRC_FILES := \
80	src/weave_unittest.cc
81
82EXAMPLES_PROVIDER_SRC_FILES := \
83	examples/provider/avahi_client.cc \
84	examples/provider/bluez_client.cc \
85	examples/provider/curl_http_client.cc \
86	examples/provider/event_http_server.cc \
87	examples/provider/event_network.cc \
88	examples/provider/event_task_runner.cc \
89	examples/provider/file_config_store.cc \
90	examples/provider/ssl_stream.cc \
91	examples/provider/wifi_manager.cc
92
93THIRD_PARTY_CHROMIUM_BASE_SRC_FILES := \
94	third_party/chromium/base/bind_helpers.cc \
95	third_party/chromium/base/callback_internal.cc \
96	third_party/chromium/base/guid_posix.cc \
97	third_party/chromium/base/json/json_parser.cc \
98	third_party/chromium/base/json/json_reader.cc \
99	third_party/chromium/base/json/json_writer.cc \
100	third_party/chromium/base/json/string_escape.cc \
101	third_party/chromium/base/location.cc \
102	third_party/chromium/base/logging.cc \
103	third_party/chromium/base/memory/ref_counted.cc \
104	third_party/chromium/base/memory/weak_ptr.cc \
105	third_party/chromium/base/rand_util.cc \
106	third_party/chromium/base/rand_util_posix.cc \
107	third_party/chromium/base/strings/string_number_conversions.cc \
108	third_party/chromium/base/strings/string_piece.cc \
109	third_party/chromium/base/strings/stringprintf.cc \
110	third_party/chromium/base/strings/string_util.cc \
111	third_party/chromium/base/strings/string_util_constants.cc \
112	third_party/chromium/base/strings/utf_string_conversion_utils.cc \
113	third_party/chromium/base/third_party/dmg_fp/dtoa.cc \
114	third_party/chromium/base/third_party/dmg_fp/g_fmt.cc \
115	third_party/chromium/base/third_party/icu/icu_utf.cc \
116	third_party/chromium/base/time/clock.cc \
117	third_party/chromium/base/time/default_clock.cc \
118	third_party/chromium/base/time/time.cc \
119	third_party/chromium/base/time/time_posix.cc \
120	third_party/chromium/base/values.cc
121
122THIRD_PARTY_CHROMIUM_BASE_UNITTEST_SRC_FILES := \
123	third_party/chromium/base/bind_unittest.cc \
124	third_party/chromium/base/callback_list_unittest.cc \
125	third_party/chromium/base/callback_unittest.cc \
126	third_party/chromium/base/guid_unittest.cc \
127	third_party/chromium/base/json/json_parser_unittest.cc \
128	third_party/chromium/base/json/json_reader_unittest.cc \
129	third_party/chromium/base/json/json_writer_unittest.cc \
130	third_party/chromium/base/json/string_escape_unittest.cc \
131	third_party/chromium/base/logging_unittest.cc \
132	third_party/chromium/base/memory/ref_counted_unittest.cc \
133	third_party/chromium/base/memory/scoped_ptr_unittest.cc \
134	third_party/chromium/base/memory/weak_ptr_unittest.cc \
135	third_party/chromium/base/numerics/safe_numerics_unittest.cc \
136	third_party/chromium/base/observer_list_unittest.cc \
137	third_party/chromium/base/rand_util_unittest.cc \
138	third_party/chromium/base/scoped_clear_errno_unittest.cc \
139	third_party/chromium/base/strings/string_number_conversions_unittest.cc \
140	third_party/chromium/base/strings/string_piece_unittest.cc \
141	third_party/chromium/base/strings/string_util_unittest.cc \
142	third_party/chromium/base/strings/stringprintf_unittest.cc \
143	third_party/chromium/base/template_util_unittest.cc \
144	third_party/chromium/base/time/time_unittest.cc \
145	third_party/chromium/base/tuple_unittest.cc \
146	third_party/chromium/base/values_unittest.cc
147
148THIRD_PARTY_CHROMIUM_CRYPTO_SRC_FILES := \
149	third_party/chromium/crypto/p224.cc \
150	third_party/chromium/crypto/p224_spake.cc \
151	third_party/chromium/crypto/sha2.cc
152
153THIRD_PARTY_CHROMIUM_CRYPTO_UNITTEST_SRC_FILES := \
154	third_party/chromium/crypto/p224_spake_unittest.cc \
155	third_party/chromium/crypto/p224_unittest.cc \
156	third_party/chromium/crypto/sha2_unittest.cc
157
158THIRD_PARTY_MODP_B64_SRC_FILES := \
159	third_party/modp_b64/modp_b64.cc
160
161THIRD_PARTY_LIBUWEAVE_SRC_FILES := \
162	third_party/libuweave/src/crypto_hmac.c \
163	third_party/libuweave/src/crypto_utils.c \
164	third_party/libuweave/src/macaroon.c \
165	third_party/libuweave/src/macaroon_caveat.c \
166	third_party/libuweave/src/macaroon_context.c \
167	third_party/libuweave/src/macaroon_encoding.c
168