0

[google_apis] Only define Ash-specific keys in Ash builds

The SODA key is moved to accommodate a single conditional block for Ash.

Bug: 1377536
Change-Id: Ic639b2a90d9797e99ce616dace66b09cd01306d5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3991851
Commit-Queue: David Dorwin <ddorwin@chromium.org>
Reviewed-by: Mihai Sardarescu <msarda@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1066714}
This commit is contained in:
David Dorwin
2022-11-02 21:44:03 +00:00
committed by Chromium LUCI CQ
parent 0960da52f5
commit 97f1a03603
2 changed files with 24 additions and 24 deletions

@ -79,19 +79,19 @@ std::string GetNonStableAPIKey();
// Retrieves the Chrome Remote Desktop API key.
std::string GetRemotingAPIKey();
// Retrieves the Speech On-Device API (SODA) API Key.
std::string GetSodaAPIKey();
#if BUILDFLAG(IS_CHROMEOS_ASH)
// Retrieves the Sharing API Key.
std::string GetSharingAPIKey();
#endif
// Retrieves the Speech On-Device API (SODA) API Key.
std::string GetSodaAPIKey();
// Retrieves the ReadAloud API Key.
std::string GetReadAloudAPIKey();
// Retrieves the Fresnel API Key.
std::string GetFresnelAPIKey();
#endif
#if BUILDFLAG(SUPPORT_EXTERNAL_GOOGLE_API_KEY)
// Sets the API key. This should be called as early as possible before this