On 2014-08-27, 1:57 PM, Boris Zbarsky wrote:
On 8/27/14, 1:46 PM, Ehsan Akhgari wrote:
Ah, that's pretty weird.  I would consider that a build system bug.
../mach build content/media/webaudio/compiledtest for example does the
right thing.

Well.

The codegen runs in dom/bindings, not dom/bindings test.

So if I do

   mach build dom/bindings/export dom/bindings/test

then the right thing happens: regeneration of bindings and compilation
of the test files.

Hmm, OK. I don't really understand this setup, happy to leave this to gps/glandium.

And it used to be that doing this:

   mach build dom/bindings/compiledtests

did basically the above, but that got broken at the same time as the
"mach build subdirectory" thing.

Right, but that should now be fixed right?

It also used to be the case that

   mach build dom/bindings

would regenerate the bindings and compile both bindings and tests; now
it doesn't compile the tests...

But yes, in my ideal world, "mach build dom/bindings/test" would do what
"mach build dom/bindings/compiledtests" used to do.

The setup for WebIDL is particularly tricky, and I don't really understand it. I hope what I said elsewhere in the thread still makes at least some amount of sense for this...

_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to