Skip to content

Commit

Permalink
Make gn know about ListLargeSystemExtensions.h (#32672)
Browse files Browse the repository at this point in the history
* Make gn know about ListLargeSystemExtensions.h

* Fix linter
  • Loading branch information
andy31415 authored and pull[bot] committed Apr 19, 2024
1 parent fb359ab commit 009e2cd
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
1 change: 0 additions & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@ jobs:
--known-failure app/CommandHandler.h \
--known-failure app/CommandHandlerInterface.h \
--known-failure app/CommandSenderLegacyCallback.h \
--known-failure app/data-model/ListLargeSystemExtensions.h \
--known-failure app/ReadHandler.h \
--known-failure app/reporting/reporting.cpp \
--known-failure app/reporting/tests/MockReportScheduler.cpp \
Expand Down
1 change: 1 addition & 0 deletions examples/tv-casting-app/android/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ shared_library("jni") {

deps = [
"${chip_root}/examples/tv-casting-app/tv-casting-common",
"${chip_root}/src/app/data-model:heap",
"${chip_root}/src/app/server/java:jni",
"${chip_root}/src/lib",
"${chip_root}/third_party/inipp",
Expand Down
9 changes: 9 additions & 0 deletions src/app/data-model/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,12 @@ source_set("data-model") {
"${chip_root}/src/protocols/interaction_model",
]
}

# Provides extensions that use heap and should be
# used for systems that are not as constrained as
# embedded systems typically are
source_set("heap") {
sources = [ "ListLargeSystemExtensions.h" ]

deps = [ ":data-model" ]
}

0 comments on commit 009e2cd

Please sign in to comment.