Commit Graph

11500 Commits

Author SHA1 Message Date
Patrice Arruda
6ea42118f2 Soong: Add synopsis to ndk_* modules.
Added synopsis to the following modules under cc package:
    * ndk_headers
    * ndk_library
    * versioned_ndk_headers
    * preprocessed_ndk_headers

Bug: b/128337482
Test: Generated the documentation and verified that the synopsis was
added to each of the module.

Change-Id: I2146919528cf039ed9327b3358de5b1bdb28275a
2019-04-09 18:50:44 -07:00
Dan Willemsen
787b999bc0 Merge changes I2bff8fb8,Ifa584479
am: cb4e0551a2

Change-Id: I89a8453e5bea574df354e2981e491cf0ce883e27
2019-04-09 17:44:10 -07:00
Dan Willemsen
b882bb45ce Add BUILD_BROKEN_USES_NETWORK
am: 25e6f09c06

Change-Id: I23f44ca69e1436ef7d5231eb7a0b6bebf0dbdc1b
2019-04-09 17:40:32 -07:00
Treehugger Robot
cb4e0551a2 Merge changes I2bff8fb8,Ifa584479
* changes:
  Add extra used dependencies
  Update default soong config
2019-04-10 00:08:44 +00:00
Dan Willemsen
25e6f09c06 Add BUILD_BROKEN_USES_NETWORK
Some people apparently still talk to the network during their build.
Allow this temporarily with a BUILD_BROKEN_USES_NETWORK check.

Bug: 129992021
Test: attempt to talk to the network during the build with and without
      this flag.
Change-Id: Ifb967c656aa24c4599e7232d0f1b5a303b5bac52
2019-04-09 10:23:49 -07:00
Dan Willemsen
aad19605c5 Add extra used dependencies
Found while executing the build actions remotely.

Bug: 130111713
Test: treehugger
Test: run actions remotely with given dependencies, they pass.
Change-Id: I2bff8fb8ccf50fde446d6bcef0f1dca9b2974b4b
2019-04-09 09:50:25 -07:00
Dan Willemsen
b6d171bb73 Update default soong config
BuildNumberFromFile is required to be non-empty for version injection to
work.

The various platform version values are needed for various Java builds.

Test: treehugger
Change-Id: Ifa5844794ea9e9baf0ec725dec107975cd759354
2019-04-09 09:44:31 -07:00
Elliott Hughes
4ddeb32e57 Merge "Add toybox seq."
am: ad459bb8db

Change-Id: I04c25d4fffc17bb3f39f2774308cee8bf165d2f0
2019-04-09 07:31:41 -07:00
Elliott Hughes
ad459bb8db Merge "Add toybox seq." 2019-04-09 14:26:01 +00:00
Colin Cross
ffb980a45e Merge "Fix python proto srczip argument order"
am: 7dd6ceb3b9

Change-Id: Ifa0377dc2b1ebc8d91ef28c06fe4d8d26f76547a
2019-04-09 06:56:35 -07:00
Colin Cross
7dd6ceb3b9 Merge "Fix python proto srczip argument order" 2019-04-09 13:44:15 +00:00
Nicolas Geoffray
9ca94c7872 Merge "Use the full dexpreopt boot classpath when preopting with other images."
am: ce93e3c672

Change-Id: I74e0e616c550fe3d3cbbfd40cd7679644b814352
2019-04-08 23:59:38 -07:00
Nicolas Geoffray
ce93e3c672 Merge "Use the full dexpreopt boot classpath when preopting with other images." 2019-04-09 06:04:43 +00:00
Colin Cross
09364fd955 Fix python proto srczip argument order
-P has to come before -D to have an effect on the files read from the
directory.

Fixes: 130160833
Test: atest acloud_test
Change-Id: I62a998f1ad1e3b45f590babbf39330955d368373
2019-04-08 20:04:23 +00:00
Vladimir Marko
f81df9115f Check package restrictions for Java libs.
am: 0975ee0de3

