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
  • !34

Have aapt ignore BUCK files in res/ directories.

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Administrator requested to merge github/fork/verticalpalette/master into master Jun 04, 2013
  • Overview 2
  • Commits 1
  • Pipelines 0
  • Changes 2

Created by: verticalpalette

Summary: aapt will fail if it detects extra files and folders that are not explicitly ignored. Therefore, it was previously impossible to put a BUCK file in a res/ directory.

The motivating reason for allowing BUCK files in res/ directories is to allow targets such as:

in //src/com/example/res/BUCK

android_library( name = 'res', res = '.', deps = [], visibility = ['PUBLIC'], )

which could be referenced from the command line like so: buck build src/com/example/res

Test Plan: Successfully ran buck build src/com/example/res on a project where //src/com/example/res/ contained a BUCK file.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/verticalpalette/master