You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
51 lines
1.4 KiB
51 lines
1.4 KiB
// Copyright 2022 Rockchip Limited
|
|
//
|
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
// you may not use this file except in compliance with the License.
|
|
// You may obtain a copy of the License at
|
|
//
|
|
// http://www.apache.org/licenses/LICENSE-2.0
|
|
//
|
|
// Unless required by applicable law or agreed to in writing, software
|
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
// See the License for the specific language governing permissions and
|
|
// limitations under the License.
|
|
|
|
soong_config_module_type {
|
|
name: "cgroupsrockchip_cc_defaults",
|
|
module_type: "prebuilt_defaults",
|
|
config_namespace: "fstab_rockchip",
|
|
bool_variables: ["low_ram"],
|
|
properties: ["src"],
|
|
}
|
|
|
|
cgroupsrockchip_cc_defaults {
|
|
name: "cgroups_rockchip_defaults",
|
|
soong_config_variables: {
|
|
low_ram: {
|
|
src: "cgroups_lowram.json",
|
|
conditions_default: {
|
|
src: "cgroups_regular.json",
|
|
},
|
|
},
|
|
},
|
|
}
|
|
|
|
prebuilt_etc {
|
|
name: "vendor_cgroups.json",
|
|
defaults: ["cgroups_rockchip_defaults"],
|
|
vendor: true,
|
|
filename: "cgroups.json",
|
|
required: [
|
|
"vendor_task_profiles.json",
|
|
],
|
|
}
|
|
|
|
prebuilt_etc {
|
|
name: "vendor_task_profiles.json",
|
|
src: "task_profiles.json",
|
|
filename_from_src: true,
|
|
vendor: true,
|
|
}
|