platform_build_soong/android
Colin Cross 15cd21a492 Report errors when opening config files
The error handling when opening config files was ignoring all errors
except ENOEXIST.  Report other errors, instead of passing nil to
json.NewDecoder and getting:
config file: out/soong/soong.config did not parse correctly: invalid argument

Bug: 73951413
Test: touch out/soong/soong.config && chmod a-r out/soong/soong.config && m
Test: rm out/soong/soong.config && m
Change-Id: I4a609b7f060b760b76ee829b83c0eb405340f58f
2018-02-27 19:30:40 +00:00
..
androidmk.go Use product instead of oem for Product specific module 2018-01-25 07:50:35 +09:00
api_levels.go Make *Context.Config return a Config instead of a interface{} 2017-11-30 00:44:11 +00:00
arch.go Remove armv5te 2018-01-08 15:48:25 -08:00
config.go Report errors when opening config files 2018-02-27 19:30:40 +00:00
config_test.go Prohibit accidental renames of product config json fields 2017-11-20 16:28:53 -08:00
defaults.go Convert Visit*Deps from blueprint.Module to android.Module 2017-10-24 13:01:03 -07:00
defs.go Make binaries executable 2017-08-31 13:48:52 -07:00
env.go Make *Context.Config return a Config instead of a interface{} 2017-11-30 00:44:11 +00:00
expand.go genrule: expand $$ to $$ 2016-11-22 15:41:08 -08:00
expand_test.go genrule: expand $$ to $$ 2016-11-22 15:41:08 -08:00
hooks.go Replace ModuleContext.AConfig() with Config() 2017-11-30 00:44:18 +00:00
makevars.go Make *Context.Config return a Config instead of a interface{} 2017-11-30 00:44:11 +00:00
module.go Pass nil instead of []string{} to ctx.Glob* functions 2018-02-23 11:31:45 -08:00
mutator.go Move namespace mutator earlier to support defaults 2018-01-26 20:21:18 -08:00
namespace.go Make ninja file deterministic even with dup module names 2017-12-04 17:44:32 -08:00
namespace_test.go Move namespace mutator earlier to support defaults 2018-01-26 20:21:18 -08:00
neverallow.go neverallows in Soong 2017-12-19 15:26:08 -08:00
onceper.go Add OncePer.Get() 2017-11-07 13:36:44 -08:00
package_ctx.go Remove unused intermediates parameter from ExistentPathForSource 2018-02-22 14:43:36 -08:00
paths.go Move AllowMissingDependencies check from PathsForSource to PathForSource 2018-02-23 11:31:45 -08:00
paths_test.go Propagate errors out of validatePath 2018-02-22 14:43:36 -08:00
prebuilt.go Add VisitDirectDepsWithTag 2018-01-02 18:23:43 -08:00
prebuilt_test.go Let tests override environment 2017-10-10 23:28:43 -07:00
proto.go Add proto.canonical_path_from_root 2018-02-22 16:48:35 -08:00
register.go Convert a missed Singleton 2017-11-30 00:42:49 +00:00
singleton.go Make SingletonContext.Rule take a blueprint.RuleParams 2017-12-12 11:12:32 -08:00
testing.go Make TestModule.Output print a list of all outputs on error 2017-12-06 03:55:08 +00:00
util.go Move string list utility functions to android package 2017-12-28 17:41:02 +00:00
util_test.go Move first/last unique elements utility functions to android package 2017-10-24 12:12:32 -07:00
variable.go Droiddoc Support in Soong 2018-02-22 11:14:13 -08:00
variable_test.go Support %s in product variable properties 2017-05-05 18:22:30 -07:00
writedocs.go Allow Soong to generate its own build documentation 2017-12-12 11:12:32 -08:00