1// Copyright 2023 The Pigweed Authors 2// 3// Licensed under the Apache License, Version 2.0 (the "License"); you may not 4// use this file except in compliance with the License. You may obtain a copy of 5// the License at 6// 7// https://www.apache.org/licenses/LICENSE-2.0 8// 9// Unless required by applicable law or agreed to in writing, software 10// distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 11// WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 12// License for the specific language governing permissions and limitations under 13// the License. 14 15cc_library_static { 16 name: "pw_stream_uart_linux", 17 cpp_std: "c++20", 18 export_include_dirs: ["public"], 19 vendor_available: true, 20 host_supported: true, 21 defaults: [ 22 "pw_android_common_backends", 23 ], 24 header_libs: [ 25 "pw_assert", 26 "pw_log", 27 ], 28 export_header_lib_headers: [ 29 "pw_assert", 30 "pw_log", 31 ], 32 srcs: [ 33 "stream.cc", 34 ], 35 static_libs: [ 36 "pw_bytes", 37 "pw_preprocessor", 38 "pw_polyfill", 39 "pw_result", 40 "pw_span", 41 "pw_status", 42 "pw_stream", 43 "pw_toolchain", 44 ], 45 export_static_lib_headers: [ 46 "pw_bytes", 47 "pw_preprocessor", 48 "pw_result", 49 "pw_span", 50 "pw_status", 51 "pw_stream", 52 ], 53} 54