mirror of
https://github.com/openharmony/communication_wifi_lite.git
synced 2026-06-30 22:07:58 -04:00
build: 将BUILD.gn改为主动暴露API,让其他人来实现其接口
之前的方式,将路径写死,单板适配必须在该路径下实现适配。 在board与soc分离后,有可能board来实现适配,也有可能soc来适配wifi的接口, 这样写死路径就有问题了,而是应该主动暴露出接口,让适配的人来deps,获取 这个模块暴露出的API。 Signed-off-by: SimonLi <likailong@huawei.com>
This commit is contained in:
@@ -11,6 +11,10 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
group("wifi") {
|
||||
deps = [ "$ohos_board_adapter_dir/hals/communication/wifi_lite/wifiservice:wifiservice" ]
|
||||
config("include") {
|
||||
include_dirs = [ "interfaces/wifiservice" ]
|
||||
}
|
||||
|
||||
group("wifi") {
|
||||
public_configs = [ ":include" ]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user