Skip to content

Commit

Permalink
VPN-5822 - Adjust fix for Android (#8690) (#8789)
Browse files Browse the repository at this point in the history
* VPN-5822 Android adjust fix
  • Loading branch information
mcleinman authored Dec 11, 2023
1 parent 1fb59e6 commit d0b3ba4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions scripts/android/cmake.sh
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ if [[ "$ADJUST_SDK_TOKEN" ]]; then
print Y "Use adjust config"
ADJUST="CONFIG+=adjust"
else
print Y "No adjust token found."
ADJUST="CONFIG-=adjust"
fi

Expand Down
4 changes: 2 additions & 2 deletions src/platforms/android/sources.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ target_sources(shared-sources INTERFACE
)

if(ADJUST_TOKEN)
message(Adjust SDK enabled)
message("Adjust SDK enabled")
# SDK Token present, let's enable that.
target_compile_definitions(shared-sources INTERFACE MZ_ADJUST)
target_compile_definitions(mozillavpn PUBLIC MZ_ADJUST)

target_sources(shared-sources INTERFACE
${CMAKE_CURRENT_SOURCE_DIR}/adjust/adjustfiltering.cpp
Expand Down

0 comments on commit d0b3ba4

Please sign in to comment.