Commit Graph

1376 Commits

Author SHA1 Message Date
bohu
f76143d8bb Add whitelist to build/product_sdk.mk
BUG: 134444564
Change-Id: I43b26ee3de605fca440d70b5d26d8186a7d7ad4f
2019-09-06 15:35:15 -07:00
Elliott Hughes
046f45a04e Remove macOS-specific workaround.
We now use the same stat on macOS as on Linux, so this breaks the build.

Test: treehugger
Change-Id: I1a9ef44d9cef17b5a4df068e86d1c1208fc19d11
2019-09-06 09:28:20 -07:00
Joshua Gilpatrick
8b36def7bd Remove fastdeploy agent files
These files are now embeded into the binary and pushed as needed.
Test: None
Bug: 138130943
Change-Id: Icda72bf674ceb8ab7971110723af3458881b4618
2019-07-29 10:06:00 -07:00
Paul Duffin
c581ff5e7d Merge "Switch from no_standard_libs:true to sdk_version:"none"" 2019-06-17 09:57:12 +00:00
Weilun Du
c1084c0534 [Advanced Features] Change the source location of advancedFeatures.ini
Copy advancedFeatures.ini file from
device/generic/goldfish/data/etc, which is the centralized place for
advancedFeatures.ini.

BUG: 135187406

Change-Id: Ib1d2ec2f91d66dde89bc4a884cd99dbb1a2c83cb
Signed-off-by: Weilun Du <wdu@google.com>
2019-06-13 09:57:42 -07:00
Paul Duffin
df0d7dfff1 Switch from no_standard_libs:true to sdk_version:"none"
The no_standard_libs property is deprecated in favor of
sdk_version:"none" as the latter is simpler and less error prone.

Bug: 134566750
Test: m droid
Change-Id: I410e4b98481cec1a5512cd138f735038a725287b
2019-06-13 10:22:17 +01:00
bohu
6bceabf81d emulator: support dynamic partition
BUG: 125540538

Change-Id: I68895c39c4f48f53077a4e766718c63b1d1da91a
Merged-In: I68895c39c4f48f53077a4e766718c63b1d1da91a
2019-05-02 15:40:54 -07:00
Colin Cross
76aa9e1b65 Package framework.aidl produced by Soong
Bug: 130798034
Test: forrest
Change-Id: Ie5606eeace783b09e822b7045880f57f7fb8dab1
2019-04-18 12:10:41 -07:00
bohu
5abed79791 emulator: uses 4.14 for x86[_64]
BUG: 129274443
Change-Id: Ia24a85203c39cf829ae96fda1f0ccc41b104816f
2019-04-15 15:27:44 -07:00
Dan Willemsen
9db29322e7 Remove host packages from PRODUCT_PACKAGES
I only left deployagent in PRODUCT_PACKAGES, since that was the only
device-only module. I'm assuming that we only cared about the host
versions of any host-and-device modules in this file.

Test: treehugger
Change-Id: I8b84c20570e313b20f5c8d87417b75943ea3d345
2019-03-19 11:12:42 -07:00
Jaewoong Jung
3626b04613 Recompress android.jar before packaging it.
This is to circumvent an issue where Q SDK release causes a problem to
developers who are stuck with an old Gradle version.

Fixes: 127733650
Test: m sdk & inspect android.jar size and contents
Change-Id: I52a211f57afba1b6d656bba2082e806481ef41c2
2019-03-14 07:30:54 -07:00
Dan Willemsen
07c85b0668 Add PRODUCT_HOST_PACKAGES for all host modules in PRODUCT_PACKAGES
In preparation for splitting PRODUCT_HOST_PACKAGES and PRODUCT_PACKAGES

Removes references to emmalib and jython which don't exist.

Test: treehugger
Change-Id: I830ea918dca5766a8269aa1cd38f26cdb1c18969
Merged-In: I830ea918dca5766a8269aa1cd38f26cdb1c18969
2019-03-06 15:36:52 -08:00
Xin Li
56d3f25f4f DO NOT MERGE - Merge pi-platform-release (PPRL.190205.001) into stage-aosp-master
Bug: 124234733
Change-Id: I390b8d0f71cea3b74ff9e6e6cb7b9156f6072b0b
2019-02-12 09:53:25 -08:00
Jack He
595d42ffff Fix SDK build as BluetoothHDP is removed
Bug: 111562841
Test: make
Change-Id: I1b21e8a009634d1b865cf100c4a172435566bdd1
2019-01-09 22:26:41 -08:00
Dan Willemsen
c684e5e9ef Remove commons-compress-1.0 from the sdk build list
We don't seem to actually be using or packaging this in any Android.mk
file or atree file.

