Commit Graph

21 Commits

Author SHA1 Message Date
Bob Badour
f7cf305656 [LSC] Add LOCAL_LICENSE_KINDS to development
Added SPDX-license-identifier-Apache-2.0 to:
  apps/BluetoothDebug/Android.bp
  apps/BuildWidget/Android.bp
  apps/CustomLocale/Android.bp
  apps/DevelopmentSettings/Android.bp
  apps/Fallback/Android.bp
  apps/GestureBuilder/Android.bp
  apps/NinePatchLab/Android.bp
  apps/OBJViewer/Android.bp
  apps/PushApiAuthenticator/Android.bp
  apps/PushApiTestAppOne/Android.bp
  apps/PushApiTestAppTwo/Android.bp
  apps/SdkSetup/Android.bp
  apps/SettingInjectorSample/Android.bp
  apps/WidgetPreview/Android.bp
  apps/launchperf/Android.bp
  cmds/monkey/Android.mk
  gsi/gsi_util/Android.bp
  gsi/repack_super_image/Android.bp
  host/windows/Android.bp
  python-packages/Android.bp
  samples/AccelerometerPlay/Android.bp
  samples/AdaptiveIconSample/Android.bp
  samples/AliasActivity/Android.bp
  samples/AndroidBeamDemo/Android.bp
  samples/AppNavigation/Android.bp
  samples/AutofillKeyboard/Android.bp
  samples/BackupRestore/Android.bp
  samples/BasicGLSurfaceView/Android.bp
  samples/BluetoothChat/Android.bp
  samples/BrokenKeyDerivation/Android.bp
  samples/BrokenKeyDerivation/tests/Android.bp
  samples/BusinessCard/Android.bp
  samples/Compass/Android.bp
  samples/ContactManager/Android.bp
  samples/CubeLiveWallpaper/Android.bp
  samples/DataWiper/Android.bp
  samples/DeviceAdminWhitelistedAccount/Android.bp
  samples/FixedGridLayout/Android.bp
  samples/HeavyWeight/Android.bp
  samples/HelloActivity/Android.bp
  samples/HelloActivity/tests/Android.bp
  samples/HelloEffects/Android.bp
  samples/Home/Android.bp
  samples/HoneycombGallery/Android.bp
  samples/InlineFillService/Android.bp
  samples/JetBoy/Android.bp
  samples/LceDemo/Android.bp
  samples/LunarLander/Android.bp
  samples/LunarLander/tests/Android.bp
  samples/MultiResolution/Android.bp
  samples/MultiWindow/Android.bp
  samples/MySampleRss/Android.bp
  samples/NotePad/Android.bp
  samples/Obb/Android.bp
  samples/RSSReader/Android.bp
  samples/ReceiveShareDemo/Android.bp
  samples/SampleSyncAdapter/Android.bp
  samples/SimpleJNI/Android.bp
  samples/SimpleJNI/jni/Android.bp
  samples/SipDemo/Android.bp
  samples/SkeletonApp/Android.bp
  samples/SkeletonApp/tests/Android.bp
  samples/Snake/Android.bp
  samples/Snake/tests/Android.bp
  samples/SoftKeyboard/Android.bp
  samples/SpellChecker/HelloSpellChecker/Android.bp
  samples/SpellChecker/SampleSpellCheckerService/Android.bp
  samples/StackWidget/Android.bp
  samples/ThemedNavBarKeyboard/Android.bp
  samples/ToyVpn/Android.bp
  samples/TtsEngine/Android.bp
  samples/USB/AdbTest/Android.bp
  samples/USB/MissileLauncher/Android.bp
  samples/UiAutomator/Android.mk
  samples/Vault/Android.bp
  samples/Vault/tests/Android.bp
  samples/VoiceRecognitionService/Android.bp
  samples/VoicemailProviderDemo/Android.bp
  samples/WeatherListWidget/Android.bp
  samples/WiFiDirectDemo/Android.bp
  samples/WiFiDirectServiceDiscovery/Android.bp
  samples/Wiktionary/Android.bp
  samples/WiktionarySimple/Android.bp
  samples/XmlAdapters/Android.bp
  samples/apkcachetest/Android.bp
  samples/training/NsdChat/Android.bp
  scripts/Android.bp
  testrunner/Android.mk
  testrunner/tests/Android_native.mk
  tools/apkcheck/Android.bp
  tools/bugreport/Android.bp
  tools/etc1tool/Android.bp
  tools/idegen/Android.bp
  tools/mkstubs/Android.bp
  tools/rmtypedefs/Android.bp
  vndk/Android.bp
  vndk/tools/Android.bp
  vndk/tools/elfcheck/Android.bp
  vndk/tools/header-checker/Android.bp
  vndk/tools/header-checker/src/repr/protobuf/proto/Android.bp
  vndk/tools/header-checker/tests/integration/ifunc/Android.bp
  vndk/tools/header-checker/tests/integration/version_script_example/Android.bp
  vndk/tools/image-diff-tool/Android.bp

Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-BSD
    SPDX-license-identifier-CPL-1.0 SPDX-license-identifier-MIT
    SPDX-license-identifier-Unicode-DFS SPDX-license-identifier-W3C
    legacy_restricted legacy_unencumbered
