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 15package { 16 default_applicable_licenses: ["external_pigweed_license"], 17} 18 19cc_library_static { 20 name: "pw_router_static_router", 21 cpp_std: "c++20", 22 export_include_dirs: ["public"], 23 defaults: [ 24 "pw_android_common_backends", 25 ], 26 srcs: [ 27 "static_router.cc", 28 ], 29 header_libs: [ 30 "pw_log", 31 ], 32 export_header_lib_headers: [ 33 "pw_log", 34 ], 35 static_libs: [ 36 "pw_base64", 37 "pw_containers", 38 "pw_metric", 39 "pw_router.egress", 40 "pw_router.packet_parser", 41 "pw_status", 42 "pw_tokenizer_base64", 43 ], 44 export_static_lib_headers: [ 45 "pw_metric", 46 "pw_router.egress", 47 "pw_router.packet_parser", 48 "pw_status", 49 ], 50 host_supported: true, 51 vendor_available: true, 52} 53 54cc_library_static { 55 name: "pw_router.egress", 56 cpp_std: "c++20", 57 export_include_dirs: ["public"], 58 host_supported: true, 59 vendor_available: true, 60 static_libs: [ 61 "pw_bytes", 62 ], 63 export_static_lib_headers: [ 64 "pw_bytes", 65 ], 66} 67 68cc_library_static { 69 name: "pw_router.packet_parser", 70 cpp_std: "c++20", 71 export_include_dirs: ["public"], 72 host_supported: true, 73 vendor_available: true, 74 static_libs: [ 75 "pw_bytes", 76 ], 77 export_static_lib_headers: [ 78 "pw_bytes", 79 ], 80} 81