| # Copyright 2023 The ChromiumOS Authors |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| # The list of files that are only needed when invoking emerge. We don't need |
| # these when building a package since alchemist has performed the analysis. |
| OVERLAY_ANALYSIS_FILE_PATTERN = [ |
| "profiles/**/package.accept_keywords", |
| "profiles/**/package.keywords", |
| "profiles/**/package.mask", |
| "profiles/**/package.provided", |
| "profiles/**/package.unmask", |
| ] |
| |
| # Compliments the above OVERLAY_ANALYSIS_FILE_PATTERN and lists all additional |
| # files that portage uses to compute the effective USE flags for a package. |
| OVERLAY_USE_FILE_PATTERN = [ |
| "profiles/**/package.use", |
| "profiles/**/package.use/**", |
| "profiles/**/package.use.force", |
| "profiles/**/package.use.force/**", |
| "profiles/**/package.use.mask", |
| "profiles/**/package.use.mask/**", |
| "profiles/**/package.use.stable.force", |
| "profiles/**/package.use.stable.force/**", |
| "profiles/**/package.use.stable.mask", |
| "profiles/**/package.use.stable.mask/**", |
| "profiles/**/use.force", |
| "profiles/**/use.force/**", |
| "profiles/**/use.mask", |
| "profiles/**/use.mask/**", |
| ] |
| |
| # These files don't serve a purpose inside the container. |
| OVERLAY_EXCLUDE = [ |
| "**/OWNERS", |
| "**/README", |
| "**/README.md", |
| "profiles/**/*.desc", |
| ] |