On Wed, Jul 15, 2015 at 6:02 AM, Alex <[email protected]> wrote:

> Back with another silly question. I remember reading documentation about
> being able to generate moz.build files. I can't seem to find that
> documentation anymore...am I going crazy or was there a command line to
> generate moz.build files from directories/Makefiles?
>

You seem to have this backwards: |mach build-backend| parses moz.build and
Makefile.in files and generates sub-directories and Makefiles in the object
directory.

But moz.build files are hand written.  There are utilities to write
backend.mk files as the result of /parsing/ moz.build files: see
https://dxr.mozilla.org/mozilla-central/source/python/mozbuild/mozbuild/makeutil.py
for example.

Nick
_______________________________________________
dev-builds mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-builds

Reply via email to