You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In #10674 we had migrated the header information used for compilation from ObjcProvider to CcInfo, but we still left the direct header information in ObjcProvider, primarily for the use of our internal IDEs. But CcInfo has direct header information also, so the ObjcProvider information is largely redundant, and users should migrate to the direct header APIs in CcCompilationContext.
We plan to delete the direct header information in ObjcProvider. This will also allow us to delete some cumbersome APIs that have remained just to support that. ObjcProvider's direct_sources will remain, and continue to contain headers from the srcs attribute.
Starlark rules should be migrated for this change as follows:
Migrate uses of ObjcProvider's direct_headers to CcCompilationContext. ObjcProvider's direct_headers corresponds to CcCompilationContext's direct_public_headers plus direct_textual_headers. Related, CcCompilationContext also provides direct_private_headers and direct_headers.
Delete any header parameters to apple_common.new_objc_provider().
The text was updated successfully, but these errors were encountered:
In #10674 we had migrated the header information used for compilation from
ObjcProvider
toCcInfo
, but we still left the direct header information inObjcProvider
, primarily for the use of our internal IDEs. ButCcInfo
has direct header information also, so theObjcProvider
information is largely redundant, and users should migrate to the direct header APIs inCcCompilationContext
.We plan to delete the direct header information in
ObjcProvider
. This will also allow us to delete some cumbersome APIs that have remained just to support that.ObjcProvider
'sdirect_sources
will remain, and continue to contain headers from thesrcs
attribute.Starlark rules should be migrated for this change as follows:
Migrate uses of
ObjcProvider
'sdirect_headers
toCcCompilationContext
.ObjcProvider
'sdirect_headers
corresponds toCcCompilationContext
'sdirect_public_headers
plusdirect_textual_headers
. Related,CcCompilationContext
also providesdirect_private_headers
anddirect_headers
.Delete any header parameters to apple_common.new_objc_provider().
The text was updated successfully, but these errors were encountered: