xref: /aosp_15_r20/libcore/libcore.aconfig (revision 89a6322812dc8573315e60046e7959c50dad91d4)
1*89a63228SAndroid Build Coastguard Worker# Copyright (C) 2023 The Android Open Source Project
2*89a63228SAndroid Build Coastguard Worker#
3*89a63228SAndroid Build Coastguard Worker# Licensed under the Apache License, Version 2.0 (the "License");
4*89a63228SAndroid Build Coastguard Worker# you may not use this file except in compliance with the License.
5*89a63228SAndroid Build Coastguard Worker# You may obtain a copy of the License at
6*89a63228SAndroid Build Coastguard Worker#
7*89a63228SAndroid Build Coastguard Worker#      http://www.apache.org/licenses/LICENSE-2.0
8*89a63228SAndroid Build Coastguard Worker#
9*89a63228SAndroid Build Coastguard Worker# Unless required by applicable law or agreed to in writing, software
10*89a63228SAndroid Build Coastguard Worker# distributed under the License is distributed on an "AS IS" BASIS,
11*89a63228SAndroid Build Coastguard Worker# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12*89a63228SAndroid Build Coastguard Worker# See the License for the specific language governing permissions and
13*89a63228SAndroid Build Coastguard Worker# limitations under the License.
14*89a63228SAndroid Build Coastguard Worker
15*89a63228SAndroid Build Coastguard Worker# com.android is a reserved namespace for Android platform. See CDD 3.6.
16*89a63228SAndroid Build Coastguard Worker# com.android is chosen as the java_aconfig_library is normally exposed to the platform,
17*89a63228SAndroid Build Coastguard Worker# but not public apps.
18*89a63228SAndroid Build Coastguard Workerpackage: "com.android.libcore"
19*89a63228SAndroid Build Coastguard Workercontainer: "com.android.art"
20*89a63228SAndroid Build Coastguard Worker
21*89a63228SAndroid Build Coastguard Workerflag {
22*89a63228SAndroid Build Coastguard Worker    namespace: "core_libraries"
23*89a63228SAndroid Build Coastguard Worker    name: "v_apis"
24*89a63228SAndroid Build Coastguard Worker    is_exported: true
25*89a63228SAndroid Build Coastguard Worker    description: "This flag controls whether exposing Android V APIs"
26*89a63228SAndroid Build Coastguard Worker    bug: "306360493"
27*89a63228SAndroid Build Coastguard Worker    # APIs provided by a mainline module can only use a frozen flag.
28*89a63228SAndroid Build Coastguard Worker    is_fixed_read_only: true
29*89a63228SAndroid Build Coastguard Worker}
30*89a63228SAndroid Build Coastguard Worker
31*89a63228SAndroid Build Coastguard Workerflag {
32*89a63228SAndroid Build Coastguard Worker    namespace: "core_libraries"
33*89a63228SAndroid Build Coastguard Worker    name: "hpke_v_apis"
34*89a63228SAndroid Build Coastguard Worker    is_exported: true
35*89a63228SAndroid Build Coastguard Worker    description: "This flag controls whether exposing HPKE APIs on Android V"
36*89a63228SAndroid Build Coastguard Worker    bug: "323357598"
37*89a63228SAndroid Build Coastguard Worker    # APIs provided by a mainline module can only use a frozen flag.
38*89a63228SAndroid Build Coastguard Worker    is_fixed_read_only: true
39*89a63228SAndroid Build Coastguard Worker}
40*89a63228SAndroid Build Coastguard Worker
41*89a63228SAndroid Build Coastguard Workerflag {
42*89a63228SAndroid Build Coastguard Worker    namespace: "core_libraries"
43*89a63228SAndroid Build Coastguard Worker    name: "openjdk_21_v1_apis"
44*89a63228SAndroid Build Coastguard Worker    is_exported: true
45*89a63228SAndroid Build Coastguard Worker    description: "This flag includes OpenJDK 21 APIs released in 2025."
46*89a63228SAndroid Build Coastguard Worker    bug: "340486785"
47*89a63228SAndroid Build Coastguard Worker    # APIs provided by a mainline module can only use a frozen flag.
48*89a63228SAndroid Build Coastguard Worker    is_fixed_read_only: true
49*89a63228SAndroid Build Coastguard Worker}
50*89a63228SAndroid Build Coastguard Worker
51*89a63228SAndroid Build Coastguard Workerflag {
52*89a63228SAndroid Build Coastguard Worker    namespace: "core_libraries"
53*89a63228SAndroid Build Coastguard Worker    name: "openjdk21_stringconcat"
54*89a63228SAndroid Build Coastguard Worker    is_exported: true
55*89a63228SAndroid Build Coastguard Worker    description: "This flag exposes StringConcatException"
56*89a63228SAndroid Build Coastguard Worker    bug: "285090974"
57*89a63228SAndroid Build Coastguard Worker    # APIs provided by a mainline module can only use a frozen flag.
58*89a63228SAndroid Build Coastguard Worker    is_fixed_read_only: true
59*89a63228SAndroid Build Coastguard Worker}
60*89a63228SAndroid Build Coastguard Worker
61*89a63228SAndroid Build Coastguard Workerflag {
62*89a63228SAndroid Build Coastguard Worker    namespace: "devtools"
63*89a63228SAndroid Build Coastguard Worker    name: "appinfo"
64*89a63228SAndroid Build Coastguard Worker    is_exported: true
65*89a63228SAndroid Build Coastguard Worker    description: "This flag controls whether Frameworks sends app info to adb so debuggers can attach"
66*89a63228SAndroid Build Coastguard Worker    bug: "333161320"
67*89a63228SAndroid Build Coastguard Worker    # APIs provided by a mainline module can only use a frozen flag.
68*89a63228SAndroid Build Coastguard Worker    is_fixed_read_only: true
69*89a63228SAndroid Build Coastguard Worker}
70*89a63228SAndroid Build Coastguard Worker
71*89a63228SAndroid Build Coastguard Workerflag {
72*89a63228SAndroid Build Coastguard Worker    namespace: "core_libraries"
73*89a63228SAndroid Build Coastguard Worker    name: "post_cleanup_apis"
74*89a63228SAndroid Build Coastguard Worker    is_exported: true
75*89a63228SAndroid Build Coastguard Worker    description: "This flag includes APIs to add/remove/call callbacks post-cleanup"
76*89a63228SAndroid Build Coastguard Worker    bug: "331243037"
77*89a63228SAndroid Build Coastguard Worker    # APIs provided by a mainline module can only use a frozen flag.
78*89a63228SAndroid Build Coastguard Worker    is_fixed_read_only: true
79*89a63228SAndroid Build Coastguard Worker}
80*89a63228SAndroid Build Coastguard Worker
81*89a63228SAndroid Build Coastguard Workerflag {
82*89a63228SAndroid Build Coastguard Worker    namespace: "core_libraries"
83*89a63228SAndroid Build Coastguard Worker    name: "native_metrics"
84*89a63228SAndroid Build Coastguard Worker    is_exported: true
85*89a63228SAndroid Build Coastguard Worker    description: "This flag includes APIs for maintaining and exposing native allocation metrics"
86*89a63228SAndroid Build Coastguard Worker    bug: "331243037"
87*89a63228SAndroid Build Coastguard Worker    # APIs provided by a mainline module can only use a frozen flag.
88*89a63228SAndroid Build Coastguard Worker    is_fixed_read_only: true
89*89a63228SAndroid Build Coastguard Worker}
90*89a63228SAndroid Build Coastguard Worker
91*89a63228SAndroid Build Coastguard Workerflag {
92*89a63228SAndroid Build Coastguard Worker    namespace: "core_libraries"
93*89a63228SAndroid Build Coastguard Worker    name: "read_only_dynamic_code_load"
94*89a63228SAndroid Build Coastguard Worker    is_exported: true
95*89a63228SAndroid Build Coastguard Worker    description: "This flag controls if read only is enforced when loading native code"
96*89a63228SAndroid Build Coastguard Worker    bug: "354921003"
97*89a63228SAndroid Build Coastguard Worker    # APIs provided by a mainline module can only use a frozen flag.
98*89a63228SAndroid Build Coastguard Worker    is_fixed_read_only: true
99*89a63228SAndroid Build Coastguard Worker}
100*89a63228SAndroid Build Coastguard Worker
101*89a63228SAndroid Build Coastguard Workerflag {
102*89a63228SAndroid Build Coastguard Worker    namespace: "core_libraries"
103*89a63228SAndroid Build Coastguard Worker    name: "schedule_at_fixed_rate_new_behavior"
104*89a63228SAndroid Build Coastguard Worker    description: "If true, force-enables go/scheduleAtFixedRate-behavior-change regardless of AppCompat flag or SDK_INT value"
105*89a63228SAndroid Build Coastguard Worker    bug: "352746637"
106*89a63228SAndroid Build Coastguard Worker    # APIs provided by a mainline module can only use a frozen flag.
107*89a63228SAndroid Build Coastguard Worker    is_fixed_read_only: true
108*89a63228SAndroid Build Coastguard Worker}
109*89a63228SAndroid Build Coastguard Worker
110*89a63228SAndroid Build Coastguard Workerflag {
111*89a63228SAndroid Build Coastguard Worker    namespace: "core_libraries"
112*89a63228SAndroid Build Coastguard Worker    name: "hpke_public_api"
113*89a63228SAndroid Build Coastguard Worker    is_exported: true
114*89a63228SAndroid Build Coastguard Worker    description: "This flag includes HPKE public APIs"
115*89a63228SAndroid Build Coastguard Worker    bug: "323357598"
116*89a63228SAndroid Build Coastguard Worker    # APIs provided by a mainline module can only use a frozen flag.
117*89a63228SAndroid Build Coastguard Worker    is_fixed_read_only: true
118*89a63228SAndroid Build Coastguard Worker}
119