diff options
| author | Patrice Arruda <patricearruda@google.com> | 2019-03-08 16:12:40 -0800 |
|---|---|---|
| committer | Patrice Arruda <patricearruda@google.com> | 2019-03-08 16:13:22 -0800 |
| commit | 8610dfd44168b5dc5236e96440713fcc021cf6d3 (patch) | |
| tree | d86bacf48300844a69e546c5008d40094b8d4ec4 | |
| parent | 9e75985c0d6d6ecd511ff719df70be384e380a6c (diff) | |
| parent | eaf410fe20ca1e592b5577c76eebcd5b0c70bd8e (diff) | |
| download | android_build_blueprint-8610dfd44168b5dc5236e96440713fcc021cf6d3.tar.gz android_build_blueprint-8610dfd44168b5dc5236e96440713fcc021cf6d3.tar.bz2 android_build_blueprint-8610dfd44168b5dc5236e96440713fcc021cf6d3.zip | |
Merge remote-tracking branch 'aosp/upstream' into merge_upstream
* aosp/upstream:
Moving the ParseBlueprintsFiles go comment in context.go.
Bug: N/A
Test: N/A
Change-Id: I1852f833dbb822035d38852c7f142aaaced9f1a5
| -rw-r--r-- | context.go | 18 |
1 files changed, 9 insertions, 9 deletions
@@ -604,15 +604,6 @@ type fileParseContext struct { doneVisiting chan struct{} } -func (c *Context) ParseBlueprintsFiles(rootFile string) (deps []string, errs []error) { - baseDir := filepath.Dir(rootFile) - pathsToParse, err := c.ListModulePaths(baseDir) - if err != nil { - return nil, []error{err} - } - return c.ParseFileList(baseDir, pathsToParse) -} - // ParseBlueprintsFiles parses a set of Blueprints files starting with the file // at rootFile. When it encounters a Blueprints file with a set of subdirs // listed it recursively parses any Blueprints files found in those @@ -622,6 +613,15 @@ func (c *Context) ParseBlueprintsFiles(rootFile string) (deps []string, errs []e // which the future output will depend is returned. This list will include both // Blueprints file paths as well as directory paths for cases where wildcard // subdirs are found. +func (c *Context) ParseBlueprintsFiles(rootFile string) (deps []string, errs []error) { + baseDir := filepath.Dir(rootFile) + pathsToParse, err := c.ListModulePaths(baseDir) + if err != nil { + return nil, []error{err} + } + return c.ParseFileList(baseDir, pathsToParse) +} + func (c *Context) ParseFileList(rootDir string, filePaths []string) (deps []string, errs []error) { |
