summaryrefslogtreecommitdiff
path: root/tools/makeparallel/makeparallel.cpp
diff options
context:
space:
mode:
author Dan Willemsen <dwillemsen@google.com> 2016-11-09 17:22:15 -0800
committer Dan Willemsen <dwillemsen@google.com> 2016-11-09 17:53:33 -0800
commit04f53ed92303006e4dc7bc4d57cb999cd892c46d (patch)
treea39958db41dbb59641fd9de72dff345d61b4d874 /tools/makeparallel/makeparallel.cpp
parentcfabc42af9218daab8c2a3e8aa6c5b944266b013 (diff)
Split (ninja|soong).mk into config and rule portions
So that an external tool can read the configuration using dump-many-vars, and write out the soong.variables file while only loading config.mk. Also remove dumpvar-% from PARSE_TIME_MAKE_GOALS, since it's only used with CALLED_FROM_SETUP / config.mk. This provides an easy way to test this change as well. Test: get_build_var NINJA Test: get_build_var ANDROID_GOALS Test: get_build_var NINJA_GOALS Test: get_build_var KATI_GOALS Test: MAKECMDGOALS="droid sdk dumpvar-ANDROID_GOALS" get_build_var ANDROID_GOALS Test: MAKECMDGOALS="droid sdk dumpvar-NINJA_GOALS" get_build_var NINJA_GOALS Test: MAKECMDGOALS="droid sdk dumpvar-KATI_GOALS" get_build_var KATI_GOALS Test: MAKECMDGOALS="out/build-a.ninja dumpvar-ANDROID_GOALS" get_build_var ANDROID_GOALS Test: get_build_var SOONG_MAKEVARS_MK Test: get_build_var SOONG_VARIABLES Test: CALLED_FROM_SETUP=true BUILD_SYSTEM=build/core make -f build/core/config.mk out/soong/soong.variables showcommands Test: Compare soong.variables from above, and before/after with `m` Test: Compare out before/after with `m doesnotexist` Test: `m dist doesnotexist` Change-Id: I1bc291aa165297c930fe600067edad6ce4979210
Diffstat (limited to 'tools/makeparallel/makeparallel.cpp')
0 files changed, 0 insertions, 0 deletions