diff options
author | Tor Norbye <tnorbye@google.com> | 2012-01-26 15:55:58 -0800 |
---|---|---|
committer | Tor Norbye <tnorbye@google.com> | 2012-01-27 17:12:46 -0800 |
commit | cb3bddedd22155d23f741e764168174c3e223807 (patch) | |
tree | 45bd84740d90ca1e2acd4fe23d3fff73c885f886 /eclipse/scripts | |
parent | 80ee869e0faf808a1cab0036db517b237f94fc6b (diff) | |
download | sdk-cb3bddedd22155d23f741e764168174c3e223807.zip sdk-cb3bddedd22155d23f741e764168174c3e223807.tar.gz sdk-cb3bddedd22155d23f741e764168174c3e223807.tar.bz2 |
API check hooked up to lint
This checkin hooks up the API check to lint, such that class
references, method calls and field access are checked with the
database and generates warnings if the project min SDK is lower than
that required by the API. It also checks layout references to ensure
that the widgets are supported by the minimum API.
NOTE: There's no flow analysis to avoid classes that are deliberately
accessing later APIs (and where the referencing class is loaded
conditionally). Therefore, for now the lint check is disabled by
default; enable with "lint --check NewApi".
Change-Id: Ia3160f81b45b5baed3caa46cdffe56735ebedd44
Diffstat (limited to 'eclipse/scripts')
-rwxr-xr-x | eclipse/scripts/create_all_symlinks.sh | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/eclipse/scripts/create_all_symlinks.sh b/eclipse/scripts/create_all_symlinks.sh index 1e68571..b274ed3 100755 --- a/eclipse/scripts/create_all_symlinks.sh +++ b/eclipse/scripts/create_all_symlinks.sh @@ -87,7 +87,6 @@ ADT_PREBUILTS="\ LIBS="$LIBS $ADT_LIBS" CP_FILES="$CP_FILES @:$ADT_DEST $ADT_LIBS $ADT_PREBUILTS" - ### DDMS ### DDMS_DEST="sdk/eclipse/plugins/com.android.ide.eclipse.ddms/libs" |