Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • B buck
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 201
    • Issues 201
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 22
    • Merge requests 22
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Meta
  • buck
  • Merge requests
  • !420

Don't show warnings for superfluous R.txt entries in prebuilt aars

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Administrator requested to merge github/fork/tgummerer/no-warnings-for-prebuilt-aar into master Sep 14, 2015
  • Overview 9
  • Commits 1
  • Pipelines 0
  • Changes 10

Created by: tgummerer

Summary: Some R.txt files in prebuilt aars contain entries which are not defined in the res directory, e.g. the R.txt in the google-play-services-base aar contains the entries for all other play-services aars, but doesn't define all of them in the res directory.

Because buck recently switched to using the resource entries from the R.txt from a prebuilt aar, instead of generating them from the res directory, this causes warnings such as: "Cannot find resource 'RDotTxtEntry{idType=int, type=attr, name=adSize, idValue=0x7f010000}' in the uber R.txt.".

The user cannot do anything about these warnings, short of editing the prebuilt aar, and they could be distracting from actual issues in the project. Disable the warnings if the resources come from a prebuilt aar to fix this.

Test Plan: add test build project which includes the google-play-services-base

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/tgummerer/no-warnings-for-prebuilt-aar