Commit graph

75940 commits

Author SHA1 Message Date
Jeongik Cha
9c376b4ec8 Adding -j1 for aidl-freeze-api
bpmodify isn't safe for multi processes env because it doesn't use any
lock mechanism even with -w option(in-place change)

So, added -j1 option as a temp solution.

Bug: 190577319
Bug: 229413853
Test: run aidl-freeze-api with -j1
Change-Id: I7fabfa1224ea0bb8d71538f4c8012255df28a3e8
2022-05-03 01:51:06 +00:00
Treehugger Robot
e30f7e8be1 Merge "Add deprecation warning for base-rules-hook" 2022-04-29 23:24:48 +00:00
Steven Moreland
2b9eda69aa Merge "finalization: AIDL_FROZEN_REL" 2022-04-29 18:39:18 +00:00
Cole Faust
997cfaaceb Merge "Add implementations for firstword/lastword" 2022-04-29 18:32:40 +00:00
Treehugger Robot
f4e2f4150b Merge "Update OWNERS." 2022-04-29 17:05:22 +00:00
Sebastian Ene
399c35d490 Merge "Drop the PLATFORM_VERSION_CODENAME conditional" 2022-04-29 13:02:22 +00:00
Ulya Trafimovich
c6ebb82b9f Update OWNERS.
Some people left, some new files were added.

Bug: 214255490
Test: none
Change-Id: I39a4b313ad69e2a2076a0dc87e131add5dc85b20
2022-04-29 13:51:31 +01:00
Sebastian Ene
573fbcd114 Drop the PLATFORM_VERSION_CODENAME conditional
Evaluate the list of all active codenames when version_util.mk is
invoked.

Bug: 230720688
Change-Id: I1c6a3e94230e856cf41f1f79b37893576957dc3d
Signed-off-by: Sebastian Ene <sebastianene@google.com>
2022-04-29 09:09:03 +00:00
Treehugger Robot
0941f062af Merge "Fix incorrect function call in product-graph" 2022-04-29 07:54:05 +00:00
Treehugger Robot
f8935efee8 Merge "Allow non-compat suite to locate testcases dir properly" 2022-04-29 01:23:44 +00:00
Cole Faust
f773f3a024 Add deprecation warning for base-rules-hook
This lets product/board config define a function that
is called while processing modules defined in an
Android.mk file.

When the product/board configs are converted
to starlark, they won't be able to supply a base-rules-hook
anymore. Emit a warning saying that it's deprecated.

