diff options
author | 2023-12-05 21:05:37 +0000 | |
---|---|---|
committer | 2023-12-06 13:16:16 +0000 | |
commit | b03f73c06fd8549b381022249d09d07bfe43d803 (patch) | |
tree | 727f453c51f3c53440658fab616b65b854bbee17 /build/art.go | |
parent | 9322eb5592a33ab48f13581a01e8676fea87c082 (diff) |
16k: art: Update config function PageSizeAgnostic to NoBionicPageSizeMacro
This is part of a larger change to update the flag
PRODUCT_PAGE_SIZE_AGNOSTIC to PRODUCT_NO_BIONIC_PAGE_SIZE_MACRO.
This is to help clarify that this flag doesn't mean the device
will actually work end-to-end with any page size.
Bug: 312541564
Test:
```
$ source build/envsetup.sh
$ lunch aosp_cf_arm64_phone_pgagnostic-trunk-userdebug
$ m
# Launch cf with a kernel with 16k page size support.
$ launch_cvd --resume=false --userdata_format=ext4 \
--data_policy=always_create --blank_data_image_mb=8000
# In another shell
$ adb shell
getconf PAGE_SIZE
16384
# Check that boot completed with 1
getprop | grep completed
```
Change-Id: I481af02e60dfcf417967956e22bddb136a668219
Diffstat (limited to 'build/art.go')
-rw-r--r-- | build/art.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build/art.go b/build/art.go index 8ba3ceda67..0ce15f52a3 100644 --- a/build/art.go +++ b/build/art.go @@ -103,7 +103,7 @@ func globalFlags(ctx android.LoadHookContext) ([]string, []string) { "-DART_STACK_OVERFLOW_GAP_x86_64=8192") } - if (ctx.Config().PageSizeAgnostic()) { + if (ctx.Config().NoBionicPageSizeMacro()) { cflags = append(cflags, "-DART_PAGE_SIZE_AGNOSTIC=1") } |