From 3838decf1d8a0b3f41ca026d303de0aa8448f64f Mon Sep 17 00:00:00 2001 From: John Knox Date: Mon, 24 Sep 2018 06:56:38 -0700 Subject: [PATCH] Rename SONAR_OSS compiler flag Summary: Part of sonar to flipper rename Reviewed By: passy Differential Revision: D9920332 fbshipit-source-id: 99b5cf33c07ca5d9cd59af21490fea18272e67d9 --- android/CMakeLists.txt | 2 +- android/src/main/cpp/sonar.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/android/CMakeLists.txt b/android/CMakeLists.txt index a697d3656..4f74b3ee2 100644 --- a/android/CMakeLists.txt +++ b/android/CMakeLists.txt @@ -6,7 +6,7 @@ set(CMAKE_VERBOSE_MAKEFILE on) set(PACKAGE_NAME "sonar") -add_compile_options(-DSONAR_OSS=1 +add_compile_options(-DFLIPPER_OSS=1 -DFOLLY_NO_CONFIG -DSONAR_JNI_EXTERNAL=1 -DFB_SONARKIT_ENABLED=1 diff --git a/android/src/main/cpp/sonar.cpp b/android/src/main/cpp/sonar.cpp index acabfb72c..760048cbe 100644 --- a/android/src/main/cpp/sonar.cpp +++ b/android/src/main/cpp/sonar.cpp @@ -8,7 +8,7 @@ #include -#ifdef SONAR_OSS +#ifdef FLIPPER_OSS #include #else #include