- Dec 02, 2022
-
-
Sasha Smundak authored
The first line of each section will be ``` include $(CLEAR_VARS) # <module type> ... ``` Bug: 257037252 Test: treehugger Change-Id: Iba586155b682fe4e1e5817d8397eda8f9d9c8789
-
Kiyoung Kim authored
Rename export_headers of cc_api_variant as export_include_dirs, because the property only supports header directory. Bug: 244244438 Test: Cuttlefish vendor build succeeded Change-Id: I6e1468f51694150c70d3b0def2917f0ba74f7ea0
-
Treehugger Robot authored
-
Treehugger Robot authored
-
Treehugger Robot authored
-
- Dec 01, 2022
-
-
Treehugger Robot authored
-
Florian Mayer authored
The upstream change was merged in https://r.android.com/2322236 Bug: 174878242 Change-Id: Ia23d4a9d6ef54ed2c286e0b1becec1f35df75160
-
Liz Kammer authored
* changes: Update sanitize to not modify user properties Extend sanitize_test.go
-
Sasha Smundak authored
Also, fix compiler warnings about deprecated ioutil.WriteFile/ReadFile and about redundant variables Test: treehugger Change-Id: Iaf8f89b0e991dae8c5da403d4a1ec3a270f1ae29
-
Treehugger Robot authored
-
Patrick Rohr authored
While converting from gn to bp we stumbled upon genrules that have different cmd's for different targets. cc_genrule supports different architectures, but it does not give us any information about the OS types (some genrules are use for both host and android targets). Change-Id: Ida531ad8b59d87a91d6faedbfe8fee9f75640bd1 Test: TH
-
Usta (Tsering) Shrestha authored
-
Kevin Dagostino authored
-
Treehugger Robot authored
-
Usta (Tsering) Shrestha authored
Change-Id: Ifaa734a222bf37bccc3a74724f597f2d55200d6b Test: run a build and inspeck event keys in bp2build_metrics.pb Bug: 260936908
-
Hsin-Yi Chen authored
-
Treehugger Robot authored
-
Kiyoung Kim authored
-
Hsin-Yi Chen authored
-
Chih-hung Hsieh authored
-
Chih-hung Hsieh authored
This reverts commit 6be24bae. Reason for revert: warnings fixed in source files Change-Id: I223ff6343c41ac957485726a3de006a84b9369df
-
- Nov 30, 2022
-
-
Treehugger Robot authored
-
Christopher Parsons authored
-
Sam Delmerico authored
-
Treehugger Robot authored
-
Treehugger Robot authored
-
Yu Liu authored
-
Treehugger Robot authored
-
Bob Badour authored
Policy uses restricted_if_statically_linked at https://opensource.google/documentation/reference/thirdparty/licenses#RestrictedIfStaticallyLinked Test: m droid Change-Id: I6eee52bef179b2a2b4257595e596652cfbdfef68
-
Alix Espino authored
-
Treehugger Robot authored
-
Jihoon Kang authored
-
Christopher Parsons authored
This reverts commit f8ab0321. Reason for revert: Fixed underlying bugs (aosp-riscv and llvm breakages) Change-Id: Ib7fe8e39af5bbe40bac615c815307ad9f05e83d3
-
Sam Delmerico authored
Bug: 253664931 Change-Id: I8026d0412b8dd62f55edf776f72747209ce2e955
-
Treehugger Robot authored
-
Jingwen Chen authored
Background: toolchain/llvm_android/test_compiler.py generates clang-dev, a directory symlink pointing to out/install/linux-x86/clang-dev, which itself contains a BUILD file. This BUILD file should be excluded from the symlink forest because it's not an allowlisted BUILD file. Problem: However, our current symlink forest logic and finder logic doesn't handle this situation. It's not in bazel.list: ``` $ less out/.module_paths/bazel.list | grep prebuilts/clang prebuilts/clang/host/linux-x86/BUILD.bazel prebuilts/clang/host/linux-x86/cc_toolchain_config.bzl prebuilts/clang/host/linux-x86/cc_toolchain_constants.bzl prebuilts/clang/host/linux-x86/cc_toolchain_features.bzl prebuilts/clang/host/linux-x86/clang-r450784d/BUILD.bazel prebuilts/clang/host/linux-x86/clang-r450784e/BUILD.bazel prebuilts/clang/host/linux-x86/clang-r458507/BUILD.bazel prebuilts/clang/host/linux-x86/clang-r468909/BUILD.bazel prebuilts/clang/host/linux-x86/clang-r468909b/BUILD.bazel prebuilts/clang/host/linux-x86/clang-r475365/BUILD.bazel ``` The symlink forest logic uses this bazel.list file and matches it against the keepExistingBuildFile list to exclude BUILD files from the symlink forest. Since clang-dev/BUILD.bazel is not in bazel.list, it's symlinked into the forest. All of these gymnastics could be avoided if we added custom BUILD file name support to Bazel, and only symlinked (e.g.) Android.bazel and ignored all other BUILD files in the tree. It would be very clear which checked-in BUILD files we want to use in the symlink forest. I think we should pursue custom BUILD file names instead of adding more complexities, to say, the finder logic, to support such a use case. It's also why I decided to add this hardcoded exclusion to keep the workaround simple. Bug: 260809113 Test: presubmits Test: $ DIST_DIR=/tmp/dist prebuilts/python/linux-x86/bin/python3 toolchain/llvm_android/test_compiler.py --build-only --target aosp_raven-userdebug --no-clean-built-target --module dist --module droid --module tidy-soong_subset --with-tidy ./ Change-Id: I415371543585c1c5e8e00e6958105f65ea5978ee
-
Treehugger Robot authored
-
Kiyoung Kim authored
Update cc build logic to support NDK variant of cc_api_variant. Any cc_api_library with NDK variant of cc_api_variant would be treated as similar with NDK library. Bug: 259007436 Test: Cuttlefish vendor build succeeded Change-Id: I75a7475f4fdcbac779f5aa64e76c60f94ea7ea1a
-
Hsin-Yi Chen authored
ABI dumps in gzip are no longer supported because they cannot be reviewed or merged. Bug: 227282691 Test: make Change-Id: I9fdf943fb8ae30aeae884d4d361a65034ab6fa94
-