Skip to content

Commit

Permalink
TSBM-21 Restore some of possibly unneeded changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
n-nievergeld committed Feb 22, 2024
1 parent 57c7bf7 commit 322748c
Show file tree
Hide file tree
Showing 11 changed files with 20 additions and 22 deletions.
2 changes: 1 addition & 1 deletion build_overrides/build.gni
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@

declare_args() {
# Root directory for build files.
build_root = "//third_party/connectedhomeip/build"
build_root = "//build"
}
3 changes: 1 addition & 2 deletions build_overrides/chip.gni
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,5 @@

declare_args() {
# Root directory for CHIP.
chip_root = "//third_party/connectedhomeip"
chip_root = "//"
}

2 changes: 1 addition & 1 deletion build_overrides/lwip.gni
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import("//build_overrides/build.gni")

declare_args() {
# Root directory for lwIP.
lwip_root = "//third_party/connectedhomeip/third_party/lwip"
lwip_root = "//third_party/lwip"
}

lwip_remove_configs = [ "${build_root}/config/compiler:warnings_default" ]
Expand Down
2 changes: 1 addition & 1 deletion build_overrides/nlassert.gni
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@

declare_args() {
# Root directory for nlassert.
nlassert_root = "//third_party/connectedhomeip/third_party/nlassert"
nlassert_root = "//third_party/nlassert"
}
2 changes: 1 addition & 1 deletion build_overrides/nlio.gni
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@

declare_args() {
# Root directory for nlio.
nlio_root = "//third_party/connectedhomeip/third_party/nlio"
nlio_root = "//third_party/nlio"
}
2 changes: 1 addition & 1 deletion build_overrides/nlunit_test.gni
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@

declare_args() {
# Root directory for nlunit-test.
nlunit_test_root = "//third_party/connectedhomeip/third_party/nlunit-test"
nlunit_test_root = "//third_party/nlunit-test"
}
2 changes: 1 addition & 1 deletion build_overrides/pigweed.gni
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

declare_args() {
# Location of the Pigweed repository.
dir_pigweed = "//third_party/connectedhomeip/third_party/pigweed/repo"
dir_pigweed = "//third_party/pigweed/repo"
}

import("$dir_pigweed/modules.gni")
2 changes: 1 addition & 1 deletion examples/build_overrides/build.gni
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@

declare_args() {
# Root directory for build files.
build_root = "//third_party/connectedhomeip/build"
build_root = "//build"
}
2 changes: 1 addition & 1 deletion scripts/setup/constraints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ prettytable==2.5.0
# via
# mbed-ls
# mbed-os-tools
prompt-toolkit==3.0.38
prompt-toolkit==3.0.43
# via ipython
protobuf==3.20.1
# via
Expand Down
20 changes: 10 additions & 10 deletions src/lib/address_resolve/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -54,16 +54,16 @@ static_library("address_resolve") {
}
}

#executable("address-resolve-tool") {
# sources = [ "tool.cpp" ]
executable("address-resolve-tool") {
sources = [ "tool.cpp" ]

# cflags = [ "-Wconversion" ]
cflags = [ "-Wconversion" ]

# public_deps = [
# ":address_resolve",
# "${chip_root}/src/lib/support",
# "${chip_root}/src/platform/logging:stdio",
# ]
public_deps = [
":address_resolve",
"${chip_root}/src/lib/support",
"${chip_root}/src/platform/logging:stdio",
]

# output_dir = root_out_dir
#}
output_dir = root_out_dir
}
3 changes: 1 addition & 2 deletions src/system/SystemStats.h
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,7 @@ enum
kNumEntries
};

//typedef int8_t count_t;
typedef mem_size_t count_t;
typedef int8_t count_t;
#define CHIP_SYS_STATS_COUNT_MAX INT8_MAX

extern count_t ResourcesInUse[kNumEntries];
Expand Down

0 comments on commit 322748c

Please sign in to comment.