diff options
author | Daniel Erat <derat@google.com> | 2015-08-19 23:27:44 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2015-08-19 23:27:44 +0000 |
commit | 67cf363132ddeade1cfdd2965787abc37174f18a (patch) | |
tree | 2c175003e6d70b9b1a92192520dbfc19c53cd286 | |
parent | 3703d3770e024331033dcfe7bf68c9e60eaa9cec (diff) | |
parent | 2908f10c54864392a9826fb136eac4997fe785ae (diff) | |
download | libbrillo-67cf363132ddeade1cfdd2965787abc37174f18a.tar.gz |
Merge "Use __ANDROID__ instead of __BRILLO__."
-rw-r--r-- | Android.mk | 2 | ||||
-rw-r--r-- | chromeos/process_unittest.cc | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -109,7 +109,7 @@ libchromeos_test_sources := \ chromeos/strings/string_utils_unittest.cc \ chromeos/url_utils_unittest.cc -libchromeos_CFLAGS := -Wall -D__BRILLO__ \ +libchromeos_CFLAGS := -Wall \ -Wno-char-subscripts -Wno-missing-field-initializers \ -Wno-unused-function -Wno-unused-parameter -Werror libchromeos_CPPFLAGS := -Wno-non-virtual-dtor -Wno-sign-promo \ diff --git a/chromeos/process_unittest.cc b/chromeos/process_unittest.cc index c74e1ed..1d83cb7 100644 --- a/chromeos/process_unittest.cc +++ b/chromeos/process_unittest.cc @@ -17,7 +17,7 @@ using base::FilePath; // This test assumes the following standard binaries are installed. -#if defined(__BRILLO__) +#if defined(__ANDROID__) # define SYSTEM_PREFIX "/system" #else # define SYSTEM_PREFIX "" @@ -266,7 +266,7 @@ TEST_F(ProcessTest, NoParams) { EXPECT_EQ(-1, process_.Run()); } -#if !defined(__BRILLO__) // Bionic intercepts the segfault in brillo +#if !defined(__BIONIC__) // Bionic intercepts the segfault on Android. TEST_F(ProcessTest, SegFaultHandling) { process_.AddArg(kBinSh); process_.AddArg("-c"); |