BUILD.gn 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. #
  2. # Copyright (c) 2020 Huawei Device Co., Ltd.
  3. # Licensed under the Apache License, Version 2.0 (the "License");
  4. # you may not use this file except in compliance with the License.
  5. # You may obtain a copy of the License at
  6. #
  7. # http://www.apache.org/licenses/LICENSE-2.0
  8. #
  9. # Unless required by applicable law or agreed to in writing, software
  10. # distributed under the License is distributed on an "AS IS" BASIS,
  11. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12. # See the License for the specific language governing permissions and
  13. # limitations under the License.
  14. #
  15. import("//build/lite/config/component/lite_component.gni")
  16. import("//build/lite/config/subsystem/aafwk/path.gni")
  17. lite_library("native_communication_kit") {
  18. target_type = "static_library"
  19. sources = [
  20. "src/nativeapi_communication_kit.cpp",
  21. "src/nativeapi_communication_kit_impl.c",
  22. ]
  23. cflags = [ "-Wall" ]
  24. cflags_cc = cflags
  25. include_dirs = [
  26. "include",
  27. "//utils/native/lite/js/builtin/common/include",
  28. "//third_party/bounds_checking_function/include",
  29. "//foundation/ace/ace_engine_lite/interfaces/innerkits/builtin",
  30. "//foundation/ace/ace_engine_lite/interfaces/innerkits/builtin/base",
  31. "//foundation/ace/ace_engine_lite/interfaces/innerkits/builtin/async",
  32. "${aafwk_lite_path}/interfaces/kits/ability_lite",
  33. "//base/hiviewdfx/hilog_lite/interfaces/native/innerkits/hilog",
  34. ]
  35. deps = [
  36. "//base/hiviewdfx/hilog_lite/frameworks/featured:hilog_static",
  37. "//third_party/bounds_checking_function:libsec_shared",
  38. ]
  39. }