Index: chrome/browser/background_sync/background_sync_controller_impl_unittest.cc |
diff --git a/chrome/browser/background_sync/background_sync_controller_impl_unittest.cc b/chrome/browser/background_sync/background_sync_controller_impl_unittest.cc |
index 7e32abe2d3ae388d99e3d230b2611bb74c6c2e54..0e6b430e08cd1a05a83e4c00c39303a0f92e99b4 100644 |
--- a/chrome/browser/background_sync/background_sync_controller_impl_unittest.cc |
+++ b/chrome/browser/background_sync/background_sync_controller_impl_unittest.cc |
@@ -16,7 +16,7 @@ |
#include "testing/gtest/include/gtest/gtest.h" |
#include "url/gurl.h" |
-#if BUILDFLAG(ANDROID_JAVA_UI) |
+#if defined(OS_ANDROID) |
#include "chrome/browser/android/background_sync_launcher_android.h" |
#endif |
@@ -52,7 +52,7 @@ class BackgroundSyncControllerImplTest : public testing::Test { |
controller_( |
new TestBackgroundSyncControllerImpl(&profile_, &rappor_service_)) { |
ResetFieldTrialList(); |
-#if BUILDFLAG(ANDROID_JAVA_UI) |
+#if defined(OS_ANDROID) |
BackgroundSyncLauncherAndroid::SetPlayServicesVersionCheckDisabledForTests( |
true); |
#endif |