summaryrefslogtreecommitdiff
path: root/sigchainlib
diff options
context:
space:
mode:
authorDavid Srbecky <dsrbecky@google.com>2020-07-27 16:05:38 +0100
committerDavid Srbecky <dsrbecky@google.com>2020-07-28 11:10:47 +0000
commitd3ee902ed06b635eedebc796543a67299eb6cd05 (patch)
tree7eaabcd6196325647cb31e8a1210b5465eb694a8 /sigchainlib
parent3c98d6989b3556bd81f67d69190561a16dfc22b8 (diff)
More inclusive language in the build system.
Test: m Bug: 161896447 Bug: 161850439 Bug: 161336379 Change-Id: I90dfafacc04d91661b1b1f5baf018ea6a423db72
Diffstat (limited to 'sigchainlib')
-rw-r--r--sigchainlib/Android.bp10
-rw-r--r--sigchainlib/sigchain_fake.cc (renamed from sigchainlib/sigchain_dummy.cc)2
2 files changed, 6 insertions, 6 deletions
diff --git a/sigchainlib/Android.bp b/sigchainlib/Android.bp
index 6225e0c6d9..e42bb8ef4b 100644
--- a/sigchainlib/Android.bp
+++ b/sigchainlib/Android.bp
@@ -30,7 +30,7 @@ cc_library {
target: {
linux: {
shared: {
- srcs: ["sigchain_dummy.cc"],
+ srcs: ["sigchain_fake.cc"],
},
static: {
srcs: ["sigchain.cc"],
@@ -38,7 +38,7 @@ cc_library {
},
darwin: {
- srcs: ["sigchain_dummy.cc"],
+ srcs: ["sigchain_fake.cc"],
},
android: {
@@ -56,14 +56,14 @@ cc_library {
],
}
-// Create a dummy version of libsigchain which expose the necessary symbols
+// Create a fake version of libsigchain which expose the necessary symbols
// but throws when called. This can be used to get static binaries which don't
// need the real functionality of the sig chain but need to please the linker.
cc_library_static {
- name: "libsigchain_dummy",
+ name: "libsigchain_fake",
host_supported: true,
defaults: ["art_defaults"],
- srcs: ["sigchain_dummy.cc"],
+ srcs: ["sigchain_fake.cc"],
target: {
android: {
whole_static_libs: ["libasync_safe"],
diff --git a/sigchainlib/sigchain_dummy.cc b/sigchainlib/sigchain_fake.cc
index db72b585eb..23861540fc 100644
--- a/sigchainlib/sigchain_dummy.cc
+++ b/sigchainlib/sigchain_fake.cc
@@ -22,7 +22,7 @@
#define ATTRIBUTE_UNUSED __attribute__((__unused__))
-// We cannot annotate the declarations, as they are not no-return in the non-dummy version.
+// We cannot annotate the declarations, as they are not no-return in the non-fake version.
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunknown-pragmas"
#pragma GCC diagnostic ignored "-Wmissing-noreturn"