bazel-ios / cocoapods-bazel

A Cocoapods plugin for automatically generating Bazel BUILD files
Apache License 2.0
110 stars 21 forks source link

Exclude private headers from public #61

Open acidlynx opened 2 years ago

acidlynx commented 2 years ago

When we use implicit config about private and public headers for objc apple_framework, we get an error about duplication of files. This PR is fix it.

Adapters/HA/Memory/AliHASmartMemoryPressureManager.h' is duplicated in the 'srcs' attribute of rule 'AEFoundation_private_hdrs'
Adapters/HA/Memory/AliHASmartRecovery.h' is duplicated in the 'srcs' attribute of rule 'AEFoundation_private_hdrs'
Utils/NetworkInterceptor/AERNetworkInterceptor.h' is duplicated in the 'srcs' attribute of rule 'AEFoundation_private_hdrs'
Adapters/UT/AEBizTracker.h' is duplicated in the 'srcs' attribute of rule 'AEFoundation_private_hdrs'
Adapters/HA/Memory/Category/UIImageView+AliHARecovery.h' is duplicated in the 'srcs' attribute of rule 'AEFoundation_private_hdrs'
Utils/BlockKVO/MTKObservingMacros.h' is duplicated in the 'srcs' attribute of rule 'AEFoundation_private_hdrs'
Adapters/UT/AEFacebookTracker.h' is duplicated in the 'srcs' attribute of rule 'AEFoundation_private_hdrs'