Skip to content

Commit

Permalink
Generated files and java/BUILD changes to include them
Browse files Browse the repository at this point in the history
  • Loading branch information
austinh0 committed Jun 18, 2021
1 parent 99f5b18 commit 6437ffc
Show file tree
Hide file tree
Showing 3 changed files with 14,289 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/controller/java/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,13 @@ import("//build_overrides/chip.gni")
import("${build_root}/config/android_abi.gni")
import("${chip_root}/build/chip/java/rules.gni")

config("java_config") {
include_dirs = [
".",
"..",
]
}

shared_library("jni") {
output_name = "libCHIPController"

Expand All @@ -38,13 +45,17 @@ shared_library("jni") {
"JniReferences.h",
"JniTypeWrappers.h",
"StackLock.h",
"gen/CHIPClusters-JNI.cpp",
]

deps = [
"${chip_root}/src/app",
"${chip_root}/src/controller/data_model",
"${chip_root}/src/lib",
]

public_configs = [ ":java_config" ]

output_dir = "${root_out_dir}/lib/jni/${android_abi}"
}

Expand All @@ -57,6 +68,7 @@ android_library("java") {
]

sources = [
"gen/ChipClusters.java",
"src/chip/devicecontroller/AndroidChipStack.java",
"src/chip/devicecontroller/ChipClusterException.java",
"src/chip/devicecontroller/ChipCommandType.java",
Expand Down
Loading

0 comments on commit 6437ffc

Please sign in to comment.