Skip to content

Commit

Permalink
Restyled by gn
Browse files Browse the repository at this point in the history
  • Loading branch information
restyled-commits authored and dvdm-qorvo committed Jun 8, 2023
1 parent c45b73d commit e1b052d
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 8 deletions.
4 changes: 2 additions & 2 deletions examples/lighting-app/qpg/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,6 @@ qpg_executable("lighting_app") {
]

deps = [
"${chip_root}/third_party/qpg_sdk:qpg_light_factorydata_lib",
"${chip_root}/third_party/qpg_sdk:qpg_light_firmwaredata_lib",
":sdk",
"${chip_root}/examples/lighting-app/lighting-common:color-format",
"${chip_root}/examples/lighting-app/qpg/zap/",
Expand All @@ -75,6 +73,8 @@ qpg_executable("lighting_app") {
"${chip_root}/third_party/openthread/platforms:libopenthread-platform",
"${chip_root}/third_party/openthread/platforms:libopenthread-platform-utils",
"${chip_root}/third_party/qpg_sdk:qpg_light_factorydata_lib",
"${chip_root}/third_party/qpg_sdk:qpg_light_factorydata_lib",
"${chip_root}/third_party/qpg_sdk:qpg_light_firmwaredata_lib",
]

if (chip_openthread_ftd) {
Expand Down
4 changes: 2 additions & 2 deletions examples/lock-app/qpg/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,6 @@ qpg_executable("lock_app") {
]

deps = [
"${chip_root}/third_party/qpg_sdk:qpg_lock_factorydata_lib",
"${chip_root}/third_party/qpg_sdk:qpg_lock_firmwaredata_lib",
":sdk",
"${chip_root}/examples/lock-app/qpg/zap/",
"${chip_root}/examples/providers:device_info_provider",
Expand All @@ -72,6 +70,8 @@ qpg_executable("lock_app") {
"${chip_root}/third_party/openthread/platforms:libopenthread-platform",
"${chip_root}/third_party/openthread/platforms:libopenthread-platform-utils",
"${chip_root}/third_party/qpg_sdk:qpg_lock_factorydata_lib",
"${chip_root}/third_party/qpg_sdk:qpg_lock_factorydata_lib",
"${chip_root}/third_party/qpg_sdk:qpg_lock_firmwaredata_lib",
]

if (chip_openthread_ftd) {
Expand Down
12 changes: 8 additions & 4 deletions third_party/qpg_sdk/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,8 @@ qpg_make_build("qpg_light_factorydata") {
make_output = [ "${target_gen_dir}/${qpg_sdk_lib_dir}/FactoryData_light_static_pake/libFactoryData_light_static_pake.a" ]
make_args = [
"-f",
rebase_path(qpg_sdk_root, root_build_dir) + "/Libraries/Qorvo/FactoryData/Makefile.FactoryData_light_static_pake",
rebase_path(qpg_sdk_root, root_build_dir) +
"/Libraries/Qorvo/FactoryData/Makefile.FactoryData_light_static_pake",
"WORKDIR=" + rebase_path(target_gen_dir, root_build_dir) +
"/${qpg_sdk_lib_dir}/FactoryData_light_static_pake",
]
Expand All @@ -207,7 +208,8 @@ qpg_make_build("qpg_lock_factorydata") {
make_output = [ "${target_gen_dir}/${qpg_sdk_lib_dir}/FactoryData_lock_static_pake/libFactoryData_lock_static_pake.a" ]
make_args = [
"-f",
rebase_path(qpg_sdk_root, root_build_dir) + "/Libraries/Qorvo/FactoryData/Makefile.FactoryData_lock_static_pake",
rebase_path(qpg_sdk_root, root_build_dir) +
"/Libraries/Qorvo/FactoryData/Makefile.FactoryData_lock_static_pake",
"WORKDIR=" + rebase_path(target_gen_dir, root_build_dir) +
"/${qpg_sdk_lib_dir}/FactoryData_lock_static_pake",
]
Expand All @@ -230,7 +232,8 @@ qpg_make_build("qpg_light_firmwaredata") {
make_output = [ "${target_gen_dir}/${qpg_sdk_lib_dir}/FirmwareData_light/libFirmwareData_light.a" ]
make_args = [
"-f",
rebase_path(qpg_sdk_root, root_build_dir) + "/Libraries/Qorvo/FactoryData/Makefile.FirmwareData_light",
rebase_path(qpg_sdk_root, root_build_dir) +
"/Libraries/Qorvo/FactoryData/Makefile.FirmwareData_light",
"WORKDIR=" + rebase_path(target_gen_dir, root_build_dir) +
"/${qpg_sdk_lib_dir}/FirmwareData_light",
]
Expand All @@ -245,7 +248,8 @@ qpg_make_build("qpg_lock_firmwaredata") {
make_output = [ "${target_gen_dir}/${qpg_sdk_lib_dir}/FirmwareData_lock/libFirmwareData_lock.a" ]
make_args = [
"-f",
rebase_path(qpg_sdk_root, root_build_dir) + "/Libraries/Qorvo/FactoryData/Makefile.FirmwareData_lock",
rebase_path(qpg_sdk_root, root_build_dir) +
"/Libraries/Qorvo/FactoryData/Makefile.FirmwareData_lock",
"WORKDIR=" + rebase_path(target_gen_dir, root_build_dir) +
"/${qpg_sdk_lib_dir}/FirmwareData_lock",
]
Expand Down

0 comments on commit e1b052d

Please sign in to comment.