mirror of
https://github.com/openharmony/distributedhardware_distributed_input.git
synced 2026-07-16 05:31:51 -04:00
+7
-1
@@ -1,4 +1,4 @@
|
||||
# Copyright (c) 2022-2024 Huawei Device Co., Ltd.
|
||||
# Copyright (c) 2022-2025 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
|
||||
@@ -71,6 +71,12 @@ ohos_shared_library("libdinput_dfx_utils") {
|
||||
"-O2",
|
||||
]
|
||||
|
||||
ldflags = [
|
||||
"-fpie",
|
||||
"-Wl,-z,relro",
|
||||
"-Wl,-z,now",
|
||||
]
|
||||
|
||||
subsystem_name = "distributedhardware"
|
||||
|
||||
part_name = "distributed_input"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright (c) 2021-2024 Huawei Device Co., Ltd.
|
||||
# Copyright (c) 2021-2025 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
|
||||
@@ -79,6 +79,12 @@ ohos_shared_library("libdinput_handler") {
|
||||
"-O2",
|
||||
]
|
||||
|
||||
ldflags = [
|
||||
"-fpie",
|
||||
"-Wl,-z,relro",
|
||||
"-Wl,-z,now",
|
||||
]
|
||||
|
||||
subsystem_name = "distributedhardware"
|
||||
|
||||
part_name = "distributed_input"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright (c) 2021-2024 Huawei Device Co., Ltd.
|
||||
# Copyright (c) 2021-2025 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
|
||||
@@ -122,6 +122,12 @@ ohos_shared_library("libdinput_sdk") {
|
||||
"-O2",
|
||||
]
|
||||
|
||||
ldflags = [
|
||||
"-fpie",
|
||||
"-Wl,-z,relro",
|
||||
"-Wl,-z,now",
|
||||
]
|
||||
|
||||
subsystem_name = "distributedhardware"
|
||||
|
||||
part_name = "distributed_input"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright (c) 2021-2024 Huawei Device Co., Ltd.
|
||||
# Copyright (c) 2021-2025 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
|
||||
@@ -78,6 +78,12 @@ ohos_shared_library("libdinput_collector") {
|
||||
"-O2",
|
||||
]
|
||||
|
||||
ldflags = [
|
||||
"-fpie",
|
||||
"-Wl,-z,relro",
|
||||
"-Wl,-z,now",
|
||||
]
|
||||
|
||||
subsystem_name = "distributedhardware"
|
||||
|
||||
part_name = "distributed_input"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright (c) 2021-2024 Huawei Device Co., Ltd.
|
||||
# Copyright (c) 2021-2025 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
|
||||
@@ -101,6 +101,12 @@ ohos_shared_library("libdinput_sink") {
|
||||
"-O2",
|
||||
]
|
||||
|
||||
ldflags = [
|
||||
"-fpie",
|
||||
"-Wl,-z,relro",
|
||||
"-Wl,-z,now",
|
||||
]
|
||||
|
||||
subsystem_name = "distributedhardware"
|
||||
|
||||
part_name = "distributed_input"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright (c) 2021-2024 Huawei Device Co., Ltd.
|
||||
# Copyright (c) 2021-2025 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
|
||||
@@ -83,6 +83,12 @@ ohos_shared_library("libdinput_sink_trans") {
|
||||
"-O2",
|
||||
]
|
||||
|
||||
ldflags = [
|
||||
"-fpie",
|
||||
"-Wl,-z,relro",
|
||||
"-Wl,-z,now",
|
||||
]
|
||||
|
||||
subsystem_name = "distributedhardware"
|
||||
|
||||
part_name = "distributed_input"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright (c) 2021-2024 Huawei Device Co., Ltd.
|
||||
# Copyright (c) 2021-2025 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
|
||||
@@ -85,6 +85,12 @@ ohos_shared_library("libdinput_inject") {
|
||||
"-O2",
|
||||
]
|
||||
|
||||
ldflags = [
|
||||
"-fpie",
|
||||
"-Wl,-z,relro",
|
||||
"-Wl,-z,now",
|
||||
]
|
||||
|
||||
subsystem_name = "distributedhardware"
|
||||
|
||||
part_name = "distributed_input"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright (c) 2021-2024 Huawei Device Co., Ltd.
|
||||
# Copyright (c) 2021-2025 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
|
||||
@@ -136,6 +136,12 @@ ohos_shared_library("libdinput_source") {
|
||||
"-O2",
|
||||
]
|
||||
|
||||
ldflags = [
|
||||
"-fpie",
|
||||
"-Wl,-z,relro",
|
||||
"-Wl,-z,now",
|
||||
]
|
||||
|
||||
subsystem_name = "distributedhardware"
|
||||
|
||||
part_name = "distributed_input"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright (c) 2021-2024 Huawei Device Co., Ltd.
|
||||
# Copyright (c) 2021-2025 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
|
||||
@@ -81,6 +81,12 @@ ohos_shared_library("libdinput_source_trans") {
|
||||
"-O2",
|
||||
]
|
||||
|
||||
ldflags = [
|
||||
"-fpie",
|
||||
"-Wl,-z,relro",
|
||||
"-Wl,-z,now",
|
||||
]
|
||||
|
||||
subsystem_name = "distributedhardware"
|
||||
|
||||
part_name = "distributed_input"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright (c) 2023-2024 Huawei Device Co., Ltd.
|
||||
# Copyright (c) 2023-2025 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
|
||||
@@ -83,6 +83,12 @@ ohos_shared_library("libdinput_sink_state") {
|
||||
"-O2",
|
||||
]
|
||||
|
||||
ldflags = [
|
||||
"-fpie",
|
||||
"-Wl,-z,relro",
|
||||
"-Wl,-z,now",
|
||||
]
|
||||
|
||||
subsystem_name = "distributedhardware"
|
||||
|
||||
part_name = "distributed_input"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright (c) 2022-2024 Huawei Device Co., Ltd.
|
||||
# Copyright (c) 2022-2025 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
|
||||
@@ -79,6 +79,12 @@ ohos_shared_library("libdinput_trans_base") {
|
||||
"-O2",
|
||||
]
|
||||
|
||||
ldflags = [
|
||||
"-fpie",
|
||||
"-Wl,-z,relro",
|
||||
"-Wl,-z,now",
|
||||
]
|
||||
|
||||
subsystem_name = "distributedhardware"
|
||||
|
||||
part_name = "distributed_input"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright (c) 2021-2024 Huawei Device Co., Ltd.
|
||||
# Copyright (c) 2021-2025 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
|
||||
@@ -81,6 +81,12 @@ ohos_shared_library("libdinput_sink_handler") {
|
||||
"-O2",
|
||||
]
|
||||
|
||||
ldflags = [
|
||||
"-fpie",
|
||||
"-Wl,-z,relro",
|
||||
"-Wl,-z,now",
|
||||
]
|
||||
|
||||
subsystem_name = "distributedhardware"
|
||||
|
||||
part_name = "distributed_input"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright (c) 2021-2024 Huawei Device Co., Ltd.
|
||||
# Copyright (c) 2021-2025 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
|
||||
@@ -84,6 +84,12 @@ ohos_shared_library("libdinput_source_handler") {
|
||||
"-O2",
|
||||
]
|
||||
|
||||
ldflags = [
|
||||
"-fpie",
|
||||
"-Wl,-z,relro",
|
||||
"-Wl,-z,now",
|
||||
]
|
||||
|
||||
subsystem_name = "distributedhardware"
|
||||
|
||||
part_name = "distributed_input"
|
||||
|
||||
+8
-1
@@ -1,4 +1,4 @@
|
||||
# Copyright (c) 2022-2024 Huawei Device Co., Ltd.
|
||||
# Copyright (c) 2022-2025 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
|
||||
@@ -47,10 +47,17 @@ ohos_shared_library("libdinput_utils") {
|
||||
cflags = [
|
||||
"-O2",
|
||||
"-D_FORTIFY_SOURCE=2",
|
||||
"-fstack-protector-strong",
|
||||
]
|
||||
|
||||
cflags_cc = cflags
|
||||
|
||||
ldflags = [
|
||||
"-fpie",
|
||||
"-Wl,-z,relro",
|
||||
"-Wl,-z,now",
|
||||
]
|
||||
|
||||
external_deps = [
|
||||
"c_utils:utils",
|
||||
"distributed_hardware_fwk:distributed_av_receiver",
|
||||
|
||||
Reference in New Issue
Block a user