xref: /aosp_15_r20/external/pigweed/pw_transfer/BUILD.gn (revision 61c4878ac05f98d0ceed94b57d316916de578985)
1*61c4878aSAndroid Build Coastguard Worker# Copyright 2022 The Pigweed Authors
2*61c4878aSAndroid Build Coastguard Worker#
3*61c4878aSAndroid Build Coastguard Worker# Licensed under the Apache License, Version 2.0 (the "License"); you may not
4*61c4878aSAndroid Build Coastguard Worker# use this file except in compliance with the License. You may obtain a copy of
5*61c4878aSAndroid Build Coastguard Worker# the License at
6*61c4878aSAndroid Build Coastguard Worker#
7*61c4878aSAndroid Build Coastguard Worker#     https://www.apache.org/licenses/LICENSE-2.0
8*61c4878aSAndroid Build Coastguard Worker#
9*61c4878aSAndroid Build Coastguard Worker# Unless required by applicable law or agreed to in writing, software
10*61c4878aSAndroid Build Coastguard Worker# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11*61c4878aSAndroid Build Coastguard Worker# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12*61c4878aSAndroid Build Coastguard Worker# License for the specific language governing permissions and limitations under
13*61c4878aSAndroid Build Coastguard Worker# the License.
14*61c4878aSAndroid Build Coastguard Worker
15*61c4878aSAndroid Build Coastguard Workerimport("//build_overrides/pigweed.gni")
16*61c4878aSAndroid Build Coastguard Worker
17*61c4878aSAndroid Build Coastguard Workerimport("$dir_pw_build/module_config.gni")
18*61c4878aSAndroid Build Coastguard Workerimport("$dir_pw_docgen/docs.gni")
19*61c4878aSAndroid Build Coastguard Workerimport("$dir_pw_protobuf_compiler/proto.gni")
20*61c4878aSAndroid Build Coastguard Workerimport("$dir_pw_rpc/internal/integration_test_ports.gni")
21*61c4878aSAndroid Build Coastguard Workerimport("$dir_pw_thread/backend.gni")
22*61c4878aSAndroid Build Coastguard Workerimport("$dir_pw_toolchain/generate_toolchain.gni")
23*61c4878aSAndroid Build Coastguard Workerimport("$dir_pw_unit_test/test.gni")
24*61c4878aSAndroid Build Coastguard Worker
25*61c4878aSAndroid Build Coastguard Workerdeclare_args() {
26*61c4878aSAndroid Build Coastguard Worker  # The build target that overrides the default configuration options for this
27*61c4878aSAndroid Build Coastguard Worker  # module. This should point to a source set that provides defines through a
28*61c4878aSAndroid Build Coastguard Worker  # public config (which may -include a file or add defines directly).
29*61c4878aSAndroid Build Coastguard Worker  pw_transfer_CONFIG = pw_build_DEFAULT_MODULE_CONFIG
30*61c4878aSAndroid Build Coastguard Worker}
31*61c4878aSAndroid Build Coastguard Worker
32*61c4878aSAndroid Build Coastguard Workerconfig("public_include_path") {
33*61c4878aSAndroid Build Coastguard Worker  include_dirs = [ "public" ]
34*61c4878aSAndroid Build Coastguard Worker  visibility = [ ":*" ]
35*61c4878aSAndroid Build Coastguard Worker}
36*61c4878aSAndroid Build Coastguard Worker
37*61c4878aSAndroid Build Coastguard Workerpw_source_set("config") {
38*61c4878aSAndroid Build Coastguard Worker  public = [ "public/pw_transfer/internal/config.h" ]
39*61c4878aSAndroid Build Coastguard Worker  public_configs = [ ":public_include_path" ]
40*61c4878aSAndroid Build Coastguard Worker  public_deps = [
41*61c4878aSAndroid Build Coastguard Worker    "$dir_pw_chrono:system_timer",
42*61c4878aSAndroid Build Coastguard Worker    pw_transfer_CONFIG,
43*61c4878aSAndroid Build Coastguard Worker  ]
44*61c4878aSAndroid Build Coastguard Worker  visibility = [ ":*" ]
45*61c4878aSAndroid Build Coastguard Worker}
46*61c4878aSAndroid Build Coastguard Worker
47*61c4878aSAndroid Build Coastguard Workerpw_source_set("pw_transfer") {
48*61c4878aSAndroid Build Coastguard Worker  public_configs = [ ":public_include_path" ]
49*61c4878aSAndroid Build Coastguard Worker  public_deps = [
50*61c4878aSAndroid Build Coastguard Worker    ":core",
51*61c4878aSAndroid Build Coastguard Worker    ":proto.raw_rpc",
52*61c4878aSAndroid Build Coastguard Worker    "$dir_pw_sync:mutex",
53*61c4878aSAndroid Build Coastguard Worker    dir_pw_assert,
54*61c4878aSAndroid Build Coastguard Worker    dir_pw_bytes,
55*61c4878aSAndroid Build Coastguard Worker    dir_pw_result,
56*61c4878aSAndroid Build Coastguard Worker    dir_pw_status,
57*61c4878aSAndroid Build Coastguard Worker    dir_pw_stream,
58*61c4878aSAndroid Build Coastguard Worker  ]
59*61c4878aSAndroid Build Coastguard Worker  deps = [ dir_pw_log ]
60*61c4878aSAndroid Build Coastguard Worker  public = [ "public/pw_transfer/transfer.h" ]
61*61c4878aSAndroid Build Coastguard Worker  sources = [ "transfer.cc" ]
62*61c4878aSAndroid Build Coastguard Worker}
63*61c4878aSAndroid Build Coastguard Worker
64*61c4878aSAndroid Build Coastguard Workerpw_source_set("client") {
65*61c4878aSAndroid Build Coastguard Worker  public_configs = [ ":public_include_path" ]
66*61c4878aSAndroid Build Coastguard Worker  public_deps = [
67*61c4878aSAndroid Build Coastguard Worker    ":core",
68*61c4878aSAndroid Build Coastguard Worker    ":proto.raw_rpc",
69*61c4878aSAndroid Build Coastguard Worker    dir_pw_assert,
70*61c4878aSAndroid Build Coastguard Worker    dir_pw_function,
71*61c4878aSAndroid Build Coastguard Worker    dir_pw_stream,
72*61c4878aSAndroid Build Coastguard Worker  ]
73*61c4878aSAndroid Build Coastguard Worker  deps = [ dir_pw_log ]
74*61c4878aSAndroid Build Coastguard Worker  public = [ "public/pw_transfer/client.h" ]
75*61c4878aSAndroid Build Coastguard Worker  sources = [ "client.cc" ]
76*61c4878aSAndroid Build Coastguard Worker}
77*61c4878aSAndroid Build Coastguard Worker
78*61c4878aSAndroid Build Coastguard Workerpw_source_set("core") {
79*61c4878aSAndroid Build Coastguard Worker  public_configs = [ ":public_include_path" ]
80*61c4878aSAndroid Build Coastguard Worker  public_deps = [
81*61c4878aSAndroid Build Coastguard Worker    ":config",
82*61c4878aSAndroid Build Coastguard Worker    ":proto.pwpb",
83*61c4878aSAndroid Build Coastguard Worker    "$dir_pw_chrono:system_clock",
84*61c4878aSAndroid Build Coastguard Worker    "$dir_pw_preprocessor",
85*61c4878aSAndroid Build Coastguard Worker    "$dir_pw_rpc:client",
86*61c4878aSAndroid Build Coastguard Worker    "$dir_pw_rpc/raw:client_api",
87*61c4878aSAndroid Build Coastguard Worker    "$dir_pw_rpc/raw:server_api",
88*61c4878aSAndroid Build Coastguard Worker    "$dir_pw_sync:binary_semaphore",
89*61c4878aSAndroid Build Coastguard Worker    "$dir_pw_sync:timed_thread_notification",
90*61c4878aSAndroid Build Coastguard Worker    "$dir_pw_thread:thread_core",
91*61c4878aSAndroid Build Coastguard Worker    dir_pw_assert,
92*61c4878aSAndroid Build Coastguard Worker    dir_pw_bytes,
93*61c4878aSAndroid Build Coastguard Worker    dir_pw_result,
94*61c4878aSAndroid Build Coastguard Worker    dir_pw_span,
95*61c4878aSAndroid Build Coastguard Worker    dir_pw_status,
96*61c4878aSAndroid Build Coastguard Worker    dir_pw_stream,
97*61c4878aSAndroid Build Coastguard Worker  ]
98*61c4878aSAndroid Build Coastguard Worker  deps = [
99*61c4878aSAndroid Build Coastguard Worker    "$dir_pw_log:rate_limited",
100*61c4878aSAndroid Build Coastguard Worker    dir_pw_log,
101*61c4878aSAndroid Build Coastguard Worker    dir_pw_protobuf,
102*61c4878aSAndroid Build Coastguard Worker    dir_pw_varint,
103*61c4878aSAndroid Build Coastguard Worker  ]
104*61c4878aSAndroid Build Coastguard Worker  public = [
105*61c4878aSAndroid Build Coastguard Worker    "public/pw_transfer/handler.h",
106*61c4878aSAndroid Build Coastguard Worker    "public/pw_transfer/rate_estimate.h",
107*61c4878aSAndroid Build Coastguard Worker    "public/pw_transfer/transfer_thread.h",
108*61c4878aSAndroid Build Coastguard Worker  ]
109*61c4878aSAndroid Build Coastguard Worker  sources = [
110*61c4878aSAndroid Build Coastguard Worker    "chunk.cc",
111*61c4878aSAndroid Build Coastguard Worker    "client_context.cc",
112*61c4878aSAndroid Build Coastguard Worker    "context.cc",
113*61c4878aSAndroid Build Coastguard Worker    "public/pw_transfer/internal/chunk.h",
114*61c4878aSAndroid Build Coastguard Worker    "public/pw_transfer/internal/client_context.h",
115*61c4878aSAndroid Build Coastguard Worker    "public/pw_transfer/internal/context.h",
116*61c4878aSAndroid Build Coastguard Worker    "public/pw_transfer/internal/event.h",
117*61c4878aSAndroid Build Coastguard Worker    "public/pw_transfer/internal/protocol.h",
118*61c4878aSAndroid Build Coastguard Worker    "public/pw_transfer/internal/server_context.h",
119*61c4878aSAndroid Build Coastguard Worker    "rate_estimate.cc",
120*61c4878aSAndroid Build Coastguard Worker    "server_context.cc",
121*61c4878aSAndroid Build Coastguard Worker    "transfer_thread.cc",
122*61c4878aSAndroid Build Coastguard Worker  ]
123*61c4878aSAndroid Build Coastguard Worker  friend = [ ":*" ]
124*61c4878aSAndroid Build Coastguard Worker  visibility = [ ":*" ]
125*61c4878aSAndroid Build Coastguard Worker}
126*61c4878aSAndroid Build Coastguard Worker
127*61c4878aSAndroid Build Coastguard Workerpw_source_set("atomic_file_transfer_handler") {
128*61c4878aSAndroid Build Coastguard Worker  public_configs = [ ":public_include_path" ]
129*61c4878aSAndroid Build Coastguard Worker  public = [ "public/pw_transfer/atomic_file_transfer_handler.h" ]
130*61c4878aSAndroid Build Coastguard Worker  sources = [ "atomic_file_transfer_handler.cc" ]
131*61c4878aSAndroid Build Coastguard Worker  public_deps = [
132*61c4878aSAndroid Build Coastguard Worker    ":core",
133*61c4878aSAndroid Build Coastguard Worker    "$dir_pw_stream:std_file_stream",
134*61c4878aSAndroid Build Coastguard Worker  ]
135*61c4878aSAndroid Build Coastguard Worker  deps = [
136*61c4878aSAndroid Build Coastguard Worker    ":atomic_file_transfer_handler_internal",
137*61c4878aSAndroid Build Coastguard Worker    dir_pw_log,
138*61c4878aSAndroid Build Coastguard Worker  ]
139*61c4878aSAndroid Build Coastguard Worker}
140*61c4878aSAndroid Build Coastguard Worker
141*61c4878aSAndroid Build Coastguard Workerpw_source_set("atomic_file_transfer_handler_internal") {
142*61c4878aSAndroid Build Coastguard Worker  sources = [ "pw_transfer_private/filename_generator.h" ]
143*61c4878aSAndroid Build Coastguard Worker  friend = [ ":*" ]
144*61c4878aSAndroid Build Coastguard Worker  visibility = [ ":*" ]
145*61c4878aSAndroid Build Coastguard Worker}
146*61c4878aSAndroid Build Coastguard Worker
147*61c4878aSAndroid Build Coastguard Workerpw_source_set("test_helpers") {
148*61c4878aSAndroid Build Coastguard Worker  public_deps = [
149*61c4878aSAndroid Build Coastguard Worker    ":core",
150*61c4878aSAndroid Build Coastguard Worker    dir_pw_containers,
151*61c4878aSAndroid Build Coastguard Worker  ]
152*61c4878aSAndroid Build Coastguard Worker  sources = [ "pw_transfer_private/chunk_testing.h" ]
153*61c4878aSAndroid Build Coastguard Worker  friend = [ ":*" ]
154*61c4878aSAndroid Build Coastguard Worker  visibility = [ ":*" ]
155*61c4878aSAndroid Build Coastguard Worker}
156*61c4878aSAndroid Build Coastguard Worker
157*61c4878aSAndroid Build Coastguard Workerpw_proto_library("proto") {
158*61c4878aSAndroid Build Coastguard Worker  sources = [ "transfer.proto" ]
159*61c4878aSAndroid Build Coastguard Worker  python_package = "py"
160*61c4878aSAndroid Build Coastguard Worker  prefix = "pw_transfer"
161*61c4878aSAndroid Build Coastguard Worker}
162*61c4878aSAndroid Build Coastguard Worker
163*61c4878aSAndroid Build Coastguard Workerpw_test_group("tests") {
164*61c4878aSAndroid Build Coastguard Worker  tests = [
165*61c4878aSAndroid Build Coastguard Worker    ":chunk_test",
166*61c4878aSAndroid Build Coastguard Worker    ":client_test",
167*61c4878aSAndroid Build Coastguard Worker    ":transfer_thread_test",
168*61c4878aSAndroid Build Coastguard Worker    ":handler_test",
169*61c4878aSAndroid Build Coastguard Worker    ":atomic_file_transfer_handler_test",
170*61c4878aSAndroid Build Coastguard Worker    ":transfer_test",
171*61c4878aSAndroid Build Coastguard Worker  ]
172*61c4878aSAndroid Build Coastguard Worker}
173*61c4878aSAndroid Build Coastguard Worker
174*61c4878aSAndroid Build Coastguard Worker# TODO: b/235345886 - Fix transfer tests on Windows and non-host builds.
175*61c4878aSAndroid Build Coastguard Worker_is_host_toolchain = defined(pw_toolchain_SCOPE.is_host_toolchain) &&
176*61c4878aSAndroid Build Coastguard Worker                     pw_toolchain_SCOPE.is_host_toolchain
177*61c4878aSAndroid Build Coastguard Workernot_needed([ "_is_host_toolchain" ])
178*61c4878aSAndroid Build Coastguard Worker
179*61c4878aSAndroid Build Coastguard Workerpw_test("chunk_test") {
180*61c4878aSAndroid Build Coastguard Worker  enable_if = pw_thread_THREAD_BACKEND != ""
181*61c4878aSAndroid Build Coastguard Worker  sources = [ "chunk_test.cc" ]
182*61c4878aSAndroid Build Coastguard Worker  deps = [ ":core" ]
183*61c4878aSAndroid Build Coastguard Worker}
184*61c4878aSAndroid Build Coastguard Worker
185*61c4878aSAndroid Build Coastguard Workerpw_test("handler_test") {
186*61c4878aSAndroid Build Coastguard Worker  enable_if =
187*61c4878aSAndroid Build Coastguard Worker      pw_thread_THREAD_BACKEND != "" && _is_host_toolchain && host_os != "win"
188*61c4878aSAndroid Build Coastguard Worker  sources = [ "handler_test.cc" ]
189*61c4878aSAndroid Build Coastguard Worker  deps = [ ":pw_transfer" ]
190*61c4878aSAndroid Build Coastguard Worker}
191*61c4878aSAndroid Build Coastguard Worker
192*61c4878aSAndroid Build Coastguard Workerpw_test("atomic_file_transfer_handler_test") {
193*61c4878aSAndroid Build Coastguard Worker  enable_if =
194*61c4878aSAndroid Build Coastguard Worker      pw_thread_THREAD_BACKEND != "" && _is_host_toolchain && host_os != "win"
195*61c4878aSAndroid Build Coastguard Worker  sources = [ "atomic_file_transfer_handler_test.cc" ]
196*61c4878aSAndroid Build Coastguard Worker  deps = [
197*61c4878aSAndroid Build Coastguard Worker    ":atomic_file_transfer_handler",
198*61c4878aSAndroid Build Coastguard Worker    ":atomic_file_transfer_handler_internal",
199*61c4878aSAndroid Build Coastguard Worker    ":pw_transfer",
200*61c4878aSAndroid Build Coastguard Worker    "$dir_pw_random",
201*61c4878aSAndroid Build Coastguard Worker    "$dir_pw_string",
202*61c4878aSAndroid Build Coastguard Worker  ]
203*61c4878aSAndroid Build Coastguard Worker}
204*61c4878aSAndroid Build Coastguard Worker
205*61c4878aSAndroid Build Coastguard Workerpw_test("transfer_test") {
206*61c4878aSAndroid Build Coastguard Worker  enable_if = pw_thread_THREAD_BACKEND == "$dir_pw_thread_stl:thread" &&
207*61c4878aSAndroid Build Coastguard Worker              _is_host_toolchain && host_os != "win"
208*61c4878aSAndroid Build Coastguard Worker  sources = [ "transfer_test.cc" ]
209*61c4878aSAndroid Build Coastguard Worker  deps = [
210*61c4878aSAndroid Build Coastguard Worker    ":proto.pwpb",
211*61c4878aSAndroid Build Coastguard Worker    ":pw_transfer",
212*61c4878aSAndroid Build Coastguard Worker    ":test_helpers",
213*61c4878aSAndroid Build Coastguard Worker    "$dir_pw_assert",
214*61c4878aSAndroid Build Coastguard Worker    "$dir_pw_containers",
215*61c4878aSAndroid Build Coastguard Worker    "$dir_pw_rpc:test_helpers",
216*61c4878aSAndroid Build Coastguard Worker    "$dir_pw_rpc/raw:test_method_context",
217*61c4878aSAndroid Build Coastguard Worker    "$dir_pw_thread:thread",
218*61c4878aSAndroid Build Coastguard Worker  ]
219*61c4878aSAndroid Build Coastguard Worker}
220*61c4878aSAndroid Build Coastguard Worker
221*61c4878aSAndroid Build Coastguard Workerpw_test("transfer_thread_test") {
222*61c4878aSAndroid Build Coastguard Worker  enable_if = pw_thread_THREAD_BACKEND == "$dir_pw_thread_stl:thread" &&
223*61c4878aSAndroid Build Coastguard Worker              pw_unit_test_BACKEND == "$dir_pw_unit_test:light"
224*61c4878aSAndroid Build Coastguard Worker  sources = [ "transfer_thread_test.cc" ]
225*61c4878aSAndroid Build Coastguard Worker  deps = [
226*61c4878aSAndroid Build Coastguard Worker    ":core",
227*61c4878aSAndroid Build Coastguard Worker    ":proto.raw_rpc",
228*61c4878aSAndroid Build Coastguard Worker    ":pw_transfer",
229*61c4878aSAndroid Build Coastguard Worker    ":test_helpers",
230*61c4878aSAndroid Build Coastguard Worker    "$dir_pw_rpc:test_helpers",
231*61c4878aSAndroid Build Coastguard Worker    "$dir_pw_rpc/raw:client_testing",
232*61c4878aSAndroid Build Coastguard Worker    "$dir_pw_rpc/raw:test_method_context",
233*61c4878aSAndroid Build Coastguard Worker    "$dir_pw_thread:thread",
234*61c4878aSAndroid Build Coastguard Worker  ]
235*61c4878aSAndroid Build Coastguard Worker}
236*61c4878aSAndroid Build Coastguard Worker
237*61c4878aSAndroid Build Coastguard Workerpw_test("client_test") {
238*61c4878aSAndroid Build Coastguard Worker  enable_if = pw_thread_THREAD_BACKEND == "$dir_pw_thread_stl:thread"
239*61c4878aSAndroid Build Coastguard Worker  sources = [ "client_test.cc" ]
240*61c4878aSAndroid Build Coastguard Worker  deps = [
241*61c4878aSAndroid Build Coastguard Worker    ":client",
242*61c4878aSAndroid Build Coastguard Worker    ":test_helpers",
243*61c4878aSAndroid Build Coastguard Worker    "$dir_pw_rpc:test_helpers",
244*61c4878aSAndroid Build Coastguard Worker    "$dir_pw_rpc/raw:client_testing",
245*61c4878aSAndroid Build Coastguard Worker    "$dir_pw_thread:sleep",
246*61c4878aSAndroid Build Coastguard Worker    "$dir_pw_thread:thread",
247*61c4878aSAndroid Build Coastguard Worker  ]
248*61c4878aSAndroid Build Coastguard Worker}
249*61c4878aSAndroid Build Coastguard Worker
250*61c4878aSAndroid Build Coastguard Workerpw_doc_group("docs") {
251*61c4878aSAndroid Build Coastguard Worker  sources = [
252*61c4878aSAndroid Build Coastguard Worker    "api.rst",
253*61c4878aSAndroid Build Coastguard Worker    "docs.rst",
254*61c4878aSAndroid Build Coastguard Worker  ]
255*61c4878aSAndroid Build Coastguard Worker  inputs = [
256*61c4878aSAndroid Build Coastguard Worker    "transfer.proto",
257*61c4878aSAndroid Build Coastguard Worker    "read.svg",
258*61c4878aSAndroid Build Coastguard Worker    "write.svg",
259*61c4878aSAndroid Build Coastguard Worker  ]
260*61c4878aSAndroid Build Coastguard Worker}
261*61c4878aSAndroid Build Coastguard Worker
262*61c4878aSAndroid Build Coastguard Workerpw_executable("integration_test_server") {
263*61c4878aSAndroid Build Coastguard Worker  sources = [ "integration_test/server.cc" ]
264*61c4878aSAndroid Build Coastguard Worker  deps = [
265*61c4878aSAndroid Build Coastguard Worker    ":pw_transfer",
266*61c4878aSAndroid Build Coastguard Worker    "$dir_pw_assert",
267*61c4878aSAndroid Build Coastguard Worker    "$dir_pw_rpc/system_server",
268*61c4878aSAndroid Build Coastguard Worker    "$dir_pw_rpc/system_server:socket",
269*61c4878aSAndroid Build Coastguard Worker    "$dir_pw_stream",
270*61c4878aSAndroid Build Coastguard Worker    "$dir_pw_stream:std_file_stream",
271*61c4878aSAndroid Build Coastguard Worker    "$dir_pw_thread:thread",
272*61c4878aSAndroid Build Coastguard Worker    "$dir_pw_thread_stl:thread",
273*61c4878aSAndroid Build Coastguard Worker    dir_pw_log,
274*61c4878aSAndroid Build Coastguard Worker  ]
275*61c4878aSAndroid Build Coastguard Worker}
276*61c4878aSAndroid Build Coastguard Worker
277*61c4878aSAndroid Build Coastguard Workerpw_executable("integration_test_client") {
278*61c4878aSAndroid Build Coastguard Worker  testonly = pw_unit_test_TESTONLY
279*61c4878aSAndroid Build Coastguard Worker  sources = [ "integration_test/client.cc" ]
280*61c4878aSAndroid Build Coastguard Worker  deps = [
281*61c4878aSAndroid Build Coastguard Worker    ":client",
282*61c4878aSAndroid Build Coastguard Worker    "$dir_pw_rpc:integration_testing",
283*61c4878aSAndroid Build Coastguard Worker    "$dir_pw_stream:std_file_stream",
284*61c4878aSAndroid Build Coastguard Worker    "$dir_pw_sync:binary_semaphore",
285*61c4878aSAndroid Build Coastguard Worker    "$dir_pw_thread:thread",
286*61c4878aSAndroid Build Coastguard Worker    dir_pw_assert,
287*61c4878aSAndroid Build Coastguard Worker    dir_pw_log,
288*61c4878aSAndroid Build Coastguard Worker    dir_pw_status,
289*61c4878aSAndroid Build Coastguard Worker  ]
290*61c4878aSAndroid Build Coastguard Worker}
291*61c4878aSAndroid Build Coastguard Worker
292*61c4878aSAndroid Build Coastguard Worker# TODO: b/228516801 - Make this actually work; this is just a placeholder.
293*61c4878aSAndroid Build Coastguard Workerpw_python_script("integration_test_python_client") {
294*61c4878aSAndroid Build Coastguard Worker  sources = [ "integration_test/python_client.py" ]
295*61c4878aSAndroid Build Coastguard Worker}
296*61c4878aSAndroid Build Coastguard Worker
297*61c4878aSAndroid Build Coastguard Worker# TODO: b/228516801 - Make this actually work; this is just a placeholder.
298*61c4878aSAndroid Build Coastguard Workerpw_python_script("integration_test_proxy") {
299*61c4878aSAndroid Build Coastguard Worker  sources = [ "integration_test/proxy.py" ]
300*61c4878aSAndroid Build Coastguard Worker}
301*61c4878aSAndroid Build Coastguard Worker
302*61c4878aSAndroid Build Coastguard Worker# TODO: b/228516801 - Make this actually work; this is just a placeholder.
303*61c4878aSAndroid Build Coastguard Workerpw_python_script("integration_test_proxy_test") {
304*61c4878aSAndroid Build Coastguard Worker  sources = [ "integration_test/proxy_test.py" ]
305*61c4878aSAndroid Build Coastguard Worker}
306*61c4878aSAndroid Build Coastguard Worker
307*61c4878aSAndroid Build Coastguard Worker# TODO: b/228516801 - Make this actually work; this is just a placeholder.
308*61c4878aSAndroid Build Coastguard Workerpw_python_script("integration_test_fixture") {
309*61c4878aSAndroid Build Coastguard Worker  sources = [ "integration_test/test_fixture.py" ]
310*61c4878aSAndroid Build Coastguard Worker}
311*61c4878aSAndroid Build Coastguard Worker
312*61c4878aSAndroid Build Coastguard Worker# TODO: b/228516801 - Make this actually work; this is just a placeholder.
313*61c4878aSAndroid Build Coastguard Workerpw_python_script("cross_language_small_test") {
314*61c4878aSAndroid Build Coastguard Worker  sources = [ "integration_test/cross_language_small_test.py" ]
315*61c4878aSAndroid Build Coastguard Worker}
316*61c4878aSAndroid Build Coastguard Worker
317*61c4878aSAndroid Build Coastguard Worker# TODO: b/228516801 - Make this actually work; this is just a placeholder.
318*61c4878aSAndroid Build Coastguard Workerpw_python_script("cross_language_medium_read_test") {
319*61c4878aSAndroid Build Coastguard Worker  sources = [ "integration_test/cross_language_medium_read_test.py" ]
320*61c4878aSAndroid Build Coastguard Worker}
321*61c4878aSAndroid Build Coastguard Worker
322*61c4878aSAndroid Build Coastguard Worker# TODO: b/228516801 - Make this actually work; this is just a placeholder.
323*61c4878aSAndroid Build Coastguard Workerpw_python_script("cross_language_medium_write_test") {
324*61c4878aSAndroid Build Coastguard Worker  sources = [ "integration_test/cross_language_medium_write_test.py" ]
325*61c4878aSAndroid Build Coastguard Worker}
326*61c4878aSAndroid Build Coastguard Worker
327*61c4878aSAndroid Build Coastguard Worker# TODO: b/228516801 - Make this actually work; this is just a placeholder.
328*61c4878aSAndroid Build Coastguard Workerpw_python_script("cross_language_large_read_test") {
329*61c4878aSAndroid Build Coastguard Worker  sources = [ "integration_test/cross_language_large_read_test.py" ]
330*61c4878aSAndroid Build Coastguard Worker}
331*61c4878aSAndroid Build Coastguard Worker
332*61c4878aSAndroid Build Coastguard Worker# TODO: b/228516801 - Make this actually work; this is just a placeholder.
333*61c4878aSAndroid Build Coastguard Workerpw_python_script("cross_language_large_write_test") {
334*61c4878aSAndroid Build Coastguard Worker  sources = [ "integration_test/cross_language_large_write_test.py" ]
335*61c4878aSAndroid Build Coastguard Worker}
336*61c4878aSAndroid Build Coastguard Worker
337*61c4878aSAndroid Build Coastguard Worker# TODO: b/228516801 - Make this actually work; this is just a placeholder.
338*61c4878aSAndroid Build Coastguard Workerpw_python_script("multi_transfer_test") {
339*61c4878aSAndroid Build Coastguard Worker  sources = [ "integration_test/multi_transfer_test.py" ]
340*61c4878aSAndroid Build Coastguard Worker}
341*61c4878aSAndroid Build Coastguard Worker
342*61c4878aSAndroid Build Coastguard Worker# TODO: b/228516801 - Make this actually work; this is just a placeholder.
343*61c4878aSAndroid Build Coastguard Workerpw_python_script("expected_errors_test") {
344*61c4878aSAndroid Build Coastguard Worker  sources = [ "integration_test/expected_errors_test.py" ]
345*61c4878aSAndroid Build Coastguard Worker}
346*61c4878aSAndroid Build Coastguard Worker
347*61c4878aSAndroid Build Coastguard Worker# TODO: b/228516801 - Make this actually work; this is just a placeholder.
348*61c4878aSAndroid Build Coastguard Workerpw_python_script("legacy_binaries_test") {
349*61c4878aSAndroid Build Coastguard Worker  sources = [ "integration_test/legacy_binaries_test.py" ]
350*61c4878aSAndroid Build Coastguard Worker}
351