Skip to content

Commit

Permalink
Merge pull request #22264 from brave/android_leo_stable_channel
Browse files Browse the repository at this point in the history
Enables Leo on release channel on Android
  • Loading branch information
SergeyZhukovsky authored Feb 22, 2024
2 parents 6096ed5 + 68295fb commit 647f8f7
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions components/ai_chat/core/common/buildflags/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,6 @@ buildflag_header("buildflags") {
flags = [
"ENABLE_AI_CHAT=$enable_ai_chat",
"SERVICE_KEY_AICHAT=\"$service_key_aichat\"",
"ENABLE_AI_CHAT_FEATURE_FLAG=true",
]

# Enable for desktop (all channels) and android (only dev,
# nightly and beta channels).
if (!is_android || (brave_channel == "beta" || brave_channel == "nightly" ||
brave_channel == "development")) {
flags += [ "ENABLE_AI_CHAT_FEATURE_FLAG=true" ]
} else {
flags += [ "ENABLE_AI_CHAT_FEATURE_FLAG=false" ]
}
}

0 comments on commit 647f8f7

Please sign in to comment.