Bug: 122332391
Test: codesearch, treehugger
Change-Id: Ie2c148aa45fd834683be02228f92f969ad8da8e7
2019-01-04 17:05:20 -08:00
Dan Willemsen
d87a6cc4be Merge "Clean up sdk building, use built xmllint"
am: 1d53d4e194

Change-Id: I47b57da8e4b73393387f899051c67561d7934fe1
2018-10-11 13:43:47 -07:00
Dan Willemsen
f0407b3cb8 Clean up sdk building, use built xmllint
Instead of relying on xmllint from the path, with could come from the
host, or sometimes a built version, always use the built version
explicitly.

This does some general cleanup of these make rules as well, using fewer
global variables inside make rules, and cleaning variables up at the end
of the file. I added some missing dependencies and removed some uses of
$(TOPDIR) too.

I did not clean up the uses of `zip` that make these rules
non-deterministic, but I filed b/117562080 for that, since it could use
some larger refactoring.

Test: lunch sdk_arm64-userdebug; m sdk sdk_repo dist
Change-Id: Ia0736d5fc7475603cf31f385b3ada11d9e775259
2018-10-10 21:21:20 -07:00
Sundong Ahn
1f398837c5 Merge "Add the dist path of android stubs files"
am: 4d9ea2c551

Change-Id: Ia24e315205826ff643401003a5d20b335004d66c
2018-09-19 17:51:21 -07:00
Treehugger Robot
4d9ea2c551 Merge "Add the dist path of android stubs files" 2018-09-20 00:37:22 +00:00
Sundong Ahn
f4b9f6edc2 Add the dist path of android stubs files
The dist path of the android stubs files are added for consistency of
dist path.

Test: make -j50 PRODUCT-sdk_phone_armv7-sdk dist
Change-Id: I7d1d981f1e99cf12b45af5aa757d350d9a8de3eb
2018-09-19 12:30:29 +09:00
Nan Zhang
38f1f3b9f5 Bundle Metalava based api-versions.xml to SDK
Since Metalava has the ability to generate api-versions.xml, so just
remove the old ones, and ship the new file to SDK.

Test: m -j
out/target/common/obj/PACKAGING/api-stubs-docs_generated-api-versions.xml
Bug: b/78245848

Change-Id: I007fd17b6e0f069f0d9dd9eac192f5e915be5f7a
Merged-In: I007fd17b6e0f069f0d9dd9eac192f5e915be5f7a
2018-09-19 01:57:17 +00:00
Nan Zhang
2fcbc4e364 Bundle Metalava based api-versions.xml to SDK
Since Metalava has the ability to generate api-versions.xml, so just
remove the old ones, and ship the new file to SDK.

Test: m -j
out/target/common/obj/PACKAGING/api-stubs-docs_generated-api-versions.xml
Bug: b/78245848

Change-Id: I007fd17b6e0f069f0d9dd9eac192f5e915be5f7a
2018-09-18 12:44:36 -07:00
Miao Wang
b0a428fd03 Update SDK atree to include librsjni_androidx
Bug: 111948805
Bug: 113119760

Test: mm
Change-Id: Ic8f16145102eb23b958d53ce845cc0a85a775365
(cherry picked from commit 43cb00cedf)
2018-09-14 23:54:24 +00:00
Idries Hamadi
d8b7f7c118 Merge "Added sdk copy parameters for fastdeploy files"
am: c4f747b082

Change-Id: Id8aeedc3b3420367e7383f708656e6be0523644e
2018-09-06 08:40:09 -07:00
Idries Hamadi
d51c3233c3 Added sdk copy parameters for fastdeploy files
Test: make sdk -j44
Change-Id: Iff381b95c2a111f8463421b01a0da20ffc7843e3
2018-09-06 08:20:47 +01:00
Dan Willemsen
d636aa5ee5 Merge "Clean up windows sdk build"
am: f00581b07c

