Commit Graph

1690 Commits

Author SHA1 Message Date
Gregory Szorc
131c503dfb Bug 902619 - Write mozinfo.json as part of config.status; r=ted
There are both mechanical and logical changes in this patch.

The mechanical changes involve moving some files into the mozbuild
package.

The logical changes include move writing of mozinfo.json into
config.status (from configure.in). There were some variable assignments
being performed in configure.in. These variables were read from
writemozinfo.py. However, these variables don't appear to be necessary!
Now that mozinfo has full access to the underlying config.status data
structure, it can now access these variables directly. I verified that
every variable being assigned in configure.in had a corresponding
AC_SUBST earlier in the file.

The only variable that's a bit weird is the TOPSRCDIR and MOZCONFIG
environment variables. mozinfo continues to look in the environment for
MOZCONFIG. However TOPSRCDIR is now coming from config.status.

As part of moving the code, I also modernized the test file, cleaned up
some style, and removed some unused imports.

--HG--
rename : config/writemozinfo.py => python/mozbuild/mozbuild/mozinfo.py
rename : config/tests/unit-writemozinfo.py => python/mozbuild/mozbuild/test/test_mozinfo.py
2013-08-07 23:48:41 -07:00
Nicholas Nethercote
16469ddd77 Bug 902251 - Use |hg manifest -q| in check_spidermonkey_style.py. r=gps.
--HG--
extra : rebase_source : bc1aecde278c6873a5bfb544ba0c889e10b54f5f
2013-08-06 20:58:56 -07:00
Trevor Saunders
f0d1977456 bug 900330 - generate the xpidl parser during precompile instead of export r=ted 2013-08-02 23:38:13 -04:00
Ed Morley
e87eb109e1 Backed out changeset f87e93861239 (bug 649607) for causing bug 901921 2013-08-06 10:42:42 -07:00
Bhavana Bajaj
80a67bd18b Merging in version bump NO BUG 2013-08-05 11:06:54 -07:00
Carsten "Tomcat" Book
c7c707deba Merge m-i to m-c 2013-08-05 11:18:59 +02:00
Robert Strong
b5a48596f7 Most entries in removed-files.in are not needed - Bug 649607 - Update removed-files.in after requiring update to the version with bug 563318. r=bbondy 2013-08-02 17:19:33 -07:00
Nicholas Nethercote
ead78b9335 Bug 880088 - Introduce check_spidermonkey_style.py, which currently checks SpiderMonkey header and #include hygiene, and some tests for it. code=njn,jorendorff. r=gps.
--HG--
extra : rebase_source : 15782e057795a6b4b8381e883d866943561fc050
2013-06-27 19:15:59 -07:00
ISHIKAWA, Chiaki
5c7f83aa4c Bug 893362 - Put a space after TIERDIR_START in two config.mk. r=gps 2013-08-02 20:30:46 -04:00
Ms2ger
ad06681e97 Bug 897458 - Move EXTRA_PP_JS_MODULES to moz.build; r=gps 2013-08-02 09:03:25 +02:00
Gregory Szorc
e24712af1c Bug 899792 - Establish precompile tier and move IPDL and WebIDL build rules; r=glandium
A new build tier is introduced: precompile. The intention is to replace
the export subtier with something better and nonrecursive. IPDL and
WebIDL code generation have been moved into this new tier and are
performed concurrently. This appears to reduce build times due to fewer
"single threaded" build actions.

The subtier tracking UI has been updated to reflect operations that can
occur in parallel. As subtiers are started, they turn yellow. They can
then complete in any order.

Nonrecursive targets have been added to preserve the IPDL and WebIDL
build targets such that developers can type |make| from leaf directories
like they have always done.
2013-07-30 17:00:24 -07:00
Mike Hommey
10c4603a7b Bug 899405 - Allow host and target compilers to depend on stdc++-compat independently. r=ted 2013-07-31 14:04:23 +09:00
Ryan VanderMeulen
dcd7a90f78 Backed out changesets 77fcbb01366c (bug 899792) and e7d81c2597f2 (bug 899241) for OSX bustage.
CLOSED TREE
2013-07-30 21:46:07 -04:00
Gregory Szorc
5fd8b7d40f Bug 899792 - Establish precompile tier and move IPDL and WebIDL build rules; r=glandium
A new build tier is introduced: precompile. The intention is to replace
the export subtier with something better and nonrecursive. IPDL and
WebIDL code generation have been moved into this new tier and are
performed concurrently. This appears to reduce build times due to fewer
"single threaded" build actions.

