대상
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
문제 신고open_in_new
소스 보기open_in_new
종속 항목의 BUILD 대상
종속 항목 속성(
label
또는
label_list
)에 해당하는
ctx.attr
필드에 표시됩니다.
라벨
Label Target.label
대상의 식별자입니다.
파일즈
depset Target.files
이 대상에 대한 기본 출력의 File
집합입니다. target[DefaultInfo].files
와 같습니다.
가로세로_ID
list Target.aspect_ids
이 타겟에 적용된 aspect_ids
목록입니다.
제공업체
규칙 타겟의 제공업체는 색인 표기법(target[DefaultInfo]
)을 사용하여 유형별로 액세스할 수 있습니다. 제공업체의 존재 여부는 in
연산자(SomeInfo in target
)를 사용하여 확인할 수 있습니다.
규칙의 구현 함수가 Provider
인스턴스 목록 대신 struct
를 반환하는 경우 구조체의 필드는 Target
(target.some_legacy_info
)의 해당 필드를 통해 액세스할 수 있습니다. 이 동작은 지원 중단되었습니다.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2022-12-20 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"필요한 정보가 없음"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"너무 복잡함/단계 수가 너무 많음"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"오래됨"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"번역 문제"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"샘플/코드 문제"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"기타"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"이해하기 쉬움"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"문제가 해결됨"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"기타"
}]