summaryrefslogtreecommitdiffstats
path: root/core/build-system.html
diff options
context:
space:
mode:
authorBrian Carlstrom <bdc@google.com>2010-02-01 11:13:32 -0800
committerBrian Carlstrom <bdc@google.com>2010-02-05 15:57:07 -0800
commitf184a0f26db350693902ab623c414974978f4ac4 (patch)
treea113e5cd3ec0c7e96d81e96c6e94cbd8a6c0dacd /core/build-system.html
parentf397ea2f8133e5b18a7e82055c19565f93e417bd (diff)
downloadbuild-f184a0f26db350693902ab623c414974978f4ac4.zip
build-f184a0f26db350693902ab623c414974978f4ac4.tar.gz
build-f184a0f26db350693902ab623c414974978f4ac4.tar.bz2
Add support for LOCAL_JAVACFLAGS
The Dalvik core libraries team would like to start making warnings errors in certain packages by definition LOCAL_JAVACFLAGS. This will allow easier debuging of warnings in other packages by supplying "-Xlint:..." options.
Diffstat (limited to 'core/build-system.html')
-rw-r--r--core/build-system.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/core/build-system.html b/core/build-system.html
index 43bae03..ce5e869 100644
--- a/core/build-system.html
+++ b/core/build-system.html
@@ -704,6 +704,11 @@ automatically generated and then linked in when your module is built.
See the <a href="#custom-tools">Custom Tools</a> template makefile for an
example.</p>
+<h4>LOCAL_JAVACFLAGS</h4>
+<p>If you have additional flags to pass into the javac compiler, add
+them here. For example:</p>
+<p><code>LOCAL_JAVACFLAGS += -Xlint:deprecation</code></p>
+
<h4>LOCAL_JAVA_LIBRARIES</h4>
<p>When linking Java apps and libraries, <code>LOCAL_JAVA_LIBRARIES</code>
specifies which sets of java classes to include. Currently there are