aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrice Arruda <patricearruda@google.com>2019-03-08 18:18:15 -0800
committerandroid-build-merger <android-build-merger@google.com>2019-03-08 18:18:15 -0800
commit9d82dc12b99acd112bc7cf93afc429663a9a1195 (patch)
treed86bacf48300844a69e546c5008d40094b8d4ec4
parent17ffc6bb8d46c74847db7eb339f4073cebf2429a (diff)
parentdcf31d03f4e3c2455e2a722fe504c21d33f39a07 (diff)
downloadandroid_build_blueprint-9d82dc12b99acd112bc7cf93afc429663a9a1195.tar.gz
android_build_blueprint-9d82dc12b99acd112bc7cf93afc429663a9a1195.tar.bz2
android_build_blueprint-9d82dc12b99acd112bc7cf93afc429663a9a1195.zip
Merge remote-tracking branch 'aosp/upstream' into merge_upstream am: 8610dfd441 am: 4fd7ad26c2
am: dcf31d03f4 Change-Id: I00472e469f0213e4db0f52039f682f2a2bb48c5c
-rw-r--r--context.go18
1 files changed, 9 insertions, 9 deletions
diff --git a/context.go b/context.go
index 3cd165a..324d1ec 100644
--- a/context.go
+++ b/context.go
@@ -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) {