Android: Make TrichromeLibrary.apk have no classes.dex

Moves NativeLibraries class from the library to chrome/webview apks.

This will allow better R8 optimization of the class, and should also
hopefully result in better performance since the library should no
longer need to be included in classloader lookups.

Bug: 1319967
Change-Id: I2c5908e6c575c9bce8c606506779e7db89f3269a
Reviewed-by: Richard Coles <>
Reviewed-by: Peter Wen <>
Commit-Queue: Andrew Grieve <>
Cr-Commit-Position: refs/heads/main@{#1005425}
GitOrigin-RevId: b1e26665ad91606db1ade9fe8f021ef7dbbe879a
1 file changed