Commit Graph

629 Commits

Author SHA1 Message Date
Gregory Szorc
f8426fa8ea Backed out 4 changesets (c0e8f2c0465f::608c663f691f) (bug 928195) for landing prematurely
--HG--
extra : rebase_source : fa42534ef50a0373738349f17b2ca57510bdd6ac
2013-11-19 10:16:51 -08:00
Gregory Szorc
0c46a02708 Bug 928195 - Part 6: Rewrite WebIDL build system integration
WebIDL build system integration has been rewritten from the ground up.
Changes:

* GlobalGen.py, BindingGen.py, and ExampleGen.py have been removed in
  favor of mozwebidl.py.

* Static .webidl files are now processed directly in their original location
  and aren't copied to the object directory.

* Generated events <stem>.cpp files are now compiled into the unified
  sources. Previously, only the <stem>Binding.cpp files were compiled
  into unified sources.

* Exported .h files are now generated directly into their final location.
  Previously, they were generated into the local directory then
  installed in their final location.

* The list of globalgen-generated files now lives in Python and isn't
  duplicated in 3 places.

* The make dependencies are much simpler as a result of using a single
  command to perform all code generation. The auto-generated .pp file from
  code generation sets up all dependencies necessary to reinvoke code
  generation and Python takes care of dependency management.