Change-Id: Id7d86270420ef868419e831125a2f59c2e47ee05
2019-04-08 11:42:23 -07:00
Nicolas Geoffray
06758a7e13 Use the full dexpreopt boot classpath when preopting with other images.
Bug: 119800099
Test: m
Change-Id: Ia9b34aa92ebb1b4de96ea0f8f290d798be19b2cf
2019-04-08 17:20:27 +01:00
Elliott Hughes
c2dbadc363 Add toybox seq.
Bug: https://issuetracker.google.com/129992021
Test: builds
Change-Id: I63d5b3fd1c71b771e995638094ee4310435105ee
2019-04-08 09:19:45 -07:00
Vladimir Marko
0975ee0de3 Check package restrictions for Java libs.
Test: m checkbuild; inspect verbose log.
Test: Manual - compile with unmet restrictions.
Bug: 122937705
Change-Id: I9360ae8b6d9ce016b7827be5e8ffc6eb521809b7
2019-04-08 14:02:14 +01:00
Colin Cross
5e5b2c7f1c Add robolectric-shadows to setup_go_workspace_for_soong.sh
Bug: 122331577
Test: setup_go_workspace_for_soong.sh
Change-Id: I173174927f9d107c4a196968b568ace6473394c7
2019-04-08 05:46:07 +00:00
Nikita Ioffe
59b1a73d18 Merge "Make prebuilt_apex be usable via :modulename syntax"
am: 04b99cbf6d

Change-Id: Ibbc3c7529e940d80a95830c34ea314c376e0a5ab
2019-04-07 22:32:02 -07:00
Nikita Ioffe
04b99cbf6d Merge "Make prebuilt_apex be usable via :modulename syntax" 2019-04-08 05:22:05 +00:00
Colin Cross
4618ddc9d1 Fix missing genrule srcs and tools with ALLOW_MISSING_DEPENDENCIES=true
am: ba71a3fb11

Change-Id: I7e5c02b94fd987061d89756dc51d412f905b0bd6
2019-04-07 15:35:38 -07:00
Colin Cross
ba71a3fb11 Fix missing genrule srcs and tools with ALLOW_MISSING_DEPENDENCIES=true
Set the location label for missing srcs and tools to avoid
nonsensical errors when parsing the command.

Test: genrule_test.go
Test: paths_test.go
Test: unbundled branch with missing framework-res module needed by robolectric genrule
Change-Id: I9c1f1cd82a80f048c0e903b8e93910b1ae34b0b1
2019-04-07 19:40:02 +00:00
Nikita Ioffe
89ecd590ea Make prebuilt_apex be usable via :modulename syntax
Test: m
Bug: 127789981
Bug: 128677967
Change-Id: Ie1a1147c1d5570cd7eda48e274faabf95566d53f
2019-04-06 16:57:57 +01:00
Nikita Ioffe
8501172354 Add filename property to prebuilt_apex
am: 7a41ebdf5f

Change-Id: Ie3397cb98902c215d2967ea49c6f763835ad4184
2019-04-06 08:36:16 -07:00
Nikita Ioffe
7a41ebdf5f Add filename property to prebuilt_apex
* Makes it more inline with prebuilt_etc;
* For shim apexes, prebuilt_apex modules have pattern of
  com.android.apex.cts.shim.v1_prebuilt, but I would prefer
  pre-installed shim to be: /system/apex/com.android.apex.cts.shim.apex

Bug: 128677967
Bug: 127789981
Test: m
Change-Id: I34e3e078733420b5cf777fd6e3ce4d8c5796b19b
2019-04-06 11:39:22 +01:00
Nikita Ioffe
7b627a9204 Merge "Add installable property for prebuilt_apex"
am: eb18c874f7

Change-Id: Ic828bc9a920c81475235c6579e04fc08ba14805f
2019-04-05 22:01:10 -07:00
Treehugger Robot
eb18c874f7 Merge "Add installable property for prebuilt_apex" 2019-04-06 04:51:18 +00:00
Sasha Smundak
1d29f8e149 Merge "Handle LOCAL_JAVA_RESOURCE_FILES variable"
am: a0dd60879b

Change-Id: I90bbdb9fea8967ae9ae3a77624ccf9501bf70ce7
2019-04-05 20:24:54 -07:00
Treehugger Robot
a0dd60879b Merge "Handle LOCAL_JAVA_RESOURCE_FILES variable" 2019-04-06 03:02:04 +00:00
George Burgess IV
ea2835bb72 Merge "Remove our clang-tidy wrapper"
am: 45a5a287af

Change-Id: Ie120d7f322039f6b382769fb68fd1785b3902096
2019-04-05 17:17:25 -07:00
Treehugger Robot
45a5a287af Merge "Remove our clang-tidy wrapper" 2019-04-05 21:58:36 +00:00
Nikita Ioffe
dd53e8be18 Add installable property for prebuilt_apex
In case of shim apexes, we prebuilt all of them, but only need to
install v1 to a system partition.

