Android: Split up components_strings.grd
Chrome on Android needs strings in java libraries to be actually used by
that java library target. We make use of android lint to hold the line
against unused resources. A follow-up CL will remove the global
suppression for components strings as well as its unused strings for
android.
This is important especially for android since each string generates
non-trivial amount of overhead due to the android system, on the order
of 3+ kilobytes for each string regardless of length.
Individual components should avoid using strings in android java files
and opt to use native strings instead, but this CL fixes the two
components that do use android-specific strings in their android code.
Bug: 731159
Change-Id: I4bfa7e0ba068bd996d710f7b6b8c8f01e0bb773d
Reviewed-on: https://chromium-review.googlesource.com/624436
Reviewed-by: Bo <[email protected]>
Reviewed-by: Scott Graham <[email protected]>
Reviewed-by: Sylvain Defresne <[email protected]>
Reviewed-by: Andrew Grieve <[email protected]>
Commit-Queue: Peter Wen <[email protected]>
Cr-Commit-Position: refs/heads/master@{#497053}
diff --git a/docs/chromoting_android_hacking.md b/docs/chromoting_android_hacking.md
index 1c3c8df..3e5178b 100644
--- a/docs/chromoting_android_hacking.md
+++ b/docs/chromoting_android_hacking.md
@@ -54,7 +54,7 @@
<classpathentry kind="src" path="components/cronet/android/sample/src"/>
<classpathentry kind="src" path="components/cronet/android/sample/javatests/src"/>
<classpathentry kind="src" path="components/autofill/core/browser/android/java/src"/>
-<classpathentry kind="src" path="components/web_contents_delegate_android/android/java/src"/>
+<classpathentry kind="src" path="components/web_contents_delegate_android/java/src"/>
<classpathentry kind="src" path="components/dom_distiller/android/java/src"/>
<classpathentry kind="src" path="components/navigation_interception/android/java/src"/>
<classpathentry kind="src" path="ui/android/java/src"/>