fix: code style

Signed-off-by: Mupceet <laiguizhong@huawei.com>
This commit is contained in:
Mupceet 2022-05-05 09:40:45 +08:00
parent 9d92ec27cf
commit aa68a8e43b
4 changed files with 6 additions and 10 deletions

View File

@ -10,9 +10,9 @@
# 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.
import("//base/startup/init_lite/begetd.gni")
import("//build/ohos.gni")
import("//build/ohos/sa_profile/sa_profile.gni")
import("//base/startup/init_lite/begetd.gni")
ohos_sa_profile("device_info_profile") {
sources = [ "etc/3902.xml" ]
@ -41,8 +41,8 @@ ohos_shared_library("deviceinfoservice") {
deps = [
"//base/startup/init_lite/services/log:agent_log",
"//base/startup/init_lite/services/param:param_client",
"//base/startup/init_lite/services/loopevent:loopevent",
"//base/startup/init_lite/services/param:param_client",
"//base/startup/init_lite/services/utils:libinit_tools",
"//base/startup/init_lite/services/utils:libinit_utils",
"//third_party/bounds_checking_function:libsec_shared",

View File

@ -14,9 +14,7 @@
import("//build/ohos.gni")
ohos_shared_library("deviceinfo_init") {
include_dirs = [
"//base/startup/init_lite/interfaces/innerkits/include",
]
include_dirs = [ "//base/startup/init_lite/interfaces/innerkits/include" ]
sources = [ "src/native_deviceinfo_js.cpp" ]
@ -34,9 +32,7 @@ ohos_shared_library("deviceinfo_init") {
}
ohos_shared_library("systemparameter_init") {
include_dirs = [
"src",
]
include_dirs = [ "src" ]
sources = [
"src/native_parameters_js.cpp",

View File

@ -15,8 +15,8 @@ if (defined(ohos_lite)) {
static_library("libinit_tools") {
sources = [
"//base/startup/init_lite/services/utils/init_hashmap.c",
"//base/startup/init_lite/services/utils/init_utils.c",
"//base/startup/init_lite/services/utils/list.c",
"//base/startup/init_lite/services/utils/init_utils.c"
]
include_dirs = [

View File

@ -30,9 +30,9 @@ ohos_shared_library("libpluginparamtest") {
]
deps = [
"//base/startup/init_lite/interfaces/innerkits:libbegetutil",
"//base/startup/init_lite/services/log:agent_log",
"//base/startup/init_lite/services/utils:libinit_tools",
"//base/startup/init_lite/interfaces/innerkits:libbegetutil",
"//third_party/bounds_checking_function:libsec_shared",
]