1# Copyright 2021 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 15load("//pw_build:pw_cc_binary.bzl", "pw_cc_binary") 16 17package( 18 default_visibility = ["//visibility:public"], 19 features = ["-layering_check"], 20) 21 22licenses(["notice"]) 23 24pw_cc_binary( 25 name = "persistent", 26 srcs = [ 27 "persistent.cc", 28 ], 29 deps = [ 30 "//pw_bloat:bloat_this_binary", 31 "//pw_persistent_ram", 32 ], 33) 34 35pw_cc_binary( 36 name = "persistent_base", 37 srcs = [ 38 "persistent_base.cc", 39 ], 40 deps = [ 41 "//pw_bloat:bloat_this_binary", 42 "//pw_persistent_ram", 43 ], 44) 45 46pw_cc_binary( 47 name = "persistent_base_with_crc16", 48 srcs = [ 49 "persistent_base_with_crc16.cc", 50 ], 51 deps = [ 52 "//pw_bloat:bloat_this_binary", 53 "//pw_persistent_ram", 54 ], 55) 56