Bug: 128677967
Test: manually checked that non-installable prebuilts don't end in /system
Change-Id: I112432abfd8f03cc7d7379ea3cab3f5491ace49c
2019-04-05 22:07:10 +01:00
Sasha Smundak
9223a6262a Handle LOCAL_JAVA_RESOURCE_FILES variable
Fixes: 130040716
Test: treehugger, internal unit test
Change-Id: I3fcc5e041d6e4eaa5d2d4ab75f9a645e724fab1b
2019-04-05 13:53:39 -07:00
Nicolas Geoffray
b32c872116 Merge "Use the apex image when the device config asks for it."
am: 56405f8071

Change-Id: I2437500e947c47689eeebc7253b64b41939782eb
2019-04-05 02:56:43 -07:00
Nicolas Geoffray
56405f8071 Merge "Use the apex image when the device config asks for it." 2019-04-05 09:34:34 +00:00
Sasha Smundak
0e47e406de Merge "Implement host_required and target_required properties."
am: b9045cf28c

Change-Id: I1c53b3bd727e2eca85e0272e96572e56a1ac8d66
2019-04-04 22:12:06 -07:00
Treehugger Robot
b9045cf28c Merge "Implement host_required and target_required properties." 2019-04-05 04:52:38 +00:00
George Burgess IV
c4624c0189 Remove our clang-tidy wrapper
Looks like the reason for it existing has been fixed. It should probably
just be removed.

Bug: None
Test: WITH_TIDY=1 m

Change-Id: I770b2fec4ac44f265ff31731c9c0bd4da14d5b0f
2019-04-04 17:58:00 -07:00
Patrice Arruda
efd2678e8c Merge "Soong: Add synopsis to vndk_prebuilt_shared module under cc package."
am: fc453c79f2

Change-Id: Ieffcdfeb0fe47af75b0344e0bb2428545ec120fe
2019-04-04 12:01:10 -07:00
Treehugger Robot
fc453c79f2 Merge "Soong: Add synopsis to vndk_prebuilt_shared module under cc package." 2019-04-04 18:51:11 +00:00
Sasha Smundak
b6d230515e Implement host_required and target_required properties.
They are counterparts of LOCAL_HOST_REQUIRED_MODULES and
LOCAL_TARGET_REQUIRED_MODULES respectively.

Fixes: 128693436
Test: treehugger, convert cts/hostsidetests/devicepolicy/Android.bp
Change-Id: Id66ffca6edffe18993ac51e8930f1d0e78178249
2019-04-04 11:24:01 -07:00
Nicolas Geoffray
25c0e03520 Use the apex image when the device config asks for it.
Test: lunch walleye_jitzygote-userdebug m && all odex file use the apex image
Bug: 119800099
Change-Id: Id2fff6a4569d48b8e6a886cb82bdba205b0dd56a
2019-04-04 18:50:56 +01:00
Vic Yang
fba522bd64 Merge "Blacklist more libraries from no-vendor-variant VNDK"
am: f3f1467051

Change-Id: Iba0a4248bfc4e72e470849e3878ca26d9d0906b0
2019-04-04 01:50:54 -07:00
Treehugger Robot
f3f1467051 Merge "Blacklist more libraries from no-vendor-variant VNDK" 2019-04-04 08:33:02 +00:00
Colin Cross
34998d71cd Export more config variables
am: 092c9da922

Change-Id: I76076e031301dc4980a380edecc65fa600c907e3
2019-04-03 21:21:20 -07:00
Colin Cross
a1c57b4664 Fix package path of android/soong/android pctx
am: cc0ce80ed5

Change-Id: Ia266af299fe1a0c8b2f9467c845ceb61cb8236bc
2019-04-03 21:21:10 -07:00
Colin Cross
092c9da922 Export more config variables
Export some more config variables that will be used to generate
robolectric's build.prop file.

Bug: 122331577
Test: m checkbuild
Change-Id: I39f3436ed5d5c4e730dd3e1f86c840cf6358ec87
2019-04-04 03:59:41 +00:00
Colin Cross
cc0ce80ed5 Fix package path of android/soong/android pctx
android/soong/common was renamed to android/soong/android long
ago, but the pctx package path was still "android/soong/common".
This required all users of rules defined in android/soong/android
to import "android/soong/android" and then
pctx.Import("android/soong/common").

Test: m checkbuild
Change-Id: I20d096522760538f7cfc2bec3d4bfeba99b275d4
2019-04-04 03:59:34 +00:00
Christopher Ferris
2000f21705 Make libc_scudo always go first.
am: 134f8f6f00

Change-Id: Ib7b568406b3822ece9cf0825957d7a8b8ff6aa01
2019-04-03 16:09:15 -07:00