1# Copyright (c) 2022-2023 Huawei Device Co., Ltd.
2# Licensed under the Apache License, Version 2.0 (the "License");
3# you may not use this file except in compliance with the License.
4# You may obtain a copy of the License at
5#
6#     http://www.apache.org/licenses/LICENSE-2.0
7#
8# Unless required by applicable law or agreed to in writing, software
9# distributed under the License is distributed on an "AS IS" BASIS,
10# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11# See the License for the specific language governing permissions and
12# limitations under the License.
13
14import("../../../../device_status.gni")
15
16config("interaction_config") {
17  visibility = [ "./*" ]
18
19  include_dirs = [
20    "cooperate/include",
21    "coordination/include",
22    "drag/include",
23    "${device_status_utils_path}/include",
24    "${device_status_interfaces_path}/innerkits/interaction/include",
25    "${device_status_frameworks_path}/native/interaction/include",
26  ]
27}
28
29group("interaction_jsapi_group") {
30  deps = [
31    "${device_status_frameworks_path}/js/napi/interaction/drag:draginteraction",
32  ]
33  if (device_status_interaction_coordination) {
34    deps += [ "${device_status_frameworks_path}/js/napi/interaction/cooperate:inputdevicecooperate" ]
35    deps += [ "${device_status_frameworks_path}/js/napi/interaction/coordination:cooperate" ]
36  }
37}
38