Age | Commit message (Collapse) | Author |
|
Change-Id: Ia17023e1c19695890aee99de998356c9aadc104f
|
|
Squashed also with the following changes:
Author: Simon Shields <simon@lineageos.org>
Date: Fri Mar 2 12:55:47 2018 +1100
build: Unconditionally use AOSPA pathmap.
even if we're not building a lineage target, we need to
use the lineage pathmap to make things like recovery and ril
happy
Change-Id: I974c30ad10d4ff5b7805c3df9c22010f1e002bf1
Author: Luca Stefani <luca.stefani.ge1@gmail.com>
Date: Tue Jan 22 15:50:52 2019 +0100
Don't export BUILD_NUMBER in envsetup.
* The value is meant to be set only before running an /official/ build
* This allows us to execute consecutive make commands without
running kati for every invocation
Change-Id: Ifa94b839f30c7260009c8a3c91c202b50e28022e
Change-Id: I6ca3c6a68aa5ea78649b96ac86fb65ff7f489736
|
|
Change-Id: I5fa2aa165f694c7b6373d543d37073c1e3862795
|
|
|
|
Exporting TARGET_BOARD_PLATFORM as an environment variable
provides the flexibility to use a common codebase across
multiple products. OEMs/ODMs can continue to differentiate
between their products using TARGET_PRODUCT.
Bug: 187972557
CRs-Fixed: 2944678
Change-Id: Ic0ce7211ee8ea6fd553aa080afa468cde2ecdd73
|
|
Change-Id: Ife6652cf718c7d08b65f148c2e69b8e39bcba050
|
|
Test: m <tab><tab> before having done a full build.
Test: m <tab><tab> after having done a full build.
Change-Id: I35154151e6902d0337a26eab27d9d4fc797beed7
|
|
Test: . build/envsetup.sh ; m <tab>
Change-Id: I94152c567f179fd7829bc675766e764624e5b7a3
|
|
Change-Id: If8d9138aea6ac81c4f2678cced23ea0133632b61
|
|
An old TARGET_PRODUCT value pointing to a removed product or an invalid
TARGET_BUILD_VARIANT value cause lunch to fail to read
COMMON_LUNCH_CHOICES, clear them before calling into the build with
get_build_var.
Test: TARGET_PRODUCT=foobar TARGET_BUILD_VARIANT=foobar lunch
Change-Id: I53d205784149ba7e32cc093f9d81d1a82c08bfc0
|
|
|
|
|
|
Necessary since the products used for APEX modules are different in
internal builds.
Test: banchan com.android.art
Test: banchan com.android.art arm
Test: banchan com.android.art art_module_arm
Test: banchan com.android.art module_arm
Test: banchan com.android.art x86_64
Test: banchan com.android.art art_module_x86_64
Bug: 179779520
Change-Id: Ib59a86b70e409537aaad7258465b6874b589b858
|
|
Test: . build/envsetup.sh
Change-Id: I829dafc707dc02d5a31899a784f88a367ec95e94
Signed-off-by: Timi <timi.rautamaki@gmail.com>
|
|
It currently uses TARGET_BUILD_APPS just like tapas, but the use case is
different and it may diverge more in the future.
Test: banchan com.android.art
Test: banchan help
Test: banchan
Test: hmm
Bug: 179779520
Change-Id: Iae718e65a2a7212c741c397e03c6f9a6d5ee8951
|
|
Change-Id: Ie56add13a8cebda09ba13a27758eba47e2e7d8b5
|
|
Change-Id: Iff13e286a22f39ef22d60d203ceb2951afe50b51
|
|
New ktgrep is added and sgrep/treegrep also scan *.kt files.
Test: kgrep/sgrep/treegrep for Kotlin files.
Signed-off-by: Taesu Lee <taesu82.lee@samsung.com>
Change-Id: Ie615aa86c4958310785392f18ee7bddaf64706a9
|
|
It will query module-info.json for modules inside a given directory.
Test: . build/envsetup.sh ; dirmods frameworks/base
Change-Id: Iad3dcb038315f49c156764e34fb5f52ec3ad29be
|
|
Change-Id: Ia2cccc68a182bc3df9871228f4b1693b2db619ec
|
|
rgrep is a common alias for 'grep -r' and this new macro was confusing.
Test: cd external/rust/crates
rsgrep test
Change-Id: If71cdcc926455983a04a80982356e9feb61968fe
|
|
Change-Id: Ifdef2b485fcfbfb1404544620f4a8e904ca0274c
|
|
Test: cd external/rust/crates
rgrep test
Change-Id: I69fa770742c0dc20259346acaf1184c19675b3a7
|
|
These are analogs to pathmod/gomod that find/install
the module's apk instead of cd'ing to its source
directory.
Bug: None
Change-Id: Iad750e154397f7cfcdd620f1ed6478b05c1225bb
Test: Manually, with bash and zsh
|
|
Change-Id: I3571e02a80bc7ac0292a24bf37ad77efd7bd5c82
|
|
This allows subshell-ing bazel, e.g. bazel build $(bazel query //...)
Test: . build/envsetup.sh; bazel build $(bazel query <expression>)
Change-Id: If28b63769032b61e150422cb5b9b4e55c14cd13d
|
|
Change-Id: I439e7b5c5a8cde16d8e312758a3b4ed1c27c4987
|
|
|
|
Some host tools (launch_cvd, etc.) have been using HOST_OUT.
As their dependencies are now installed by soong, the tools should refer
to SOONG_HOST_OUT. Export it as ANDROID_SOONG_HOST_OUT.
Bug: 172065015
Test: build aosp_cf_x86_phone, execute launch_cvd
Change-Id: Ie175049f15b89485feec0d33d82e756b12a7ad8a
|
|
Get a relative path to out by using $(get_build_var PRODUCT_OUT)
instead of hardcoding it to out/target/product/$TARGET_DEVICE.
That will correctly return the path to the out directory
when setting an external OUT_DIR_COMMON_BASE.
Change-Id: I8a990b710222bc72755c6b6b88fd0c9e80711e14
|
|
and have it call tools/bazel (aka build/bazel/bazel.sh) to start Bazel.
Test: Manually.
Change-Id: I5605571147db33c6b6a008cedbf279bb909ecdee
|
|
Change-Id: Ia4a81c25ba07b0b785355899f06215090ae17315
|
|
CRs-Fixed: 2801394
Change-Id: Ibfee21a03b2fdfa5954785cce66a8d23353991dd
|
|
s-keystone-qcom-dev
* changes:
[automerger] Remove hidl-gen script trigger am: b1bba8d14a
Remove hidl-gen script trigger
|
|
When sourcing the envsetup.sh script from a deep directory
inside of the repo, the vendorsetup.sh scripts are not being
sourced. This was causing the ANDROID_ENABLE_METRICS_UPLOAD
not to be set and developer's metrics were not being uploaded.
Provided the top directory to each directory path. Also cleaned
up the function to handle whitespacing correctly.
Bug: b/169699936
Test: *Ran source ../../build/envsetup.sh from external/libchrome dir
*Renamed repo dir to "aosp master" and source build/envsetup.sh
*Ran the script in zsh command line interpretor
*Ran the script in MacOS
Change-Id: I96eb73d50a1923cdda782792778b0d185a341cf9
|
|
Test: Tested manually on Linux and macOS.
Change-Id: I17f061c2d9135a7a309fc0750cc44cb30d455bc7
|
|
Change-Id: I84183eb09009314dc9752ee33b2058fd5cebc070
|
|
Hidl-gen script was added to generate Android.bp on the fly for
different platform version. This is to support same component b/w
multiple Android platform version. Removing this support as we
all the Android.bp files are checked in & no requirement to support
sharing component across multiple platform versions.
CRs-Fixed: 2794180
Change-Id: I8b92b228c5154d6c008a223a6d248e0267f1ab75
|
|
oh-my-zsh common-aliases plugin defines `alias -g T='| tail'`, which causes an
error with the line `local T dir f`.
Making these lines more explicit resolves this issue, while also being clearer
that the intent is to clear out the local variables.
Bug: 169191000
Fix: 169191000
Test: source build/envsetup.sh; lunch <target>; m
Change-Id: Ief27aa3d9f541d0c39c6c11d7d771818d6493d31
|
|
Change-Id: Id5c312e2de443b785657c3f0184b01093498fd84
|
|
|
|
This function:
- disables verity on the device
- reboots the device only if it is needed
- remounts partitions on the device
Bug: 167697453
Test: syswrite
Change-Id: I23c3e88daaa2b334233f4faf7fe8f8244cd56225
|
|
This is similar to the old `m showcommands`, but operates on specific
output paths instead and does not require a build aside from the
initial invocation of soong to generate the ninja files. The
`--regenerate` option is accepted that causes the ninja file to be
regenerated first, but this is not the default because it is slow.
Just note that without this flag results may be stale.
It unfortunately doesn't work for everything in out. For example,
`$OUT/system/lib/libc.so` won't work because it is a symlink that
isn't in the build graph, but `$OUT/system/lib/bootstrap/libc.so`
works.
Test: showcommands out/target/product/walleye/system/lib/libz.so
Bug: None
Change-Id: I4cfded3db994044870fc71ae4bcf9a69224b1e15
|
|
Conflicts:
core/Makefile
core/binary.mk
core/build_id.mk
core/config.mk
core/soong_config.mk
target/board/generic_x86_64/BoardConfig.mk
target/board/gsi_system_ext.prop
target/board/gsi_system_ext_user.prop
Change-Id: I123c34ae2911dffd1144b811997e5805e96a7dfd
|
|
Test: manual
Change-Id: I17c24beb9f0008e038a739a06027266b57e17e7a
|
|
style guide."
This reverts commit d92718356d8067eb33a971e00108a34a8fa92b32.
Reason for revert: Adding the opening brace to the end of the function breaks lunch.
Change-Id: Ia3a9ff01964de0e616a534058d568150de32558a
|
|
Test: manual
Change-Id: Ie9fd197cee5e934a0b89898b85d1a97adcec6348
|
|
This also affects pathmod here.
Since it's updating module-info.json, we could say that as well (this
should affect any tools which parse this file), but I haven't seen any
indication it's necessary in this context.
Bug: N/A
Test: N/A
Change-Id: Iecb6f454112b5c0095ee7063bc5442fdb1e3bd09
|
|
In some environments (e.g. with the master-art branch), the default
product (aosp_arm-eng) cannot be built, and thus prevents `lunch` from
printing the lunch menu (as it cannot initialize the build system in
order to fetch the common lunch choices). When this happens, show an
explicit error message from `lunch` instead of a Soong UI error.
Test: Check that this command line displays the expected error message:
unset TARGET_PRODUCT && . build/envsetup.sh && lunch
Bug: 152762648
Change-Id: I40c66bca5b075d88dbc8364b36b2db713e6ad93e
|
|
This was never really finished, and hasn't been supported for years.
Test: treehugger
Change-Id: I7668088d1449f33025aaf36fae0817894c84a877
|