Skip to content

Commit

Permalink
Moving OpenSSL Package Config into Common BUILD (#7018)
Browse files Browse the repository at this point in the history
  • Loading branch information
emargolis authored and pull[bot] committed Sep 10, 2021
1 parent 5c61237 commit 68c2128
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions src/tools/chip-cert/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,6 @@ import("//build_overrides/chip.gni")

import("${chip_root}/build/chip/tools.gni")

import("//build/config/linux/pkg_config.gni")

# TODO: Move it into common BUILD file to avoid multiple runs of pkg_config
pkg_config("openssl_config") {
packages = [ "openssl" ]
}

assert(chip_build_tools)

executable("chip-cert") {
Expand All @@ -40,7 +33,7 @@ executable("chip-cert") {
"chip-cert.h",
]

public_configs = [ ":openssl_config" ]
public_configs = [ "${chip_root}/src/crypto:openssl_config" ]

cflags = [ "-Wconversion" ]

Expand Down

0 comments on commit 68c2128

Please sign in to comment.