aboutsummaryrefslogtreecommitdiff
path: root/pw_assert_basic
diff options
context:
space:
mode:
authorArmando Montanez <amontanez@google.com>2020-03-02 14:58:59 -0800
committerCQ Bot Account <commit-bot@chromium.org>2020-03-03 18:19:17 +0000
commitf7a5a742abf3aadf74fc527b0afeffe4e346a2b8 (patch)
tree869b217cacf96589faa4b447d8b478da2eafc2cf /pw_assert_basic
parentba1bb1ff43aab470ce6119aff7140395428eed66 (diff)
downloadpigweed-f7a5a742abf3aadf74fc527b0afeffe4e346a2b8.tar.gz
Rename pw_dumb_io to pw_sys_io
Rename pw_dumb_io facade and backends to use the more deliberate name pw_sys_io moving forward. Change-Id: I968480715967ab8de491856afa1b7692b973ed7e
Diffstat (limited to 'pw_assert_basic')
-rw-r--r--pw_assert_basic/BUILD2
-rw-r--r--pw_assert_basic/BUILD.gn2
-rw-r--r--pw_assert_basic/CMakeLists.txt2
-rw-r--r--pw_assert_basic/assert_basic.cc6
4 files changed, 6 insertions, 6 deletions
diff --git a/pw_assert_basic/BUILD b/pw_assert_basic/BUILD
index 6a04d08fc..418de2442 100644
--- a/pw_assert_basic/BUILD
+++ b/pw_assert_basic/BUILD
@@ -35,8 +35,8 @@ pw_cc_library(
"public_overrides",
],
deps = [
- "//pw_dumb_io",
"//pw_assert:facade",
"//pw_string",
+ "//pw_sys_io",
],
)
diff --git a/pw_assert_basic/BUILD.gn b/pw_assert_basic/BUILD.gn
index dab76066f..9b39a97f8 100644
--- a/pw_assert_basic/BUILD.gn
+++ b/pw_assert_basic/BUILD.gn
@@ -36,9 +36,9 @@ source_set("core") {
public_configs = [ ":default_config" ]
deps = [
"$dir_pw_assert:facade",
- "$dir_pw_dumb_io",
"$dir_pw_preprocessor",
"$dir_pw_string",
+ "$dir_pw_sys_io",
]
public = [ "public/pw_assert_basic/assert_basic.h" ]
sources = public + [ "assert_basic.cc" ]
diff --git a/pw_assert_basic/CMakeLists.txt b/pw_assert_basic/CMakeLists.txt
index 432e5f92b..7e6c46aef 100644
--- a/pw_assert_basic/CMakeLists.txt
+++ b/pw_assert_basic/CMakeLists.txt
@@ -16,9 +16,9 @@ pw_auto_add_simple_module(pw_assert_basic
IMPLEMENTS_FACADE
pw_assert
PRIVATE_DEPS
- pw_dumb_io
pw_preprocessor
pw_string
+ pw_sys_io
)
target_include_directories(pw_assert_basic PUBLIC public_overrides)
diff --git a/pw_assert_basic/assert_basic.cc b/pw_assert_basic/assert_basic.cc
index b6abdb101..3046ba636 100644
--- a/pw_assert_basic/assert_basic.cc
+++ b/pw_assert_basic/assert_basic.cc
@@ -21,9 +21,9 @@
#include <cstring>
-#include "pw_dumb_io/dumb_io.h"
#include "pw_preprocessor/util.h"
#include "pw_string/string_builder.h"
+#include "pw_sys_io/sys_io.h"
// TODO(pwbug/17): Expose these through the config system.
#define PW_ASSERT_BASIC_SHOW_BANNER 1
@@ -73,7 +73,7 @@ static const char* kCrashBanner[] = {
" ",
};
-using pw::dumb_io::WriteLine;
+using pw::sys_io::WriteLine;
typedef pw::StringBuffer<150> Buffer;
@@ -104,7 +104,7 @@ extern "C" void pw_Crash(const char* file_name,
va_start(args, message);
buffer.FormatVaList(message, args);
va_end(args);
- pw::dumb_io::WriteLine(buffer.view());
+ WriteLine(buffer.view());
}
WriteLine("");