mirror of
https://github.com/openharmony/distributedschedule_samgr_lite.git
synced 2026-07-21 04:15:23 -04:00
e0cab2cdfb
1. 保持对外使用接口不变 2. 采用宏开关进行特性控制 2.1 enable_ohos_distributedschedule_samgr_lite_rpc_mini 进行编译控制 默认为false,可以在vendor目录下的config.json中配置打开 2.2 MINI_SAMGR_LITE_RPC 进行代码编译隔离。 3. 在samgr init的时候,初始化全局的said和saname的映射关系 4. 本端将said传给远端 Signed-off-by: SimonLi <likailong@huawei.com>
22 lines
951 B
Plaintext
22 lines
951 B
Plaintext
# Copyright (c) 2020 Huawei Device Co., Ltd.
|
|
# 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.
|
|
|
|
declare_args() {
|
|
# configuration for samgr_lite created shared task's stack size.
|
|
# 0 means using system default thread stack size, other positive values will be accepted.
|
|
config_ohos_distributedschedule_samgr_lite_shared_task_size = 2048
|
|
|
|
# enable samgr_lite adapt to rpc on mini system.
|
|
enable_ohos_distributedschedule_samgr_lite_rpc_mini = false
|
|
}
|