aboutsummaryrefslogtreecommitdiffhomepage
path: root/site
diff options
context:
space:
mode:
authorGravatar Andrew Pellegrini <apell@google.com>2017-01-26 16:04:12 +0000
committerGravatar Laszlo Csomor <laszlocsomor@google.com>2017-01-26 23:00:24 +0000
commit8d2c1660560bd4a04a0104e3af3381a9a74ea1f2 (patch)
tree6fe5f7005d04f5b0892a593356e54cde646671fe /site
parent3809e4cdf2b540ff617a7cc347b5dafe98c84dfb (diff)
Move Android resource shrinking from experimental to stable.
RELNOTES: Android resource shrinking is now available for android_binary rules. To enable, set the attribute 'shrink_resources = 1'. See https://bazel.build/versions/master/docs/be/android.html#android_binary.shrink_resources. -- PiperOrigin-RevId: 145674372 MOS_MIGRATED_REVID=145674372
Diffstat (limited to 'site')
-rw-r--r--site/versions/master/docs/bazel-user-manual.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/site/versions/master/docs/bazel-user-manual.html b/site/versions/master/docs/bazel-user-manual.html
index 7e3bbdd1a9..387ad06caa 100644
--- a/site/versions/master/docs/bazel-user-manual.html
+++ b/site/versions/master/docs/bazel-user-manual.html
@@ -1659,6 +1659,13 @@ The default is <code>armeabi-v7a</code>.
where users want PIC code explicitly generated for static links.
</p>
+<h4 id='flag--android_resource_shrinking'><code class='flag'>--android_resource_shrinking</code></h4>
+<p>
+ Selects whether to perform resource shrinking for android_binary rules. Sets the default for the
+ <a href='be/android.html#android_binary.shrink_resources'>shrink_resources attribute</a> on
+ android_binary rules; see the documentation for that rule for further details. Defaults to off.
+</p>
+
<h4 id='flag--custom_malloc'><code class='flag'>--custom_malloc <var>malloc-library-target</var></code></h4>
<p>
When specified, always use the given malloc implementation, overriding all