android: Introduce ProductConfig and use it for Locales and Linker.
ProductConfig is a class used for product-specific configuration. This is specifically targeted at providing different settings for TrichromeChrome and TrichromeWebView, without interfering with synchronized proguarding. This CL contains two things: 1. Renaming LocaleConfig -> ProductConfig, as it is used more broadly than Locales 2. Adding support for setting up the linker with it. The second point is required as TrichromeWebView must not be loaded with the Chromium linker, yet the configuration class currently lives in //base, which is in the library APK. To ease the migration, some targets still use the "default" configuration, which falls back to the existing mechanism, using NativeLibraries.java in base/android. Change-Id: Id034b1b24d3aee836442253c4b398231271ca107 Bug: 979638 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1886682 Commit-Queue: Benoit L <lizeb@chromium.org> Reviewed-by:Yaron Friedman <yfriedman@chromium.org> Reviewed-by:
John Budorick <jbudorick@chromium.org> Reviewed-by:
Sergey Volk <servolk@chromium.org> Reviewed-by:
Richard Coles <torne@chromium.org> Reviewed-by:
Andrew Grieve <agrieve@chromium.org> Reviewed-by:
Eric Stevenson <estevenson@chromium.org> Reviewed-by:
Benoit L <lizeb@chromium.org> Cr-Commit-Position: refs/heads/master@{#713410}
Showing
Please register or sign in to comment