--HG--
extra : rebase_source : bde37d7aab3bd224ca8611f3ba4aaf6311e2faab
2013-11-14 09:52:49 -08:00
Gregory Szorc
e367cae742 Bug 939925 - Catch exceptions when recording resource usage; r=mshal
--HG--
extra : rebase_source : a9d1c353ae82376cac561c01c94698bf49a9777f
2013-11-18 11:17:41 -08:00
Mike Hommey
d532069006 Bug 940202 - One more followup to properly use $(DEPTH) on windows. rs=jcranmer 2013-11-19 16:06:30 +09:00
Joshua Cranmer
aa46ce9d92 Bug 940202 followup, due to missing a review comment. 2013-11-19 00:16:34 -06:00
Joshua Cranmer
40f2b0e149 Bug 940202 - Make FINAL_LIBRARY work with comm-central, r=glandium
--HG--
extra : rebase_source : fc8bc5cf6e69be02eeefa7dd98eb5273998831db
2013-11-19 00:12:25 -06:00
Mike Hommey
9c3682bcd9 Bug 939632 - Allow LIBRARY_NAME to be omitted when FINAL_LIBRARY is defined. r=gps 2013-11-19 11:48:13 +09:00
Mike Hommey
56b313a90d Bug 939074 - Infer LIBXUL_LIBRARY from FINAL_LIBRARY. r=gps 2013-11-19 11:47:52 +09:00
Mike Hommey
3b185d79c9 Bug 939044 - Make the build frontend and backend forget about MODULE. r=gps 2013-11-19 11:47:44 +09:00
Mike Hommey
f85ec564e8 Bug 939039 - Make FINAL_LIBRARY imply FORCE_STATIC_LIB. r=gps
This also moves the LIBXUL_LIBRARY implies FORCE_STATIC_LIB test in the emitter
instead of config.mk, since both variables are defined in moz.build exclusively.
backend.mk can end up with both LIBXUL_LIBRARY and FORCE_STATIC_LIB defined, but
it's just fine.
2013-11-19 11:47:26 +09:00
Mike Hommey
71b60fe95d Bug 935881 - Remove SHARED_LIBRARY_LIBS handling for moz.build. r=gps 2013-11-19 11:47:18 +09:00
Mike Hommey
015bd905d7 Bug 935881 - Add a FINAL_LIBRARY variable to use in moz.build. r=gps
This will be used to declare in what shared library or intermediate static
library objects are going to be linked into.
2013-11-19 11:46:42 +09:00
Ehsan Akhgari
b9589138e0 Bug 938844 - Add support for building .mm files in unified mode; r=glandium 2013-11-14 21:44:48 -05:00
Mike Hommey
9dc3df4425 Bug 915537 - Fix mach build --jobs. r=gps 2013-11-16 13:40:03 +09:00
Mike Hommey
3f4d0dc1ef Bug 938428 - Always return an int from the cl.py main function, so that sys.exit crazyness doesn't bite. r=gps 2013-11-16 13:39:08 +09:00
Nick Alexander
eb6e238088 Bug 933300 - Write preprocessed Fennec code into generated/org/mozilla/*. r=glandium 2013-11-13 19:32:55 -08:00
Nick Alexander
87836d119e Backed out changeset ba9c8fcf76e6 (bug 933300) 2013-11-13 17:11:58 -08:00
Nick Alexander
0e33d6ee0d Bug 933300 - Write preprocessed Fennec code into generated/org/mozilla/*. r=glandium
This writes source with preprocessed package names into
generated/org/mozilla/{firefox,firefox_beta,fennec,fennec_$USERID},
and the other preprocessed source into generated/org/mozilla/gecko.

This layout matches the Java package hierarchy and is what IDEs expect
when including $OBJDIR/generated as a source directory.

--HG--
extra : rebase_source : 5cc397e6808d21a662c1f718ef49ee148c15e465
2013-11-11 23:39:16 -05:00
Mike Hommey
c288856178 Bug 935857 - Add AC_SUBST_SET to create a set() of strings in config.status and use it for NECKO_PROTOCOLS. r=gps 2013-11-12 07:52:32 +09:00
Ryan VanderMeulen
7167362e03 Backed out changeset 9ad40457f58f (bug 936555) for checktest failures. 2013-11-11 13:40:42 -05:00
Nathan Froyd
d1025ea211 Bug 936555 - make mozinfo use MozconfigLoader to locate the mozconfig; r=gps 2013-11-08 14:57:31 -05:00
Mike Hommey
4904c608e9 Bug 935870 - Raise an exception when an emitted object is not acknowledged by the build backend. r=gps 2013-11-09 10:37:04 +09:00
Mike Hommey
c574cc46da Bug 935305 - Track preprocessor output dependencies. r=gps 2013-11-09 10:35:45 +09:00
Mike Hommey
91af4c88d7 Bug 935305 - Move preprocessor to mozbuild.action. r=gps
--HG--
rename : config/Preprocessor.py => python/mozbuild/mozbuild/preprocessor.py
rename : config/tests/unit-Expression.py => python/mozbuild/mozbuild/test/test_expression.py
rename : config/tests/unit-LineEndings.py => python/mozbuild/mozbuild/test/test_line_endings.py
rename : config/tests/unit-Preprocessor.py => python/mozbuild/mozbuild/test/test_preprocessor.py
2013-11-09 10:35:44 +09:00
Matthew Gregan
589191ab55 Bug 935343 - Add MOZ_{OGG,WEBM,DASH} to mozinfo. r=ted 2013-11-06 15:49:18 +13:00
Mike Hommey
e06a7f532c Bug 934334 - Fix packager's jar chrome formatter to handle resource:// urls. r=gps 2013-11-07 10:37:45 +09:00
Mike Hommey
b82b5f675a Bug 933145 - Skip directories without variables in moz.build that are relevant to compile or binaries during those tiers. r=gps 2013-11-07 10:37:44 +09:00
Mike Hommey
47f95a5be2 Bug 921816 - Handle idls in --with-libxul-sdk builds. r=gps 2013-11-07 10:37:44 +09:00
Mike Hommey
da3e100690 Bug 933779 - Always use forward slash as path separator when passing -C argument to make. r=mshal 2013-11-05 07:39:23 +09:00
Mark Hammond
25ce179d29 Bug 930849 - add a datareporting field to mozinfo. r=ted 2013-11-04 11:18:20 +11:00
Mike Hommey
2a211e7c14 Bug 933120 - Move HOST_PROGRAM and HOST_SIMPLE_PROGRAMS to moz.build. r=gps 2013-11-02 08:44:11 +09:00
Mike Hommey
0b53da458d Bug 933135 - Treat SIMPLE_PROGRAMS more like PROGRAM. r=mshal 2013-11-02 08:43:55 +09:00
Boris Zbarsky
859ceb9e75 Bug 925382. Error out of unified bindings if one of them includes windows.h. r=froydnj 2013-11-01 15:39:24 -04:00
Mike Hommey
441da07b30 Bug 932213 - Move HOST_CMMSRCS to moz.build. r=gps 2013-10-30 07:51:48 +09:00
Mike Hommey
71cbbf51cb Bug 901561 - Move CMSRCS to moz.build. r=gps 2013-10-30 07:51:27 +09:00
Mike Hommey
f0654e63ba Bug 932170 - Add moz.build variables for generated sources. r=gps 2013-10-30 07:45:01 +09:00
Mike Hommey
40d78c1fd7 Bug 932133 - Error out when entries in *SOURCES have an unknown file type. r=gps 2013-10-30 07:42:45 +09:00
Gregory Szorc
f06199f920 Bug 932637 - mach build-backend should invoke config.status with explicit python; r=glandium
DONTBUILD (NPOTB) CLOSED TREE
2013-10-30 08:57:05 -07:00
Gregory Szorc
0fd2e15636 Bug 877308 - Change when build backend update check it performed; r=glandium
Before, we checked if config.status was stale in any entrant Makefile
(top level or child directory). This had undesirable side-effects for
partial tree builds, notably that if the build backend was out of date,
the current Makefile was invalidated.

With this patch, we only regenerate the build config automatically in
full/toplevel builds. If an outdated build config is detected on partial
tree builds, we error. The impact of this is mitigated by having mach
build automatically ensure the build config is current.

--HG--
extra : rebase_source : a3a2c1d2bf68d1c0727352ebd9bfb785654e45bf
2013-10-29 14:53:52 -07:00
Mike Hommey
62d2fd2c9d Bug 928244 - Add a UNIFIED_SOURCES variable to moz.build to trigger unified builds of the given sources. r=gps 2013-10-29 08:00:32 +09:00
Mike Hommey
883ee096ee Bug 928364 - Remove unified source dependencies completely, they're useless. r=gps
The backend.RecursiveMakeBackend.built business ensures config.status reruns
when moz.build changes, which is the only thing that would affect unified
sources. Rerunning config.status updates unified sources if they need to
be updated. Once updated, normal object dependencies will ensure they are
rebuilt. Those same dependencies will ensure they are rebuilt when one of
the C/C++ sources they include change. IOW, unified sources don't need any
explicit dependencies generated by the backend.
2013-10-24 08:06:01 +09:00
Mike Hommey
cf2b1d71d9 Bug 930896 - Keep track of files generated by a build backend. r=gps 2013-10-29 08:00:30 +09:00
Mike Hommey
afa482bb03 Bug 930899 - Improve backend file accounting. r=gps 2013-10-29 08:00:28 +09:00
Gregory Szorc
8a2d15ca5d Bug 927837 - Don't manage generated files in configure; r=glandium
--HG--
extra : rebase_source : b502ce209de6a0ae10e130644e424687e4fae85e
2013-10-23 14:43:32 -07:00
Ted Mielczarek
6465801ee0 Bug 930674 - Add NO_VISIBILITY_FLAGS to moz.build. r=gps 2013-10-24 15:06:19 -04:00
Nick Alexander
6e741bcaa6 Bug 925185 - Part 1: Add add_java_jar to moz.build. r=gps 2013-10-24 15:38:14 -07:00
Mike Hommey
f1c0c07862 Bug 929905 - Consolidate sources in moz.build. r=gps 2013-10-25 08:23:05 +09:00
Mike Hommey
df8861ae74 Bug 930380 - Make sure *SOURCES only point to existing files. r=gps 2013-10-25 07:58:17 +09:00
Brian O'Keefe
a0e1e1f082 Bug 928709 - Add support for adding include directories from the objdir in moz.build files, r=mshal 2013-10-02 13:17:55 -04:00
Mike Hommey
f95f9c0f19 Backout changeset 6f52040ede0d (bug 928364) for PGO bustage 2013-10-24 09:37:06 +09:00
Mike Hommey
3251f9a16e Bug 928364 - Remove unified source dependencies completely, they're useless. r=gps
The backend.RecursiveMakeBackend.built business ensures config.status reruns
when moz.build changes, which is the only thing that would affect unified
sources. Rerunning config.status updates unified sources if they need to
be updated. Once updated, normal object dependencies will ensure they are
rebuilt. Those same dependencies will ensure they are rebuilt when one of
the C/C++ sources they include change. IOW, unified sources don't need any
explicit dependencies generated by the backend.
2013-10-24 08:06:01 +09:00
Mike Hommey
80c623bb6a Bug 921492 - Make StrictOrderingOnAppendList use actual alphabetical sorting. r=mshal,r=gps 2013-10-24 08:05:43 +09:00
Mike Hommey
5072f65f8c Bug 913268 - Make CPP_SOURCES a StrictOrderingOnAppendList. r=mshal 2013-10-24 08:00:23 +09:00
Mike Hommey
c814e03f96 Bug 929896 - Make GTEST_CPP_SOURCES a StrictOrderingOnAppendList. r=mshal 2013-10-24 07:59:50 +09:00
Ziga Seilnacht
23a5847a67 Bug 922517 - fix O(tests * support-files) behaviour in _process_test_manifest, r=gps 2013-10-22 15:17:00 -07:00
Joshua Cranmer
2d47e0d02f Bug 920849 - Fix regression that stops comm-central from building, r=gps 2013-10-23 12:11:02 -05:00
Gregory Szorc
2d833c33bd Bug 920849 - Part 1: Write metadata for every test file; r=ted 2013-10-22 15:51:49 -07:00
Gregory Szorc
f7a94d6205 Bug 585011 - Move cl.py to mozbuild; r=ted
--HG--
rename : build/cl.py => python/mozbuild/mozbuild/action/cl.py
2013-10-22 14:25:56 -07:00
Joshua Cranmer
59413baca5 Bug 900526, part 5: Move DIST_SUBDIR to moz.build, r=gps 2013-10-21 13:10:04 -05:00
Joshua Cranmer
4c2b5f285c Bug 900526, part 3: Define FINAL_TARGET and friends in moz.build, r=gps 2013-10-21 13:08:35 -05:00
Joshua Cranmer
b2e90c70eb Bug 900526, part 1: Allow inheritable moz.build variables, r=gps. 2013-10-21 13:07:30 -05:00
Gregory Szorc
66fbf0f582 Bug 927143 - Reject srcdir == objdir build configurations; r=glandium 2013-10-18 09:25:53 -07:00
Nick Alexander
e0797be011 Bug 900522 - Part 3: Add passthru ANDROID_GENERATED_RESFILES. r=gps
This defines all of the Android resources in moz.build files (although
some are still generated by mobile/android/base/Makefile.in).
2013-10-09 16:19:00 -07:00
Nick Alexander
bd330d2ef9 Bug 900522 - Part 1: Make ANDROID_RESFILES a moz.build-only variable. r=gps
This depends on Bug 923306, which I think is close to r=glandium.
Since this is more moz.build than Android, r?=gps.
2013-10-09 16:18:00 -07:00
Mike Hommey
c193f8915c Bug 925605 - Allow to build with a special build of GNU make on windows. r=gps 2013-10-16 08:34:18 +09:00
Wes Kocher
7bb1f5f924 Backed out changeset 5f0bfb16fa4a (bug 925605) 2013-10-15 16:57:00 -07:00
Mike Hommey
1ce72be793 Bug 925605 - Allow to build with a special build of GNU make on windows. r=gps 2013-10-16 08:34:18 +09:00
Gregory Szorc
64d15490de Bug 924617 - Part 1: Properly format jar.py; r=mshal 2013-10-11 13:20:28 -07:00
Gregory Szorc
c399347494 Bug 924615 - Move JarMaker.py into mozbuild; r=mshal
--HG--
rename : config/JarMaker.py => python/mozbuild/mozbuild/jar.py
rename : config/tests/unit-JarMaker.py => python/mozbuild/mozbuild/test/test_jarmaker.py
2013-10-11 13:19:11 -07:00
Gregory Szorc
55cde06d2a Bug 924977 - More proper current working directory handling in mach; r=ahal 2013-10-11 12:44:15 -07:00
Gregory Szorc
0e90911ef6 Bug 924331 - Move config/utils.py into mozbuild; r=mshal 2013-10-11 08:23:18 -07:00
Gregory Szorc
ec3d3cdf0d Bug 585016 - Move buildlist.py to a mozbuild action; r=mshal
--HG--
rename : config/buildlist.py => python/mozbuild/mozbuild/action/buildlist.py
rename : config/tests/unit-buildlist.py => python/mozbuild/mozbuild/test/action/test_buildlist.py
2013-10-11 07:22:49 -07:00
Wes Kocher
3087222a6b Merge m-c to inbound 2013-10-10 19:09:24 -07:00
Mike Hommey
b3cfa7f32d Bug 925236 - Don't parallelize the libs and tools tiers because of the race conditions they show now they don't compile. r=gps 2013-10-11 08:15:59 +09:00
Gregory Szorc
a8261d9db9 Bug 920638 - Integrate moz.build symbols and Python API docs into Sphinx; r=mshal 2013-10-10 10:35:44 -07:00
Marco Castelluccio
4778ce1568 Bug 924549 - Add MOCHITEST_WEBAPPRT_CHROME_MANIFESTS to specify webapprt chrome tests and convert all the webapprt mochitests to use manifests. r=gps 2013-10-09 09:16:18 -04:00
Carsten "Tomcat" Book
55bf9692c8 merge fx-team to mozilla-central 2013-10-09 10:15:37 +02:00
Matt Brubeck
c5f3d79040 Bug 923273 - Convert MOCHITEST_METRO_FILES to manifests [r=gps,rsilveira]
--HG--
rename : browser/metro/base/tests/mochiperf/perfhelpers.js => browser/metro/base/tests/mochiperf/head.js
2013-10-08 14:19:06 -07:00
Gregory Szorc
63995b9d13 Bug 920637 - FileCopier should create destination directory if it doesn't exist; r=glandium 2013-10-04 15:00:39 +02:00
Ms2ger
ae8c899faf Merge m-c to inbound. 2013-10-03 11:09:17 +02:00
Ms2ger
cc2c3c7a4b Bug 912438 - Part b: Fix paths in CSRCS; r=mshal 2013-10-03 09:10:01 +02:00
Ms2ger
8a331d5c61 Bug 912099 - Part h: Make sure CPP_SOURCES only points to existing files in js/src; r=mshal 2013-10-03 09:10:01 +02:00
Ms2ger
6f0f72968c Bug 912099 - Part f: Make sure CPP_SOURCES only points to existing files in toolkit/crashreporter; r=mshal 2013-10-03 09:10:01 +02:00
Ms2ger
730c88af97 Bug 912099 - Part e: Make sure CPP_SOURCES only points to existing files in gfx/skia; r=mshal 2013-10-03 09:10:01 +02:00
Ms2ger
2a6ab9faaf Bug 912099 - Part d: Make sure CPP_SOURCES only points to existing files in gfx/layers; r=mshal 2013-10-03 09:10:01 +02:00
Ms2ger
cf97e02689 Bug 912099 - Part c: Make sure CPP_SOURCES only points to existing files in gfx/angle; r=mshal 2013-10-03 09:10:00 +02:00
Ms2ger
17e959d672 Bug 912099 - Part b: Make sure CPP_SOURCES only points to existing files in ipc/chromium; r=mshal 2013-10-03 09:10:00 +02:00
Ms2ger
2f7a94dd23 Bug 912099 - Part a: Make sure CPP_SOURCES only points to existing files in most of the tree; r=mshal 2013-10-03 09:10:00 +02:00
Mike Hommey
b4ca2abc11 Fixup for bug 905973 to fix test failure on windows. r=me 2013-10-02 12:08:19 +09:00
Mike Hommey
1e42ec5de9 Bug 921307 - Aggregate dependencies in subdirectories that are still recursed with pseudo derecurse. r=gps 2013-10-03 05:51:19 +09:00
Andrew Halberstadt
6f32019519 Bug 924472 - MachCommandBase should fallback to context.topdir if no topsrcdir is found, r=gps 2013-10-08 15:27:15 -04:00
Mike Hommey
6afff1c65c Bug 923060 - XPIDL_SOURCES impacts the libs tier; r=gps 2013-10-02 22:04:08 +09:00
Mike Hommey
dd0b7222ec Bug 921003 - For a given tier, skip directories without a Makefile.in and without variables in moz.build that are relevant to that tier. r=gps 2013-10-02 09:02:41 +09:00
Mike Hommey
9ff9ef374e Bug 905973 part 3 - Add a "binaries" tier that optimizes for recompilation times. r=gps 2013-10-02 08:53:23 +09:00
Mike Hommey
5481e9f418 Bug 905973 part 2 - Add a tool to link several dependency files together in three different ways. r=gps 2013-10-02 08:53:22 +09:00
Mike Hommey
5c826129ba Bug 905973 part 1 - Add a function to read simple dependency makefiles, and make makeutil.Rule faster. r=gps 2013-10-02 08:53:22 +09:00
Mike Hommey
2e338e152e Bug 922437 - Allow py_actions to run as pymake native commands. r=gps 2013-10-02 07:59:20 +09:00
Nathan Froyd
448fb52d08 Bug 921563 - part 4 - compile ipc/ipdl/ in "unity" mode; r=gps 2013-09-30 11:11:52 -04:00
Nathan Froyd
a495b2e869 Bug 921563 - part 3 - simplify test_ipdl_sources; r=gps 2013-09-30 11:10:32 -04:00
Gregory Szorc
4913cbaefb Bug 920184 - Have mach xpcshell-test and mochitest-* update test files automatically; r=ted 2013-10-01 18:36:44 +02:00
Gregory Szorc
eb23bcadad Bug 921987 - Don't install inactive tests; r=ted 2013-10-01 16:31:19 +02:00
Gregory Szorc
b43c9a4f33 Bug 920679 - Improve build environment detection in mach; r=glandium 2013-10-01 10:55:07 +02:00
Nathan Froyd
8051f41fcd Bug 921091 - make WEBIDL_FILES a StrictOrderingOnAppendList in moz.build; r=Ms2ger 2013-09-26 13:14:48 -04:00
Tareq Khandaker
4b0b8bdd91 Bug 869613 - Make mach build some/deeper/path do dependencies for some and
some/deeper. r=jdm
2013-09-27 14:47:37 -04:00
Gregory Szorc
2b2720f0c8 Bug 921070 - Remove precompile tier; r=glandium
It made sense at the time. We now have inverted tiers and will soon have
derecursified building. This doesn't make sense any more.
2013-09-26 16:05:10 -07:00
Gregory Szorc
fd5567445b Bug 914563 - Temporarily disable build resource recording on Windows; r=mshal 2013-09-26 09:19:05 -07:00
Gregory Szorc
98c63c456e Bug 920781 - Invoke pymake with calling python, not $PATH python; r=glandium 2013-09-26 09:18:08 -07:00
Ted Mielczarek
f3eed0a7de bug 920640 - fix crashreporter key in mozinfo.json when --enable-crashreporter is specified. r=gps 2013-09-26 11:19:04 -04:00
Nathan Froyd
d94c4d06d8 Bug 907789 - part 3 - build dom/bindings/ in "unified" mode; r=gps 2013-09-23 13:17:41 -04:00
Nathan Froyd
980030dae4 Bug 907789 - part 2 - use mozbuild.makeutil to write webidl file lists; r=gps 2013-09-13 20:21:05 -04:00
Nathan Froyd
8f7b83cf94 Bug 907789 - part 1 - write out webidl file lists as one big list; r=gps 2013-09-11 08:21:14 -04:00
Nathan Froyd
10b7e36077 Bug 916257 - part 3 - write ALL_IPDLSRCS and CPPSRCS in one go; r=gps 2013-09-23 10:21:41 -04:00
Nathan Froyd
e73b29def5 Bug 916257 - part 2 - separate out files-from-this-ipdl logic from writing CPPSRCS; r=gps 2013-09-13 15:03:15 -04:00
Nathan Froyd
5ca8abdaf0 Bug 916257 - part 1 - convert ipdlsrcs.mk writing to use mozbuild.makeutil; r=gps 2013-09-13 14:57:32 -04:00
Boris Zbarsky
5ffa4d1286 Bug 918011 part 2. Preprocess some of our test WebIDL files so we can have debug-only tests. r=khuey 2013-09-26 00:05:00 -04:00
Joshua Cranmer
cb8c6abbfb Bug 920418: Make paths relative to the appropriate topsrcdir in test manifests, r=gps 2013-09-25 15:09:07 -05:00
Ted Mielczarek
36c4f8116f Bug 919635 - Add manifests for Steeplechase tests to moz.build. r=gps
--HG--
extra : rebase_source : 9e0ac924da517d78d0d21e01730a1593ee917b31
2013-09-20 12:57:30 -04:00
Ryan VanderMeulen
0f48f51b07 Backed out changeset 0d924e17bba4 (bug 869613) for checktest failures. 2013-09-25 10:56:57 -04:00
Tareq Khandaker
277fe25a90 Bug 869613 - Make mach build some/deeper/path do dependencies for some and
some/deeper. r=jdm
2013-09-25 09:48:20 -04:00
Ed Morley
237c1c420a Backed out changeset 5b1a56afe153 (bug 919635) for test_sandbox_symbols.py failures 2013-09-25 13:48:35 +01:00
Ted Mielczarek
90b55956b7 Bug 919635 - Add manifests for Steeplechase tests to moz.build. r=gps 2013-09-20 12:57:30 -04:00
Gregory Szorc
e1e6f1327a Bug 901990 - Part 1: Integrate test manifests with build config; r=ted 2013-09-24 11:50:04 -07:00
Gregory Szorc
cb70d30253 Bug 918392 - Handle symlinked directories properly; r=glandium 2013-09-24 10:44:27 -07:00
Mike Hommey
5c9acca878 Bug 919045 - Only traverse test directories when tests are enabled with pseudo-derecurse. r=gps 2013-09-24 09:04:53 +09:00
Gregory Szorc
77ad28df4a Bug 917988 - Sphinx managed build system documentation; add mach build-docs; r=bsmedberg
--HG--
rename : python/mozbuild/dumbmake/README.rst => build/docs/mozbuild/dumbmake.rst
rename : python/mozbuild/mozbuild/frontend/README.rst => build/docs/mozbuild/frontend.rst
rename : python/mozbuild/README.rst => build/docs/mozbuild/index.rst
2013-09-20 15:46:43 -07:00
Gregory Szorc
5340d14552 Bug 794506 - Part 2: Add virtualenv APIs; r=ted 2013-09-20 15:46:25 -07:00
Gregory Szorc
fda57a4bf9 Bug 794506 - Part 1: Move virtualenv code under mozbuild; r=ted
--HG--
rename : build/virtualenv/packages.txt => build/virtualenv_packages.txt
rename : build/virtualenv/populate_virtualenv.py => python/mozbuild/mozbuild/virtualenv.py
2013-09-20 15:46:23 -07:00
Mike Hommey
1f9037d4ca Bug 915648 - Parallelize make export. r=gps 2013-09-20 13:30:17 +09:00
Mike Hommey
13d7c83e6c Bug 907365 - Parallelize compile and tools tiers. r=gps 2013-09-20 10:45:44 +09:00
Mike Hommey
107771f6d5 Bug 907365 - Pseudo-derecursify the build (opt-in). r=gps
Also remove the compile tier added in bug 912856 when pseudo-derecursify is disabled.
2013-09-20 10:44:11 +09:00
Gregory Szorc
a5b1f59879 Bug 911375 - Part 3: Remove PurgeManifest; r=glandium 2013-09-16 17:50:04 -07:00
Gregory Szorc
a560579be1 Bug 911375 - Part 2: Convert uses of PurgeManifest to InstallManifest; r=glandium 2013-09-16 17:49:44 -07:00
Andrew Halberstadt
ad613bb425 Bug 917055 - Add mach target for b2g desktop mochitests, r=jgriffin,gps 2013-09-19 14:43:44 -04:00
Mike Shal
fc4fc0816c Bug 874266 - Convert DEFINES to be a dict instead of a list; r=gps 2013-07-18 16:09:03 -04:00
Mike Hommey
7371888973 Bug 917086 - Disallow DIRS, PARALLEL_DIRS and TEST_DIRS under TOOL_DIRS and TEST_TOOL_DIRS, and adapt moz.build files accordingly. r=gps
Also mark TOOL_DIRS/TEST_TOOL_DIRS directories in backend.mk and recurse them normally instead of forcing make -C dir libs for them.
2013-09-19 07:43:02 +09:00
Gregory Szorc
35033a2ca3 Bug 910453 - Annotate read moz.build files with tier info. r=glandium 2013-08-28 14:37:10 -07:00
Andrew Halberstadt
591472e3e9 Bug 916913 - is_b2g condition shouldn't fail if tree not built, r=gps 2013-09-17 18:14:57 -04:00
Gregory Szorc
ed166665ad Backout 312925464acb:f24d5b2801f8 (bug 911375) for breaking the build 2013-09-17 09:14:58 -07:00
Gregory Szorc
de7e8e4185 Bug 911375 - Part 3: Remove PurgeManifest; r=glandium 2013-09-16 17:50:04 -07:00
Gregory Szorc
faa364777d Bug 911375 - Part 2: Convert uses of PurgeManifest to InstallManifest; r=glandium 2013-09-16 17:49:44 -07:00
Gregory Szorc
1382fff2bf Bug 905824 - Handle symlinks when validating build environment; r=ted 2013-09-12 15:19:17 -07:00
Nathan Froyd
b25c06df24 Bug 915717 - reduce duplication in moz.build's emission of simple lists; r=gps 2013-09-12 11:26:22 -04:00
Mike Hommey
78f452d2f3 Bug 915508 - Change the order of space and comma in the mach status line when several directories are built at the same time; r=gps 2013-09-12 15:14:11 +09:00
Joey Armstrong
106fd89f3d bug 882908: move OS_LIBS to mozbuild (logic). r=gps 2013-09-11 19:20:34 -04:00
Gregory Szorc
2e9f3f4fff Bug 914704 - Add WebIDL headers to dist/include install manifest; r=glandium 2013-09-10 17:07:59 -07:00
Mike Hommey
dcede70fbb Bug 912914 - Preserve targets and dependencies order when creating Makefiles with makeutil.py. r=gps
Also allow to add random statements (like variable assignment)
2013-09-11 08:21:39 +09:00
Olli Pettay
74d286ade3 Bug 900904 - Support webidl-only generated events, r=khuey,gps
--HG--
extra : rebase_source : cda37d1ae2ff9b969d081fe0ec103d4f07098a3b
2013-09-10 21:27:39 +03:00
Gregory Szorc
02aca3b970 Bug 914394 - Handle WindowsError on non-Windows; r=ted 2013-09-10 09:03:43 -07:00
Nathan Froyd
d03e18978a Bug 912197 - part 4 - write out lists of WebIDL source files for dom/bindings/; r=gps 2013-09-05 11:20:02 -04:00
Nathan Froyd
00da3e1ad5 Bug 912197 - part 3 - emit WebIDL objects during traversal; r=gps 2013-09-05 11:19:33 -04:00
Nathan Froyd
238e0c2875 Bug 912197 - part 2 - add WebIDL variables to the sandbox; r=gps 2013-09-05 11:19:11 -04:00
Nathan Froyd
2e473715c6 Bug 912197 - part 1 - add classes for WebIDL source files; r=gps 2013-09-05 11:18:55 -04:00
Gregory Szorc
272ac3bf20 Bug 914411 - Option to force mach build to use pymake; r=glandium 2013-09-09 22:28:36 -07:00
Gregory Szorc
338bd51fc4 Bug 860839 - Initial implementation of |mach test|; r=jhammel
The future of running tests is this command. It is a unified command for
running tests. Currently, it only supports running test suites from
their full test suite name or TBPL abbreviation. Support will be added
in the future for running individual tests or mixing and matching tests
of different flavors.
2013-09-09 12:37:38 -07:00
Ms2ger
426f200026 Bug 910251 - Support LOCAL_INCLUDES in moz.build; r=gps 2013-09-06 08:41:04 +02:00
Mike Hommey
cb4dfb8bff Bug 912292 - Always traverse sub-directories after executing rules in the current directory. r=gps 2013-09-05 15:08:43 +09:00
Mike Hommey
05b3f24e0e Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps 2013-09-05 09:01:46 +09:00
Mike Hommey
8c676ac42d Bug 912293 - Add a generic header and footer to generated Makefiles. r=gps 2013-09-05 09:01:45 +09:00
Gregory Szorc
2a957a50ed Bug 908977 - Generate XPIDL-derived headers directly into dist/include; r=glandium 2013-09-04 16:52:56 -07:00
Gregory Szorc
ed5c045c36 Bug 896797 - Part 3: Use install manifests for managing dist/include; r=glandium 2013-09-03 22:51:58 -07:00
Ed Morley
018c827b79 Backed out changeset 8090e534656a (bug 896797) on suspicion of causing bug 912451 on a CLOSED TREE 2013-09-04 12:44:59 +01:00
Gregory Szorc
fe08b9fbf7 Bug 896797 - Part 3: Use install manifests for managing dist/include; r=glandium 2013-09-03 22:51:58 -07:00
Gregory Szorc
4672bbb630 Bug 896797 - Part 2: Don't list autogenerated files in EXPORTS; r=glandium 2013-09-03 20:28:05 -07:00
Phil Ringnalda
c1c484bd50 Back out ce03cc2994aa:ae9f95fc1136 (bug 896797) for SpiderMonkey shell build bustage
CLOSED TREE
2013-09-03 23:21:30 -07:00
Gregory Szorc
36d7e59565 Bug 896797 - Part 3: Use install manifests for managing dist/include; r=glandium 2013-09-03 22:51:58 -07:00
Gregory Szorc
fab628e981 Bug 896797 - Part 2: Don't list autogenerated files in EXPORTS; r=glandium 2013-09-03 20:28:05 -07:00
Gregory Szorc
c9fa2dd120 Bug 911957 - Handle build output between BUILDSTATUS events; r=glandium 2013-09-03 22:30:12 -07:00
Gregory Szorc
47fdb1a58b Bug 911375 - Part 1: Add support for optional existing files; r=glandium 2013-09-03 22:16:47 -07:00
Phil Ringnalda
eb3f8a45e2 Back out cc6f66e761d8 (bug 896797) for Windows build bustage
CLOSED TREE
2013-09-03 21:55:21 -07:00
Gregory Szorc
295f553e4e Bug 896797 - Part 2: Don't list autogenerated files in EXPORTS; r=glandium 2013-09-03 20:28:05 -07:00
Gregory Szorc
d065e6449f Bug 911362 - FileCopier support for not removing unreferenced files; r=glandium 2013-09-03 19:38:07 -07:00
Joshua Cranmer
bf3fbdd530 Bug 910540 - Add moz.build logic for major library variables, r=glandium. 2013-09-02 22:04:25 -05:00
Joshua Cranmer
ec8e9ba72c Bug 909147 - xpcshell self-tests are broken for comm-central, r=gps.
--HG--
extra : rebase_source : d3509cdde22bd9b6374a06c0d8aafc4ba3351928
2013-08-31 20:27:16 -05:00
Mike Hommey
a66fcce227 Bug 910096 - Treat js/src differently from other "static" directories. r=gps 2013-08-30 11:12:23 +09:00
Mike Hommey
e16245a2fe Bug 909077 - Remove useless STATIC_DIRS and EXTERNAL_DIRS variables. r=gps 2013-08-30 11:10:19 +09:00
Ryan VanderMeulen
1d7bdba295 Merge inbound to m-c. 2013-08-29 00:00:10 -04:00
Andrew Halberstadt
2cda1a3ab6 Bug 908874 - Add mach command to run b2g mochitests, r=jgriffin,gps, DONTBUILD, a=NPOTB 2013-08-28 10:08:50 -04:00
Dave Camp
b32cfee08a Bug 901644 - Allow mach build paths to be specified relative to ; r=gps
--HG--
extra : rebase_source : 529399abba46287f038b679d8db970791ed113f2
2013-08-07 14:31:25 -07:00
Gregory Szorc
fc42180b67 Bug 909412 - Don't attempt to track tier progression during partial tree builds; r=glandium 2013-08-27 14:40:07 -07:00
Gregory Szorc
4f5eeddb04 Bug 908977 - Ensure added XPIDL files result in xpt rebuild; r=glandium 2013-08-25 19:21:40 -07:00
Gregory Szorc
07bbf0aeef Bug 908977 - Build all XPIDLs when performing a partial tree build; r=glandium 2013-08-25 19:21:18 -07:00
Gregory Szorc
273f9e99ae Bug 908296 - Catch all exceptions when importing psutil; r=ted
--HG--
extra : rebase_source : 7260ae283344fd8db3ef22923c33f9dc2166cc5f
2013-08-23 10:50:28 -07:00
Mike Hommey
069b5d8848 Bug 904743 - Use makefile creation helper in BindingGen.py, cl.py and xpidl-process.py. r=gps
While at it, fix dependencies generated by BindingGen.py
2013-08-23 08:09:17 +09:00
Mike Hommey
562cc4815f Bug 904743 - Add helpers to create simple makefiles and iterate loaded python modules. r=gps 2013-08-23 08:08:19 +09:00
Gregory Szorc
a99155675f Bug 854611 - Fix typo; r=bustage DONTBUILD (NPOTB) on a CLOSED TREE
--HG--
extra : rebase_source : 2724b2d1ade71d2f0639625caae50aa2ab626509
2013-08-22 12:52:25 -07:00
Gregory Szorc
62d658b958 Bug 854611 - Notification Center notification when a long build completes; r=ted
DONTBUILD (NPOTB)
2013-08-22 12:48:18 -07:00
Andrew Halberstadt
6aa2be2268 Bug 907552 - Add ability to specify cwd to MozbuildObject.from_environment(), r=gps 2013-08-22 15:24:40 -04:00
Masatoshi Kimura
650b314073 Bug 907968 - Remove a useless (even harmful) log. r=gps 2013-08-22 22:44:19 +09:00
Ms2ger
0b894b16bd Bug 907337 - Remove the special case for NO_DIST_INSTALL in emitter.py; r=mshal
It is obsoleted by the general case in recursivemake.py.
2013-08-22 08:56:02 +02:00
Ms2ger
c285c318c5 Bug 904831 - Part a: Support MSVC_ENABLE_PGO in moz.build; r=gps 2013-08-22 08:56:01 +02:00
Ms2ger
a3af10fc96 Bug 883284 - Part a: Support LIBXUL_LIBRARY in moz.build; r=mshal 2013-08-22 08:55:59 +02:00
Ms2ger
79ecb04f81 Bug 882859 - Part a: Introduce FAIL_ON_WARNINGS into moz.build; r=gps 2013-08-22 08:55:58 +02:00
Gregory Szorc
9edb6e2e8f Bug 907049 - Cache unicode representation of substs variables; r=glandium 2013-08-21 09:16:31 -07:00
Mike Hommey
328842af96 Fixup for bug 906101 breaking make clean on a CLOSED TREE. r=me 2013-08-21 08:59:29 +09:00
Gregory Szorc
41905b45f6 Bug 906101 - Move tier make logic into own .mk file and don't use from rules.mk; r=glandium
The existing tier traversal logic is only used in the top-level Makefile
but was present in rules.mk. This meant it was getting evaluated for
every Makefile. This was silly and thus the logic has mostly been moved into
its own .mk file and is only included for the root Makefile.
2013-08-20 13:03:39 -07:00
Gregory Szorc
c8099398e0 Bug 883209 - Part 2: Add HTML interface to render build resource usage; r=glandium 2013-08-20 10:42:28 -07:00
Gregory Szorc
838302cfb8 Bug 883209 - Part 1: Record system resource usage of builds; r=glandium 2013-08-20 10:42:25 -07:00
Sahil Chelaramani
dfefb7e2b0 Bug 891849 - mach's terminal magic causes weird jumps to the bottom. r=gps 2013-08-20 08:30:25 -04:00
Gregory Szorc
d561f14d5c Bug 905879 - More robust tier tracking; r=glandium 2013-08-20 00:06:32 -07:00
Phil Ringnalda
6269527131 Back out a82f3a08ff3a (bug 901644) for being both POTB and soon to be causing orange in mozbuild/test/test_util.py 2013-08-19 23:45:17 -07:00