to:
  Android.bp

Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-CPL-1.0
to:
  samples/SearchableDictionary/Android.bp

Added SPDX-license-identifier-Apache-2.0 legacy_unencumbered
to:
  tools/Android.bp

Added SPDX-license-identifier-BSD SPDX-license-identifier-CPL-1.0
    SPDX-license-identifier-MIT SPDX-license-identifier-Unicode-DFS
    SPDX-license-identifier-W3C
to:
  sdk/Android.bp

Added legacy_restricted
to:
  samples/KeyChainDemo/Android.bp
  tools/line_endings/Android.bp
  vndk/tools/definition-tool/datasets/Android.bp

Bug: 68860345
Bug: 151177513
Bug: 151953481

Test: m all

Exempt-From-Owner-Approval: janitorial work
Change-Id: I9847e00fb4278bc083b4debbc751003c995ea45c
2021-02-12 17:13:45 -08:00
Colin Cross
6d7b346407 Convert development/tools to Android.bp
See build/soong/README.md for more information

Also moves rmtypedefs to use the guava prebuilt from
prebuilts/misc/common.

Test: m checkbuild
Change-Id: I9298967275ca40f8d50841b204cd40612a8a5f56
2017-10-24 16:15:15 -07:00
Colin Cross
61967edf02 Use asm-5.2 prebuilts
Test: m -j checkbuild tests cts
Change-Id: I737c9293662d1e9a5c47f174f160b9fd88bb3b5f
2017-02-13 12:54:21 -08:00
Deepanshu Gupta
b916791be8 Update mkstubs to Java 8.
Also remove eclipse project, add intellij project and start using ASM5
API.

Change-Id: I761965fe641879a606d5ec4f0cec0781087e4c20
2016-01-08 08:48:36 -08:00
Deepanshu Gupta
3162d05475 Upgrade to ASM 5
Change-Id: I5c8bbc67017b7de49a9cb34514c087ed2f536495
2016-01-07 16:57:36 -08:00
Tor Norbye
7fb8be5c6a Update mkstubs from ASM 3.1 to ASM 4.0
Change-Id: If43fcdba7070af8ae3d72e7e30a1dcbe11a217ec
2011-12-05 14:30:02 -08:00
Raphael
8252cdea30 SDK: make 'mkstub' less verbose.
mkstub is the tool used to stub the google_apis maps.jar.
Since we're integrating it in the build, we want to control its verbosity.

Change-Id: Ic0cfacb79a0aa260bcafb54bdc6bdb5a98b1c87a
2011-02-03 22:56:14 -08:00
Xavier Ducrohet
ce6f5c964f Minor NPE fix. 2009-07-22 19:51:10 -07:00
Xavier Ducrohet
fd9b2a0b72 am c3c97d1d: AI 149620: mkstubs should ignore all the methods/fields/classes with default access. External bug: http://code.google.com/p/android/issues/detail?id=2806 BUG=1901455
Merge commit 'c3c97d1db391f4e400343fd69be11c8b1f951ff3' into donut

* commit 'c3c97d1db391f4e400343fd69be11c8b1f951ff3':
  AI 149620: mkstubs should ignore all the methods/fields/classes with default access.
2009-06-08 11:16:44 -07:00
Xavier Ducrohet
c3c97d1db3 AI 149620: mkstubs should ignore all the methods/fields/classes with default access.
External bug: http://code.google.com/p/android/issues/detail?id=2806
  BUG=1901455