Change-Id: I1b444af1e84f03fac0ca4f60a5bb5f7b9144b81a
2018-08-28 17:17:29 -07:00
Treehugger Robot
f00581b07c Merge "Clean up windows sdk build" 2018-08-28 23:56:13 +00:00
Dan Willemsen
427f3a2237 Merge "Ship a 64-bit libc++.dylib in platform-tools"
am: f61f8588d5

Change-Id: Iad591557e160e5ee2d2b15becd0699c77f729e0a
2018-08-28 16:54:56 -07:00
Dan Willemsen
f9acc01476 Ship a 64-bit libc++.dylib in platform-tools
The existing tools in platform-tools that link against libc++.dylib
ended up loading the system version, not this one, due to the 32/64-bit
mis-match.

Test: m sdk
Change-Id: Ibc985fe7a30e05052e728ad3ce4fd9e866476827
2018-08-28 13:17:50 -07:00
Dan Willemsen
844cfa4538 Clean up windows sdk build
* Pass ATREE_STRIP to use hermetic strip tool
* Stop using sdk/build/..., which has been empty
* Use soong_zip for faster, more reproducible zip files
* Add more dependencies
* Remove some echos to clean up output

Test: m win_sdk
Change-Id: I9bfbf6565dbeb4cc48ddd037596b8408ea3c3157
2018-08-28 00:13:28 -07:00
Nicole Borrelli
a3bb3b5f27 Merge "Remove deprecated media sample."
am: 8f7bfcff2b

Change-Id: I8efd773a12d2b948613b2e624d7be92c3a80f607
2018-08-21 10:30:32 -07:00
Nicole Borrelli
ce3abea5df Remove deprecated media sample.
For a cononical sample of a media player, see the Universal Music Player:
https://github.com/googlesamples/android-UniversalMusicPlayer

Bug: 33676939
Test: Verified projects compile when code removed.

Change-Id: I56e09ccf85647296c29da9a06b03b0fae98d50e6
2018-08-20 10:26:07 -07:00
Nan Zhang
60ca2642f7 Merge "Remove Metalava related targets in development."
am: 1594b2db03

Change-Id: I089002ebf676f03b68b3cca82e7151f3e9b43a09
2018-08-17 11:53:59 -07:00
Nan Zhang
18babf6827 Remove Metalava related targets in development.
Since api-stubs-docs have been deleted and replaced by Metalava.

Test: m -j checkbuild
Bug: b/70351683 b/78245848
Change-Id: I6dc8b8f903f77699b90cd5e28c55f74c14a20b54
Merged-In: I6dc8b8f903f77699b90cd5e28c55f74c14a20b54
2018-08-07 16:07:33 -07:00
Nan Zhang
a5c2c0a2a7 Merge "Copy files related to sdk dev tool(activity_actions.txt, and etc.) from offline-sdk" into stage-aosp-master
am: d4447a131e

Change-Id: Ie35bb4aeb0b71b8fc3bd86a9708d1afa6c80d0b1
2018-07-31 15:27:24 -07:00
Nan Zhang
e5f330b940 Copy files related to sdk dev tool(activity_actions.txt, and etc.) from
offline-sdk

Originally these files were dumped to out/target/common/docs. However,
three modules(offline-sdk, offline-sdk-referenceonly, and
offline-system-sdk-referenceonly) generate these files with the same
name which might cause the problem that these files got overwritten back
and forth.

Test: m -j out/target/common/docs/offline-sdk-timestamp
Bug: b/70351683
Change-Id: Ia433796a0152bc9efacf656d06efc2a328a756a1
Merged-In: Ia433796a0152bc9efacf656d06efc2a328a756a1
2018-07-31 12:24:58 -07:00
Nan Zhang
bb08277dd1 Merge "Revert "Copy files related to sdk dev tool(activity_actions.txt, and etc.) from"" am: 57112d3318
am: a6b087b37b

Change-Id: I39c2c49e0302a7970a5fa26b7032af12acf35eb8
2018-07-30 14:27:49 -07:00
Nan Zhang
a6b087b37b Merge "Revert "Copy files related to sdk dev tool(activity_actions.txt, and etc.) from""
am: 57112d3318

Change-Id: I702f87920ab463a9b1dbcc7575de8af8e9e3c45f
2018-07-30 14:23:44 -07:00
Nan Zhang
18e28bdbee Revert "Copy files related to sdk dev tool(activity_actions.txt, and etc.) from"
This reverts commit a3aeb54513.

