Commit Graph

640 Commits

Author SHA1 Message Date
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
Gordon P. Hemsley
e784156fe1 Bug 934165 - Increase clang version to 3.3 for MacPorts. r=gps 2013-11-06 16:19:53 -05:00
Matthew Gregan
eb99b92f03 Bug 934290 - Add PulseAudio build dep to bootstrap. r=gps
--HG--
extra : rebase_source : 6b2face4ede2e695f18b3859c01267717a5db917
2013-11-04 13:38:32 +13:00
Gregory Szorc
46cc91451e Bug 933499 - Fix bootstrap on fresh OS X 10.9 installations; r=ted
DONTBUILD (NPOTB) on a CLOSED TREE
2013-11-05 12:51:52 -08: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
Gregory Szorc
7477edf22f Bug 896379 - Fix build bootstrapper on fresh OS X installs; r=bsmedberg
DONTBUILD (NPOTB)
2013-07-23 10:23:47 -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
Andrew Halberstadt
96089c4e05 Bug 926607 - Make sure disabled category exists before dumping commands in it, r=jgriffin, DONTBUILD, a=NPOTB 2013-10-15 14:25:43 -04: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
Sebastiaan de Haan
c5fc098b2e Bug 908868 - Add code to the 'mach help' command to show disabled commands. r=gps 2013-10-11 13:41:25 -04: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
Gregory Szorc
7a94daf2c0 Bug 923039 - Normalize unicode environment variables to bytes; r=mbrubeck 2013-10-02 18:40:06 +02: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
Benjamin Peterson
d763598339 Bug 922190 - Remove bundled copy of simplejson. r=gps
--HG--
extra : rebase_source : 5d33bafacd732e6bfb7acb6bb4d171eabb7d258a
2013-10-01 10:32:58 -04: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
Garrett Robinson
5581917788 Bug 918050 - mach bootstrap should do the same thing for Linux Mint that it does for Ubuntu. r=gps 2013-09-20 13:05:30 -07: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
Drew Willcoxon
aa9a8c2b48 Bug 920299 - Make Mach logger colorize TEST-START and TEST-INFO. r=gps 2013-09-26 11:04:46 -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