Commit Graph

6 Commits

Author SHA1 Message Date
satayev
faaf927797 Add Sepolicy module to presubmit.
Bug: 199914227
Test: presubmit
Change-Id: I7f75c8b76a1f99af03d83fe7ccfd9032f7fe2249
2022-02-07 18:11:46 +00:00
satayev
236d765ba3 Disable ipsec and tethering module builds on postsubmit.
We are enabling continous postsubmit builds for AOSP modules. These
modules are not building at ToT at the moment; exclude them so we can
get a green postsubmit build for other modules.

Bug: 210694291
Test: run packages/modules/common/build/mainline_modules_x86_64.sh locally
Change-Id: Iea756639962e5c87a4ae5539890a9ab8909286c3
2021-12-15 16:03:43 +00:00
Martin Stjernholm
2aed427c97 Remove UNBUNDLED_BUILD_SDKS_FROM_SOURCE=true setting (reland).
It needs to be controlled by build instead:

- Prebuilt SDKs should be used for unbundled Mainline module builds, and
  is necessary on thin module branches to avoid dependencies on
  frameworks/base (e.g. framework-doc-stubs used by lint-check).

- Source SDKs are needed on master which can otherwise get problems
  with out of date prebuilts (see e.g. b/140162931).

This relands https://r.android.com/1862861 after (temporarily)
overriding the flag to true in Mainline builds (cl/405889455), until
b/204189791 is fixed.

Test: env TARGET_BUILD_APPS=com.android.art \
        packages/modules/common/build/build_unbundled_mainline_module.sh \
        --product module_arm --dist_dir out/dist
  using the thin master-art manifest
Bug: 202192894
Change-Id: I974be07cfcc5a02611b465cc402178985d8decd8
2021-10-27 20:48:03 +01:00
Makoto Onuki
84b8ab1756 Revert "Remove UNBUNDLED_BUILD_SDKS_FROM_SOURCE=true setting."
This reverts commit 4927b9431a.

Reason for revert: DroidMonitor: Potential culprit for Bug 203782007 - verifying through Forrest before revert submission. This is part of the standard investigation process, and does not mean your CL will be reverted.

Change-Id: Icdaec49345ef916f2e8e06b14dffea8608375d53
2021-10-21 16:50:52 +00:00
Martin Stjernholm
4927b9431a Remove UNBUNDLED_BUILD_SDKS_FROM_SOURCE=true setting.
It needs to be controlled by build instead:

- Prebuilt SDKs should be used for unbundled Mainline module builds, and
  is necessary on thin module branches to avoid dependencies on
  frameworks/base (e.g. framework-doc-stubs used by lint-check).

- Source SDKs are needed on master which can otherwise get problems
  with out of date prebuilts (see e.g. b/140162931).

Test: env TARGET_BUILD_APPS=com.android.art \
        packages/modules/common/build/build_unbundled_mainline_module.sh \
        --product module_arm --dist_dir out/dist
  using the thin master-art manifest
Bug: 202192894
Change-Id: Ia73ccc6e694caec64c7dd0d86246a258e2bb9239
2021-10-20 14:07:15 +01:00
satayev
37abbfca2a Introduce build script for mainline modules.
The build_unbundled_mainline_module.sh builds for a given product
a list of mainline modules. In AOSP it defaults to building all
AOSP modules.

Individual mainline_modules_<arch>.sh scripts are meant to build per
product targets for individual invocation on build servers. For example,
on AOSP presubmit we would want to build mainline_modules_x86_64.

The build script is meant to be re-used from internal version of the
scripts that would pass com.google variant of the modules.

Note that the script excludes bundles and stubs, since those are not
need to be built in AOSP. There will be a separate script internally
for those.

Bug: 191965323
Test: call the scripts, inspect out/dist/ directory.
Change-Id: I13dc723dd26fd8a2a43f46c3186513bcf5519fb5
2021-07-13 11:46:53 +01:00