Re: smartmake-like functionality has landed in mach

2013-05-06 Thread Josh Matthews
On 05/05/2013 09:07 PM, Felipe Gomes wrote: Is the idea of smartmake to make things also work for non-toplevel folders? For example, if I edit .cpp only in content/base/src, it should be enough to rebuild that and toolkit/library. However, `mach build content/base/src` won't add

Re: smartmake-like functionality has landed in mach

2013-05-06 Thread Nick Alexander
On 13-05-06 9:03 PM, Josh Matthews wrote: On 05/05/2013 09:07 PM, Felipe Gomes wrote: Is the idea of smartmake to make things also work for non-toplevel folders? For example, if I edit .cpp only in content/base/src, it should be enough to rebuild that and toolkit/library. However, `mach build

Re: smartmake-like functionality has landed in mach

2013-05-05 Thread Felipe Gomes
Is the idea of smartmake to make things also work for non-toplevel folders? For example, if I edit .cpp only in content/base/src, it should be enough to rebuild that and toolkit/library. However, `mach build content/base/src` won't add toolkit/library in that case. I think this would be a nice

Re: smartmake-like functionality has landed in mach

2013-05-04 Thread Neil
Gregory Szorc wrote: On 5/3/2013 11:19 AM, Reuben Morais wrote: You can also use |ac_add_options --with-chrome-format=symlink| to do something similar for the chrome JAR, it doesn't work with stuff that is preprocessed, but greatly reduces the number of files that require rebuildling

Re: smartmake-like functionality has landed in mach

2013-05-03 Thread Ehsan Akhgari
On 2013-05-02 7:23 PM, Dave Townsend wrote: On 5/2/2013 3:45 PM, Nick Alexander wrote: On 13-05-02 3:09 PM, Josh Matthews wrote: According to http://mxr.mozilla.org/mozilla-central/source/build/dumbmake-dependencies#8, it is equivalent to the following: ./mach build -X chrome xpcom

Re: smartmake-like functionality has landed in mach

2013-05-03 Thread Mike Hommey
On Fri, May 03, 2013 at 02:55:09AM -0400, Ehsan Akhgari wrote: Does it also build browser/app on OSX after every build? Since that is pretty much required all the time and often missed. Why is that always required? I never build browser/app and have not noticed any problems at least for

Re: smartmake-like functionality has landed in mach

2013-05-03 Thread Dave Townsend
On 5/2/2013 11:55 PM, Ehsan Akhgari wrote: On 2013-05-02 7:23 PM, Dave Townsend wrote: On 5/2/2013 3:45 PM, Nick Alexander wrote: On 13-05-02 3:09 PM, Josh Matthews wrote: According to http://mxr.mozilla.org/mozilla-central/source/build/dumbmake-dependencies#8, it is equivalent to the

Re: smartmake-like functionality has landed in mach

2013-05-03 Thread Dave Townsend
On 5/3/2013 12:21 AM, Mike Hommey wrote: On Fri, May 03, 2013 at 02:55:09AM -0400, Ehsan Akhgari wrote: Does it also build browser/app on OSX after every build? Since that is pretty much required all the time and often missed. Why is that always required? I never build browser/app and have

Re: smartmake-like functionality has landed in mach

2013-05-03 Thread Mike de Boer
I think it's much more an issue on Windows; there you need to build browser each and every time. On May 3, 2013, at 9:27 AM, Dave Townsend dtowns...@mozilla.com wrote: On 5/3/2013 12:21 AM, Mike Hommey wrote: On Fri, May 03, 2013 at 02:55:09AM -0400, Ehsan Akhgari wrote: Does it also build

Re: smartmake-like functionality has landed in mach

2013-05-03 Thread Kyle Huey
On Fri, May 3, 2013 at 1:37 AM, Mike de Boer mdeb...@mozilla.com wrote: I think it's much more an issue on Windows; there you need to build browser each and every time. Huh? I've been developing on windows for years and haven't seen this. - Kyle

Re: smartmake-like functionality has landed in mach

2013-05-03 Thread Reuben Morais
On May 3, 2013, at 8:53 AM, Ehsan Akhgari ehsan.akhg...@gmail.com wrote: On 2013-05-03 3:21 AM, Mike Hommey wrote: On Fri, May 03, 2013 at 02:55:09AM -0400, Ehsan Akhgari wrote: Does it also build browser/app on OSX after every build? Since that is pretty much required all the time and often

Re: smartmake-like functionality has landed in mach

2013-05-03 Thread Neil
Ehsan Akhgari wrote: On 2013-05-02 7:23 PM, Dave Townsend wrote: On 5/2/2013 3:45 PM, Nick Alexander wrote: On 13-05-02 3:09 PM, Josh Matthews wrote: According to http://mxr.mozilla.org/mozilla-central/source/build/dumbmake-dependencies#8, it is equivalent to the following: ./mach

Re: smartmake-like functionality has landed in mach

2013-05-03 Thread Nick Alexander
On 13-05-03 12:13 PM, Neil wrote: Ehsan Akhgari wrote: On 2013-05-02 7:23 PM, Dave Townsend wrote: On 5/2/2013 3:45 PM, Nick Alexander wrote: On 13-05-02 3:09 PM, Josh Matthews wrote: According to http://mxr.mozilla.org/mozilla-central/source/build/dumbmake-dependencies#8, it is

smartmake-like functionality has landed in mach

2013-05-02 Thread Nick Alexander
Hello dev-platform, If you don't use mach, this message does not concern you. If you use mach, in particular |mach build DIRECTORY|, keep reading. Bug 677452 landed smartmake-like functionality into mach, which I have dubbed dumbmake. smartmake (and dumbmake) [1] maintains a list of

Re: smartmake-like functionality has landed in mach

2013-05-02 Thread Nick Alexander
On 13-05-02 3:09 PM, Josh Matthews wrote: According to http://mxr.mozilla.org/mozilla-central/source/build/dumbmake-dependencies#8, it is equivalent to the following: ./mach build -X chrome xpcom toolkit/library That's correct. Or, if you're not a mach user, it translates to make -f

Re: smartmake-like functionality has landed in mach

2013-05-02 Thread Dave Townsend
On 5/2/2013 3:45 PM, Nick Alexander wrote: On 13-05-02 3:09 PM, Josh Matthews wrote: According to http://mxr.mozilla.org/mozilla-central/source/build/dumbmake-dependencies#8, it is equivalent to the following: ./mach build -X chrome xpcom toolkit/library That's correct. Or, if you're not a

Re: smartmake-like functionality has landed in mach

2013-05-02 Thread Josh Matthews
On 05/03/2013 12:35 AM, Nick Alexander wrote: On 13-05-02 4:23 PM, Dave Townsend wrote: On 5/2/2013 3:45 PM, Nick Alexander wrote: On 13-05-02 3:09 PM, Josh Matthews wrote: According to http://mxr.mozilla.org/mozilla-central/source/build/dumbmake-dependencies#8, it is equivalent to the