David Rogers | 17793d6 | 2021-02-05 03:29:02 -0800 | [diff] [blame] | 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 | |
| 15 | load( |
| 16 | "//pw_build:pigweed.bzl", |
| 17 | "pw_cc_binary", |
| 18 | ) |
| 19 | |
| 20 | package(default_visibility = ["//visibility:public"]) |
| 21 | |
Rob Mohr | 5fc2541 | 2021-06-23 09:35:23 -0700 | [diff] [blame] | 22 | licenses(["notice"]) |
David Rogers | 17793d6 | 2021-02-05 03:29:02 -0800 | [diff] [blame] | 23 | |
| 24 | pw_cc_binary( |
| 25 | name = "base", |
| 26 | srcs = ["base.cc"], |
| 27 | deps = [ |
| 28 | "//pw_assert", |
| 29 | "//pw_bloat:bloat_this_binary", |
| 30 | "//pw_kvs", |
David Rogers | 17793d6 | 2021-02-05 03:29:02 -0800 | [diff] [blame] | 31 | "//pw_kvs:fake_flash_12_byte_partition", |
Nathaniel Brough | a1113be | 2021-03-07 09:05:41 +0800 | [diff] [blame] | 32 | "//pw_kvs:flash_test_partition", |
David Rogers | 17793d6 | 2021-02-05 03:29:02 -0800 | [diff] [blame] | 33 | "//pw_log", |
| 34 | ], |
| 35 | ) |
| 36 | |
| 37 | pw_cc_binary( |
| 38 | name = "basic_blob", |
| 39 | srcs = ["basic_blob.cc"], |
| 40 | deps = [ |
| 41 | "//pw_assert", |
| 42 | "//pw_bloat:bloat_this_binary", |
| 43 | "//pw_blob_store", |
| 44 | "//pw_kvs", |
David Rogers | 17793d6 | 2021-02-05 03:29:02 -0800 | [diff] [blame] | 45 | "//pw_kvs:fake_flash_12_byte_partition", |
Nathaniel Brough | a1113be | 2021-03-07 09:05:41 +0800 | [diff] [blame] | 46 | "//pw_kvs:flash_test_partition", |
David Rogers | 17793d6 | 2021-02-05 03:29:02 -0800 | [diff] [blame] | 47 | "//pw_log", |
| 48 | ], |
| 49 | ) |
| 50 | |
| 51 | pw_cc_binary( |
| 52 | name = "deferred_write_blob", |
| 53 | srcs = ["deferred_write_blob.cc"], |
| 54 | deps = [ |
| 55 | "//pw_assert", |
| 56 | "//pw_bloat:bloat_this_binary", |
| 57 | "//pw_blob_store", |
| 58 | "//pw_kvs", |
David Rogers | 17793d6 | 2021-02-05 03:29:02 -0800 | [diff] [blame] | 59 | "//pw_kvs:fake_flash_12_byte_partition", |
Nathaniel Brough | a1113be | 2021-03-07 09:05:41 +0800 | [diff] [blame] | 60 | "//pw_kvs:flash_test_partition", |
David Rogers | 17793d6 | 2021-02-05 03:29:02 -0800 | [diff] [blame] | 61 | "//pw_log", |
| 62 | ], |
| 63 | ) |