Commit Graph

21 Commits

Author SHA1 Message Date
Ulya Trafimovich
bca9632895 Add <uses-library> information.
LOCAL_USES_LIBRARIES / LOCAL_OPTIONAL_USES_LIBRARIES should be added to
the app's Android.mk module and should match <uses-library> tags in the
app's manifest, so that the build knows about these libraries and
generates correct class loader context for dexpreopt.

Bug: 132357300
Test: m out/target/common/obj/APPS/Development_intermediates/enforce_uses_libraries.status
Change-Id: Ie5e36dd60040a1e7653acdf882e006de513f5367
Merged-In: Ie5e36dd60040a1e7653acdf882e006de513f5367
(cherry picked from commit 247d38afd5)
2021-05-11 14:27:46 +01:00
Yuntao Xu
bdf46bdb5d Revert "Convert Development/Android.mk to Android.bp"
This reverts commit 5ec6ecafd8.

Reason for revert: <cause build breakage>

Change-Id: Ib761f8675b3f09a53f33b786101022de287ac4ea
2021-04-30 18:41:41 +00:00
Yuntao Xu
5ec6ecafd8 Convert Development/Android.mk to Android.bp
Convert the Make file to a Soong one

Bug: 186677673
Test: compared the two apk files built by Make and Soong
Test: TreeHugger
Change-Id: I5f9580d82b392d3913bed2c4a888928292aea7ac
2021-04-28 16:30:20 -07:00
Bob Badour
40a7447daa [LSC] Add LOCAL_LICENSE_KINDS to development
Added SPDX-license-identifier-Apache-2.0 to:
  apps/Development/Android.mk
  apps/DumpViewer/app/src/main/Android.mk
  apps/OBJViewer/Android.bp
  samples/ApiDemos/Android.mk
  samples/ApiDemos/tests/Android.mk
  samples/HeavyWeight/Android.bp
  samples/IntentPlayground/Android.mk
  samples/MultiClientInputMethod/Android.mk
  samples/MultiDisplay/Android.mk
  samples/MySampleRss/Android.bp
  samples/RenderScript/HelloCompute/Android.mk
  samples/RenderScript/Levels/Android.mk
  samples/ShortcutDemo/launcher/Android.mk
  samples/ShortcutDemo/publisher/Android.mk
  samples/ShortcutSample/Android.mk
  testrunner/tests/Android_java.mk

Bug: 68860345
Bug: 151177513
Bug: 151953481

Test: m all

Exempt-From-Owner-Approval: janitorial work
Change-Id: I535f73ffa885f723b9dca745f199ce3a3fd409ea
2021-04-20 14:03:26 -07:00
Anton Hansson
97f205fcc1 Merge "development: Set LOCAL_SDK_VERSION where possible." am: 76ce83e999 am: 132d4f2bc2
am: 5fad00498b

Change-Id: Ib16c0ff647fe0d6da63c6f562458ea047c6756d4
2018-02-26 16:53:23 +00:00
Anton Hansson
44b2e0dfcb development: Set LOCAL_SDK_VERSION where possible.
This change sets LOCAL_SDK_VERSION for all packages where
this is possible without breaking the build, and
LOCAL_PRIVATE_PLATFORM_APIS := true otherwise.

Setting one of these two will be made required soon, and this
is a change in preparation for that. Not setting LOCAL_SDK_VERSION
makes the app implicitly depend on the bootclasspath, which is
often not required. This change effectively makes depending on
private apis opt-in rather than opt-out.

Test: make relevant packages
Bug: 73535841
Change-Id: I371bd0b43e66bcc4be1e26decb95c70519ac3342
2018-02-21 19:02:11 +00:00
Jiyong Park
8c8cb53a4f Use stubs libs for android.test.base/runner/mock
android.test.base/runner/mock libraries are shared libraries that are
built without SDK, but with framework interanl libraries (framework.jar,
etc). Apps or libs that are built with SDK (LOCAL_SDK_VERSION is set)
shouldn't use them, but instead the stubs version of the test framework
libraries, which are built using SDK.

This is because, the build system does not allow a module built with SDK
to depend on another module built without SDK. This has been
exceptionally allowed with warnings, but will soon be errors.

In order to prevent the expected build breakage, direct reference to the
shared libraries are all changed to the stubs libraries.

Note: no one has been using these shared libs statically. So, it is
guaranteed that they won't encounter a problem due to missing
<uses-library name="android.test.runner"/> even after this change.

Bug: 69899800
Test: m -j checkbuild
Change-Id: I7f25e0127c52c56adf288163a760f3dc9aee6586
2018-01-24 15:21:38 +09:00
Ian Pedowitz
3f63f35fbe Revert "Upgrade the Development app to 1.8, and use a lambda."
This reverts commit 17f05f5820.

Change-Id: Idc8259a5a2fd209c19a6f548ddf8b1a09ed33966
2016-02-18 16:45:52 +00:00
Lorenzo Colitti
17f05f5820 Upgrade the Development app to 1.8, and use a lambda.
Change-Id: Ifa3836a3c5fc36a1932ea0d841e412ef238fb4bb
2016-02-18 22:23:58 +09:00
Marco Loaiza
bde2559e58 Change LOCAL_MODULE_TAGS from "eng" to "optional" in Dev Tools app.
am: a4404b1a6f

* commit 'a4404b1a6f425fc3a8b5f074a80f1df1b2341641':
  Change LOCAL_MODULE_TAGS from "eng" to "optional" in Dev Tools app.
2015-10-26 17:10:48 +00:00
Marco Loaiza
a4404b1a6f Change LOCAL_MODULE_TAGS from "eng" to "optional" in Dev Tools app.
We don't want to include this app in clockwork emulator images,
but is safe to change since the app is being explicity added
for the phone emulator images in build/target/product/sdk_base.mk

Bug: 24696853
Change-Id: I2e4f73fcffe9eb8957d41cd886124b7db4622c76
2015-10-23 17:46:13 +01:00
Narayan Kamath
4b952f0df3 Add an explicit dependency on org.apache.http.legacy.
bug: 18027885
Change-Id: Ie3a251fd63ec25a3c5cb46c80236f43724166331
2015-02-05 15:04:30 +00:00
Wink Saville
e8617bccd0 Use telephony-common and mms-common.
Change-Id: If2e6b49eb9ceafc43de107ce761163c654f3ee35
2012-07-11 14:57:38 -07:00
Dianne Hackborn
2bde11c81e Pointer location in framework, no longer need to link common. 2010-03-01 21:42:38 -08:00
Dianne Hackborn
a437c21d51 New dev tools option for window manager pointer location. 2010-02-11 23:55:03 -08:00
Jeff Hamilton
9ceb967cde Remove reference to unused static library.
Change-Id: I46237ccd501706e13de2fad8335c09f02306e98b
2010-02-05 18:29:39 -06:00
Doug Zongker
2fe229a6d9 relocate GoogleLoginService
Change-Id: Ic634e64593c850efe0b81811a60cee4b34257bc8
2010-01-21 14:36:08 -08:00
The Android Open Source Project
692ab02175 auto import from //branches/cupcake/...@137197 2009-03-09 11:52:11 -07:00
The Android Open Source Project
52d4c30ca5 auto import from //depot/cupcake/@135843 2009-03-03 19:29:09 -08:00
The Android Open Source Project
d4aee0c0ca auto import from //depot/cupcake/@135843 2009-03-03 18:28:16 -08:00
The Android Open Source Project
5c11852110 Initial Contribution 2008-10-21 07:00:00 -07:00