Reason for revert: <This CL broke the target: aosp-master/sdk>

Change-Id: I991b696afdbaf6fb2998758b91076768e476b1ed
2018-07-30 21:07:17 +00:00
Nan Zhang
e820794186 Merge "Copy files related to sdk dev tool(activity_actions.txt, and etc.) from offline-sdk" am: a574d1c922
am: 2c300ea015

Change-Id: I61b2ab356cf8ad51d275b91fb421cd8d8159a8c4
2018-07-30 13:54:55 -07:00
Nan Zhang
2c300ea015 Merge "Copy files related to sdk dev tool(activity_actions.txt, and etc.) from offline-sdk"
am: a574d1c922

Change-Id: I2370f0bc1f6e8a837b1a6b72be9703d3b31cab48
2018-07-30 13:41:44 -07:00
Nan Zhang
a3aeb54513 Copy files related to sdk dev tool(activity_actions.txt, and etc.) from
offline-sdk

Originally these files were dumped to out/target/common/docs. However,
three modules(offline-sdk, offline-sdk-referenceonly, and
offline-system-sdk-referenceonly) generate these files with the same
name which might cause the problem that these files got overwritten back
and forth.

Test: m -j out/target/common/docs/offline-sdk-timestamp
Bug: b/70351683
Change-Id: I9badab5243f0d2a14bd55e561661483365b677c2
Merged-In: I9badab5243f0d2a14bd55e561661483365b677c2
2018-07-26 16:08:35 -07:00
Mads Ager
1c875445b6 Update version of D8 in buildtools to latest stable version (1.0.35)
The version used to build the platform at a given point in time
might not be the best to use for external developers. Sometimes
bugs in old VMs have to be worked around in D8. Those bugs do
not affect the platform build, but could affect other users.
Therefore, we use separate versions for building the platform
and for shipping in buildtools.

Additionally, make sure that the licenses for libraries shipped
with D8 are reflected in the buildtools NOTICE file.

Test: make -j PRODUCT-sdk_phone_armv7-win_sdk sdk_repo
Test: make -j PRODUCT-sdk_arm64-sdk sdk_repo
Bug: 111748733

(cherry picked from commit 0dec39ec21)

Change-Id: I0ca07e45647ea95816f5e96e991673ee24ed9983
Merged-In: I0ca07e45647ea95816f5e96e991673ee24ed9983
2018-07-25 10:43:33 +02:00
Mads Ager
307267f363 Merge "Update version of D8 in buildtools to latest stable version (1.0.35)" am: bb0e2b1a6f
am: 37be299ada

Change-Id: Ib3a048ad1606c0b05a242bd9322220bd988e7fad
2018-07-25 00:25:38 -07:00
Mads Ager
37be299ada Merge "Update version of D8 in buildtools to latest stable version (1.0.35)"
am: bb0e2b1a6f

Change-Id: I4bbbb66f833ed1536c78bbd6364341c756ff6d0a
2018-07-25 00:21:55 -07:00
Mads Ager
bb0e2b1a6f Merge "Update version of D8 in buildtools to latest stable version (1.0.35)" 2018-07-25 07:11:54 +00:00
Nan Zhang
48243d9414 Merge "Wrap private-stub-annotations in android.jar" am: d5814e0760
am: c35a0c7ae3

Change-Id: I8765ff3c856df9107ee22e244c56881a25232db3
2018-07-24 17:16:11 -07:00
Nan Zhang
82347efc97 Merge "Use android.jar from Metalava." am: e973f6de0f
am: 7ef23e5e55

Change-Id: I4860b044393936972fb922d02d7fdb1c61925ff7
2018-07-24 17:15:50 -07:00
Nan Zhang
c35a0c7ae3 Merge "Wrap private-stub-annotations in android.jar"
am: d5814e0760

Change-Id: I81934dfe8a6fac2958f5efe1663bf35c1c35d006
2018-07-24 17:06:52 -07:00
Nan Zhang
7ef23e5e55 Merge "Use android.jar from Metalava."
am: e973f6de0f

Change-Id: I6ad90d2a1d87f99932760f41dc61dd5d4ba56be4
2018-07-24 17:06:36 -07:00