Bug: 226974242
Test: Manually
Change-Id: Ie6baa4952516a3ec5c6c440f9106f7b5185803b7
2022-04-28 16:20:32 -07:00
Cole Faust
c93109dc36 Add implementations for firstword/lastword
Bug: 226974242
Test: ./out/rbcrun ./build/make/tests/run.rbc
Change-Id: Ibb992f42a59212bae48acd55647b2d0872c2f69e
2022-04-28 15:56:33 -07:00
Treehugger Robot
7320410c37 Merge "Prototype of build orchestrator" 2022-04-28 22:20:47 +00:00
Treehugger Robot
55d522096a Merge "Prototype changes for multitree" 2022-04-28 22:20:47 +00:00
Dan Shi
3e85ca9d4b Allow non-compat suite to locate testcases dir properly
cc_test that can run on hostside are default to be part of
host-unit-tests suite. The suite is set up similar to device-tests and
general-tests, and it's not a compatibility suite. So following variable
will always be empty:
$(COMPATIBILITY_TESTCASES_OUT_host-unit-tests.
It should use HOST_OUT_TESTCASES as testcases dir.

The same logic should be applied to art-host-tests.

Bug: None
Test: build
Change-Id: Ieddacd5157da73c6df473c103be109d9c3a55281
2022-04-28 13:36:36 -07:00
Cole Faust
76413f4c58 Merge "Sort rblf_wildcard results and remove file existence functions" 2022-04-28 19:54:32 +00:00
Treehugger Robot
b27140daa0 Merge "Replace DEX_FLAGS by flags for D8 and R8." 2022-04-28 12:40:13 +00:00
Ulya Trofimovich
4faef3876d Merge "Remove DEXPREOPT_USE_ART_IMAGE; it is no longer needed." 2022-04-28 09:44:21 +00:00
Inseob Kim
05fa7f1455 Prototype changes for multitree
This change contains a prototype implementation for multitree.
A new file core/tasks/multitree.mk adds a goal named "update-meta",
which searches for "imported" and "exported" Android.bp modules and
writes a json metadata to track dependencies between components.

Bug: 230448564
Test: m
Change-Id: Ie93e3bf130cacb6b6de41acee3bd302f64f1ab95
2022-04-28 08:03:55 +00:00
Steven Moreland
5fe7105f45 finalization: AIDL_FROZEN_REL
Simulate branch release state, to verify AIDL interfaces were
converted properly.

Bug: 190577319
Bug: 229413853
Test: run finalization script

Change-Id: I3061ef24ee6dc420ec0ecc85b503f9728170c9c0
2022-04-28 00:05:44 +00:00
Cole Faust
542399a8e8 Merge "Make mkstrip always return a string" 2022-04-27 21:37:25 +00:00
Cole Faust
23b94e63ba Fix incorrect function call in product-graph
This was accidentally broken in aosp/2064287

Fixes: 230599451
Test: m product-graph
Change-Id: Ibc9aabc5ddf7ad4d347e89019be44ef0c8ae0ff7
2022-04-27 11:55:08 -07:00
Cole Faust
63e1012b05 Merge "Send trace logs to stderr instead of stdout" 2022-04-27 16:50:10 +00:00
Treehugger Robot
7b90489e27 Merge "Add android.hardware.usb-V1 to vndk" 2022-04-27 16:21:29 +00:00
Treehugger Robot
b9b9c000d5 Merge "Add PLATFORM_VERSION_LAST_STABLE to soong config" 2022-04-27 13:00:36 +00:00
Ulya Trafimovich
30142ffc0a Remove DEXPREOPT_USE_ART_IMAGE; it is no longer needed.
Bug: 170935728
Test: lunch aosp_cf_x86_64_phone-userdebug && m && lunch_cvd
Change-Id: Icc50932228b6ce27799ac9ce9b2f637029436b6b
2022-04-27 13:32:04 +01:00
Anton Hansson
721a377982 Merge "Remove notice file for sdk system image" 2022-04-27 10:56:04 +00:00
Justin Yun
0daf186a89 Prototype of build orchestrator
The code assumes a different source structure. It requires updating
the path configurations.

Bug: 230448564
Test: N/A
Change-Id: I38bf181eecdd291712212ba8ee6d61b85c3fbb07
2022-04-27 16:33:21 +09:00
Cole Faust
5e43109586 Make mkstrip always return a string
This is what mk2rbc assumes, and previously that
assumption was incorrect when passing a list to
mkstrip.

Bug: 226974242
Test: Presubmits
Change-Id: I7b1596662df7c966404aab2a99d7c2e53d917bd6
2022-04-26 15:30:20 -07:00
Cole Faust
c7b8b6ed88 Sort rblf_wildcard results and remove file existence functions
Kati's $(wildcard) results are guaranteed to be sorted,
but go's filepath.Glob() is not.

Remove the file existence functions because they can
just be replaced with wildcards.

Bug: 226974242
Test: go test
Change-Id: I02fb6292b932bc28cd856ec3c7cb9ed9e96ca630
2022-04-26 12:15:41 -07:00
Cole Faust
c6024abe99 Send trace logs to stderr instead of stdout
Stdout gets redirected to a makefile that is
ingested by the rest of the build system.
The trace outputs were being mixed up with
the rest of the output, making them hard to
read. In addition, some of the trace output
wasn't commented out, so it was defining
make rules.

Fixes: 230495885
Test: Manually
Change-Id: I02f9038cd89598fc1c1561bf4bf2997ac090d9e9
2022-04-26 11:12:46 -07:00
Colin Cross
62bf0d5c88 Merge "Update PLATFORM_VERSION to UP1A" 2022-04-26 01:15:38 +00:00
Steven Moreland
6387caedc0 Merge "finalize_branch_for_release.sh: works w/ VNDK" 2022-04-25 17:50:16 +00:00
Martin Stjernholm
0f96329283 Merge "Add a product for building linux_bionic in --soong-only mode." 2022-04-25 16:54:49 +00:00
Anton Hansson
c3536674a9 Remove notice file for sdk system image
The system image itself is being removed from the sdk zip,
so remove the NOTICE file for it at the same time.

Bug: 205008975
Test: m sdk sdk_repo dist
Change-Id: Ib75b3e5919cd203e58e03efc1cb0a378283b0c34
2022-04-25 16:29:15 +01:00
Treehugger Robot
f3f9672549 Merge "[Bugfix] Check for presence before moving" 2022-04-25 11:13:48 +00:00
Inseob Kim
a59b4dcd33 Add PLATFORM_VERSION_LAST_STABLE to soong config
Bug: 189164487
Test: build
Change-Id: Iec36d22af80225f6da848bae1e02d263ff957df8
2022-04-25 18:20:36 +09:00
Ian Zerny
8deeb2b64e Replace DEX_FLAGS by flags for D8 and R8.
Bug: b/227746536
Test: manual
Change-Id: Ic3cb8feb7a09d690ecd309162236e49a8d1e52c6
2022-04-25 11:02:41 +02:00
Badhri Jagan Sridharan
639593a3e4 Add android.hardware.usb-V1 to vndk
Bug: 200993386

Change-Id: Ibb328d9080c7879d9fc097039fcc9af18640937f
Merged-In: Ibb328d9080c7879d9fc097039fcc9af18640937f
(cherry picked from commit d67c8e4569)
2022-04-25 05:25:06 +00:00
Treehugger Robot
3ed2ad1bee Merge "sdk finalization script OWNERS smoreland@" 2022-04-23 07:06:45 +00:00
Steven Moreland
392499bd75 finalize_branch_for_release.sh: works w/ VNDK
When the freeze adds new libraries to the VNDK, we also need to
update the VNDK script.

Bug: 190577319
Test: run script on internal branch
Change-Id: I6f0ab177df5027ced0c4e198bb8a908da088eb85
2022-04-23 01:53:35 +00:00
Jooyung Han
94e79ece44 Merge "build_image: Support common args" 2022-04-23 01:34:30 +00:00
Steven Moreland
e95beadd9a sdk finalization script OWNERS smoreland@
Bug: 190577319
Test: N/A
Change-Id: I05e9f88deb6640f944145f00932405dea8e6b195
2022-04-22 22:08:34 +00:00
Treehugger Robot
5f6235e580 Merge "Expand KNOWN_CODENAMES to cover all entries in Build.VERSION_CODES." 2022-04-22 19:52:05 +00:00
Colin Cross
37674b40b4 Update PLATFORM_VERSION to UP1A
Update PLATFORM_VERSION to UP1A.  The codename is now UpsideDownCake.

Bug: 219519679
Test: m checkbuild
Change-Id: I61db64b279e4e64c9be33095bf98b3bbdb0e19d8
Merged-In: I61db64b279e4e64c9be33095bf98b3bbdb0e19d8
(cherry picked from commit 29919e3b66)
2022-04-22 09:16:00 -07:00
satayev
e0a44065b1 Expand KNOWN_CODENAMES to cover all entries in Build.VERSION_CODES.
Bug: 220153433
Test: atest BuildTest
Change-Id: I24d73a846d14a032c1e03679cef10cfeac814bb9
Merged-In: I24d73a846d14a032c1e03679cef10cfeac814bb9
(cherry picked from commit da1e41d1f3)
2022-04-22 09:14:48 -07:00
Treehugger Robot
185a226bd5 Merge "finalize_branch_for_release.sh rel to root" 2022-04-22 03:07:24 +00:00
Treehugger Robot
8ecc6369f0 Merge "Use the new R8/D8_FLAGS vars" 2022-04-22 02:42:06 +00:00
Treehugger Robot
5b945cb354 Merge "Add owners for version_defaults.mk" 2022-04-21 23:58:04 +00:00
Steven Moreland
12071ac571 finalize_branch_for_release.sh rel to root
Bug: 228979367
Test: run script from root
Change-Id: I0a5cfd4873ccf49fd53be745d61005e821bfa80d
2022-04-21 22:43:54 +00:00