Automated import of CL 149620
2009-06-05 17:06:37 -07:00
Raphael
aa8c266ed0 Split development/.gitignore into separate gitignore files per project.
Added missing gitignore for layoutlib_utils.
Changed mkstubs build path to use prebuilt/asm-3.1 instead of asm-3.1 project.
2009-04-26 18:12:36 -07:00
Raphael Moll
ee8f65c4f7 AI 147193: am: CL 147190 Javadoc for MkStubs.
Original author: raphael
  Merged from: //branches/cupcake/...

Automated import of CL 147193
2009-04-21 13:22:51 -07:00
Raphael Moll
8f17caaa8b AI 147190: Javadoc for MkStubs.
BUG=1778786

Automated import of CL 147190
2009-04-21 13:20:37 -07:00
Raphael Moll
6aa2c4996b AI 147013: am: CL 147012 A readme describing the usage and limitations of MkStubs.
Original author: raphael
  Merged from: //branches/cupcake/...

Automated import of CL 147013
2009-04-20 15:41:59 -07:00
Raphael Moll
e5497a1a71 AI 147012: A readme describing the usage and limitations of MkStubs.
BUG=1778786

Automated import of CL 147012
2009-04-20 15:40:40 -07:00
Raphael Moll
32557b47c5 AI 146870: am: CL 146865 Final pass on stubber: properly filter fields and methods.
Original author: raphael
  Merged from: //branches/cupcake/...

Automated import of CL 146870
2009-04-19 09:47:11 -07:00
Raphael Moll
0cb5e26dab AI 146865: Final pass on stubber: properly filter fields and methods.
BUG=1778786

Automated import of CL 146865
2009-04-19 09:41:25 -07:00
Raphael Moll
323557aaf9 AI 146744: am: CL 146720 ADT Jar Stubber: generate stubbed jar.
This also reorganizes some source so it's 90% refactoring.
  There will be more filtering to do in another CL.
  Original author: raphael
  Merged from: //branches/cupcake/...

Automated import of CL 146744
2009-04-17 11:33:07 -07:00
Raphael Moll
42c230dd91 AI 146720: ADT Jar Stubber: generate stubbed jar.
This also reorganizes some source so it's 90% refactoring.
  There will be more filtering to do in another CL.
  BUG=1778786

Automated import of CL 146720
2009-04-17 08:00:06 -07:00
Raphael Moll
1297169e09 AI 145983: am: CL 145911 ADT #1778786: tool to generate stubbed jar file.
This is only a preliminary CL. More will follow but this is
  a good start, with the following caveats:
  What it does:
  - take an input jar, a list of includes, a list of excludes.
  - generate actual Java source for the filtered classes.
  What it doesn't do yet:
  - some more work on filtering inner elements (methods, etc.)
  - properly generate inner classes.
  - hide synthetic fields.
  - some classes body are missing
  - directly generate a stubbed bytecode/jar rather than source.
  I'll likely want to keep the source generator for debugging
  purposes or if we want to integrate with a build system instead.
  - classpath will be changed in the final CL to refer to the external
  ASM lib rather than the project. I need the source for debugging
  rigth now.
  - will review comments before submitting.
  Original author: raphael
  Merged from: //branches/cupcake/...

Automated import of CL 145983
2009-04-13 18:21:16 -07:00
Raphael Moll
6c0d467cc2 AI 145911: ADT #1778786: tool to generate stubbed jar file.
This is only a preliminary CL. More will follow but this is
  a good start, with the following caveats:
  What it does:
  - take an input jar, a list of includes, a list of excludes.
  - generate actual Java source for the filtered classes.
  What it doesn't do yet:
  - some more work on filtering inner elements (methods, etc.)
  - properly generate inner classes.
  - hide synthetic fields.
  - some classes body are missing
  - directly generate a stubbed bytecode/jar rather than source.
  I'll likely want to keep the source generator for debugging
  purposes or if we want to integrate with a build system instead.
  - classpath will be changed in the final CL to refer to the external
  ASM lib rather than the project. I need the source for debugging
  rigth now.
  - will review comments before submitting.
  BUG=1778786

Automated import of CL 145911
2009-04-13 12:53:34 -07:00