The subtier tracking UI has been updated to reflect operations that can
occur in parallel. As subtiers are started, they turn yellow. They can
then complete in any order.

Nonrecursive targets have been added to preserve the IPDL and WebIDL
build targets such that developers can type |make| from leaf directories
like they have always done.
2013-07-30 17:00:24 -07:00
Nick Alexander
f37aeaf3b5 Bug 898296 - Search for Android SDK build tools version 18.0.0. r=gps
This patch also tries to verify that the tools are actually found
early in the configure process, rather than failing with difficult to
parse errors at the end of the build.

Since the Android developer tools are defined earlier in the build
process, we can remove a work-around needed for |make install|.
2013-07-30 09:15:50 -07:00
Mike Shal
f354fd56a7 Bug 888016 - Support compilation in subdirectories without VPATH; r=gps 2013-07-02 17:40:17 -04:00
Trevor Saunders
64dbc43c4d backout bug 886526 because it probably made us use a lot more memory to link on windows 2013-07-29 11:03:21 -04:00
Ms2ger
8c6cc4fa47 Bug 888643 - Part c: Disallow CPP_UNIT_TESTS in Makefiles; r=gps 2013-07-24 09:24:07 +02:00
Trevor Saunders
2ab4763a5f bug 887483 - disallow FORCE_STATIC_LIB when LIBXUL_LIBRARY is set because its redundant r=gps 2013-06-25 14:28:42 -04:00
Matt Brubeck
5ee97af944 Bug 896028 - Add a standard Makefile variable for mochitest-metro files [r=gps] 2013-07-19 16:59:23 -07:00
Ryan VanderMeulen
7eb28cd59d Backed out 2 changesets (bug 893362) for check-sync-dir bustage.
Backed out changeset cb79166bb8fa (bug 893362)
Backed out changeset 9db461b687fd (bug 893362)
2013-07-16 09:57:12 -04:00
ISHIKAWA, Chiaki
7420bbd44f Bug 893362 - Align the target name for the START and FINISH in the build log. r=gps 2013-07-16 09:33:22 -04:00
Jan Beich
086b5462ff Bug 893508 - Don't hide ios/ostream symbols to fix build with some C++ runtimes. r=glandium 2013-07-16 14:09:24 +02:00
Mike Hommey
e9ee5bb8ee Bug 892904 - Remove useless includes of config.mk. r=gps 2013-07-15 18:48:40 +09:00
Mike Hommey
82b9fd31cd Bug 850576 - Statically link stlport on b2g and android, and always use a custom built stlport for that. r=ted 2013-07-15 18:48:39 +09:00
Benoit Girard
103cc87697 Bug 892861 - Remove useless -D flags 'IMPL_THEBES,_IMPL_NS_GFX,...'. r=glandium 2013-07-12 08:56:54 -04:00
Gregory Szorc
6cbb690469 Bug 892646 - Remove unsued final-link-{libs,comps,comp-names} files; r=glandium 2013-07-11 19:44:54 -07:00
Gregory Szorc
d98f76c5d1 Bug 891474 - Establish unified directory for Python build actions; r=glandium, ted
--HG--
rename : config/purge_directories.py => python/mozbuild/mozbuild/action/purge_manifests.py
rename : build/xpccheck.py => python/mozbuild/mozbuild/action/xpccheck.py
extra : rebase_source : 46bc960aa62c1117a7bf215653b768dc78b48d9a
2013-07-11 13:42:26 -07:00
Gregory Szorc
0a41c9c2f9 Bug 891632 - Port NO_DIST_INSTALL to moz.build; r=joey
Many of the moved variables are likely not needed. moz.build should one
day validate the sandbox's output and error if "useless" variables are
present.

--HG--
extra : rebase_source : 3abdea056c18d00ede8c15b37db60532eca58630
2013-07-10 12:08:21 -07:00
Ms2ger
5164d8900d Bug 888574 - Remove TAR_CREATE_FLAGS_QUIET, make TAR_CREATE_FLAGS quiet by default; r=gps+ted 2013-07-10 11:55:01 +02:00
Trevor Saunders
ace23958ea bug 886526 - disallow MODULE_NAME and IS_COMPONENT for makefiles in libxul r=bsmedberg 2013-06-25 11:15:21 -04:00
Trevor Saunders
5d9268dfa8 bug 886526 - remove nsStaticComponents.{h,cpp} r=bsmedberg 2013-06-15 05:50:25 -04:00
Trevor Saunders
90fb8e6096 bug 886526 - remove XPCOM_TRANSLATE_NSGM_ENTRY_POINT r=bsmedberg 2013-06-15 02:33:35 -04:00
Gregory Szorc
e65cc254d8 Bug 884587 - Part 1: Perform file removal with purge manifests; r=glandium
--HG--
extra : rebase_source : bfe9c0eb27d5b19e26e557af8762bb45c21b949e
2013-06-25 11:04:03 -07:00
Brian O'Keefe
91e899d57e Bug 885019 - Move GTEST_CPPSRCS, GTEST_CMMSRCS, and GTEST_CSRCS to moz.build as GTEST_CPP_SOURCES, GTEST_CMM_SOURCES, and GTEST_C_SOURCES. r=gps 2013-06-22 10:33:31 -04:00
Mike Shal
57e16067ad Bug 880245 - Convert JS_MODULES_PATH to be relative to $(FINAL_TARGET); r=gps 2013-06-17 13:59:49 -04:00
Nick Alexander
946beee7f8 Bug 885951 - Find jarsigner and keytool during configure. r=gps 2013-06-26 11:49:27 -07:00
Ryan VanderMeulen
b8d640eeab Backed out changeset 94c939eeb5f6 (bug 885019) for bustage. 2013-06-26 10:14:08 -04:00
Brian O'Keefe
74cc1dccb5 Bug 885019 - Move GTEST_CPPSRCS, GTEST_CMMSRCS, and GTEST_CSRCS to moz.build as GTEST_CPP_SOURCES, GTEST_CMM_SOURCES, and GTEST_C_SOURCES. r=gps 2013-06-22 10:33:31 -04:00
Dan Minor (dminor@mozilla.com)
6b27b7227e Bug 811404 - Stage cpptests as part of package-tests. r=ted 2013-06-24 13:45:32 -04:00
Ehsan Akhgari
a8bfea6116 Backed out 2 changesets (bug 884587) because of Windows build bustage on a CLOSED TREE
Backed out changeset 0244a34bc419 (bug 884587)
Backed out changeset 796961a384b4 (bug 884587)
2013-06-25 16:38:55 -04:00
Gregory Szorc
f8d99eeb9b Bug 884587 - Part 1: Perform file removal with purge manifests; r=glandium 2013-06-25 11:04:03 -07:00
Ryan VanderMeulen
6f4b79afc6 Backed out 2 changesets (bug 884587)
Backed out changeset 447ff64adbb1 (bug 884587)
Backed out changeset 8d90527c22c6 (bug 884587)
2013-06-25 15:22:37 -04:00
Gregory Szorc
d16a589a6d Bug 884587 - Part 1: Perform file removal with purge manifests; r=glandium 2013-06-25 11:04:03 -07:00
Phil Ringnalda
bd2fa2877b Merge m-c to m-i 2013-06-24 16:51:59 -07:00
Alex Keybl
fcfa80e959 Merging in version bump NO BUG 2013-06-24 11:37:32 -07:00
Gregory Szorc
74bdcff28e Bug 418593 - Cancel GNU make's built-in RCS/% rule; r=khuey 2013-06-24 10:14:12 -07:00
Gregory Szorc
1c0ba8fe42 Bug 885906 - Remove .sh and .pl catch anything implicit rules; r=khuey 2013-06-24 10:13:33 -07:00
Joey Armstrong
1156439ca4 bug 880246: move EXTRA_PP_COMPONENTS to mozbuild (cleanup). r=mshal 2013-06-20 15:59:59 -04:00
Nick Alexander
40c8cd76eb Bug 874132 - Second reland Part 3: Replace uses of apkbuilder with zip and custom debug signing tool. r=jmaher,mfinkle
This incorporates follow-ups including: rename the debug key; check if
key alias exists rather than just testing for keystore existence; set
$(AIDL).

Renaming the debug key works around an un-confirmed JDK bug in
jarsigner, where '-debug' and 'debug' compare the same.
2013-06-20 11:50:28 -07:00