Commit Graph

1988 Commits

Author SHA1 Message Date
Mike Hommey
96c50c63fd Bug 899875 - Better handle empty arguments in pymake, and also treat whitespaces in bulk. r=ted 2013-08-02 10:29:31 +09:00
Jeff Muizelaar
df89698ddf Bug 900594. Support Android SDK v18.0.1 r=glandium
This makes configure use build-tools instead of platform-tools

--HG--
extra : rebase_source : 7cf330f178b81dc30dc1cc15af52a03329330c3a
2013-08-01 20:41:19 -04:00
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
Christian Holler
8f22b8b6df Bug 902157 - ASan: Add memory configuration for 4 GB test slaves. r=jmaher 2013-08-06 23:02:07 +02:00
Benoit Girard
daa7175de3 Bug 899858 - Cache pymake len() computation to speed up parsing. r=benjamin 2013-08-06 15:25:57 -04:00
Mike Hommey
fb9eaf3a84 Bug 901149 - Add the clang workaround for __float128 to HOST_CXXFLAGS when not cross-compiling. r=ted 2013-08-06 10:08:23 +09:00
Geoff Brown
9ee7b5c2df Bug 894454 - Avoid potential NullPointerException crashes in sutAgent; r=wlach 2013-08-02 20:25:32 -07:00
Jim Mathies
c56b36269e Bug 905628 - Fixup mochitest hang detection for metrofx. r=ted 2013-08-27 10:47:40 -05:00
Jason Yeo
3ba5a1d6b3 bug 763903: regularly run mozconfig comparisons. r=gps/bhearsum
--HG--
extra : rebase_source : bce7ca1529dd139f92ddb42f898aea3842ae0689
2013-07-31 14:27:13 -04: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
2a93f2cff1 Merge m-c to inbound. 2013-07-30 15:41:57 -04:00
Ryan VanderMeulen
6054b3a67b Merge m-c to fx-team. 2013-07-30 13:12:26 -04:00
Masatoshi Kimura
df9be4e65a Bug 898903 - Prevent env["PATH"] from becoming Unicode on Windows. r=jgriffin 2013-07-30 10:02:28 -04:00
Jeff Hammel
6aea2ea8e0 Bug 688667 - refactor automation.py into mozprocess and mozprofile and load via virtualenv. r=jmaher 2013-07-30 08:30:40 -04:00
Gregory Szorc
868c958cee Bug 794580 - mach mercurial-setup; r=nalexander
DONTBUILD (NPOTB)

--HG--
extra : rebase_source : b5cfc81d1a0537b5ae25a76c3ccc604383f60f6c
2013-07-29 16:58:40 -07:00
Mike Hommey
953a2608fd Bug 898998 - Turn BL into BLX when doing thumb call relocations and the target is ARM. r=nfroyd 2013-07-30 08:57:28 +09:00
Mike Hommey
c34b466603 Bug 895915 - Enforce host gcc/clang support for C++11. r=gps 2013-07-30 08:57:28 +09:00
Mike Hommey
70e713a366 Bug 893976 - Add a mach command to update uuids for specific interfaces and their descendants. r=gps 2013-07-30 08:57:28 +09:00
Mike Shal
f354fd56a7 Bug 888016 - Support compilation in subdirectories without VPATH; r=gps 2013-07-02 17:40:17 -04: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
Kartikaya Gupta
fb8cd07441 Bug 899421 - Rename getArguments so that FennecInstrumentationTestRunner is compatible with Android API level 18. r=gbrown 2013-07-30 11:13:34 -04:00
Geoff Brown
a3acba24e0 Bug 896199 - Add event queue for Robocop; r=margaret 2013-07-26 15:16:43 -07:00
Christian Holler
8e80e71596 Bug 898484 - Add --enable-stdcxx-compat to mozconfig.asan. r=bustage-fix 2013-07-26 19:43:12 +02:00
Armen Zambrano Gasparnian
33071fc155 Bug 895451 - Automate Talos setup & running Talos on the tree. DONTBUILD. r=gps 2013-07-26 11:04:31 -04:00
Gregory Szorc
838302cfb8 Bug 883209 - Part 1: Record system resource usage of builds; r=glandium 2013-08-20 10:42:25 -07:00
Mike Hommey
718e8ca64e Bug 894763 - Default objdir should reflect target, not host. r=gps 2013-07-23 07:26:09 +09:00
Mike Hommey
fbd8c3d2c7 Bug 892366 - Support R_ARM_CALL relocations in elfhack. r=nfroyd 2013-07-23 07:26:06 +09:00
Mike Hommey
f233339ae1 Bug 895253 - Disable crash reporter when cross building across different OSes (e.g. OSX android builds). r=ted 2013-07-21 13:58:42 +09:00
Mike Hommey
1c77819e51 Bug 895248 - Move --enable-stdcxx-compat in build/unix/mozconfig.linux. r=ted 2013-07-21 13:58:23 +09:00
Roberta De Viti
2f60adc1ac Bug 894717 - Fix 'plase upgrade' typo in autoconf files. r=khuey 2013-07-19 10:47:15 -07:00
Gervase Markham
83c0913922 Bug 715549 - remove last vestiges of tri-licence. DONTBUILD. 2013-07-19 16:08:33 +01:00
Gregory Szorc
4f9a15477d Bug 894227 - Add configobj Python package; rs=glandium
Version 4.7.2 added without modifications. Source obtained from PyPI.
2013-07-18 12:55:41 -07:00
Ed Morley
bb089a0b72 Merge latest green inbound changeset and mozilla-central 2013-07-16 09:57:55 +01:00
Gregory Szorc
3f54869e4b Bug 894197 - Define state directory in mach context object; r=jhammel
DONTBUILD (NPOTB)
2013-07-15 19:56:15 -07: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
Mike Hommey
27d57c9204 Bug 879792 - Import the STLport source. r=ted 2013-07-15 18:48:39 +09:00
Max Li
cfa1c7b7aa Bug 894000 - Fix dumbmake dependencies for accessible. r=gps
DONTBUILD
2013-07-15 16:06:10 -04:00
Ben Hearsum
be763b492b bug 763903: regularly run mozconfig comparisons for firefox. r=ted/bhearsum
--HG--
extra : rebase_source : 84a54e6362d8d6cef6bbd0a88c1f59e3fa7972b6
2013-07-15 13:27:12 -04:00
Ryan VanderMeulen
21a858bf52 Merge m-c to inbound. 2013-07-12 15:51:48 -04:00
Geoff Brown
fa768909f1 Bug 856129 - Increase RobocopUtils.runOnUIThreadSync timeout; r=cpeterson 2013-07-12 12:30:27 -07:00
Ryan VanderMeulen
adf2b0febc Merge inbound to m-c. 2013-07-12 13:29:35 -04:00
Rail Aliiev
ef413e3621 Bug 886842 - Add clang trunk builds for ASan. r=froydnj 2013-07-12 13:14:57 -04:00
Ed Morley
59e03e8a09 Merge latest green inbound changeset and mozilla-central 2013-07-11 10:10:13 +01:00
Rail Aliiev
eeb07ab90f Bug 886842 - Add clang trunk builds for ASan. r=bhearsum DONTBUILD 2013-07-10 15:35:57 -04:00
Mike Shal
3a57060438 Bug 751076 - fix $< and $^ for pymake; r=bsmedberg 2013-07-09 10:14:16 -04: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
Mike Hommey
5377dc0e9d Bug 892361 - Default to gcc 4.7 from the NDK if it's there. r=ted 2013-07-12 09:16:11 +09:00
Mike Hommey
c050bd0356 Bug 892355 - Force enable elfhack with --enable-elf-hack. r=ted 2013-07-12 09:15:10 +09:00
Mike Hommey
7e0a97a015 Bug 892366 - Support R_ARM_JUMP24 relocations in elfhack. r=nfroyd 2013-07-12 09:14:20 +09:00
Nathan Froyd
c8e4822013 Bug 902104 - upgrade to GCC 4.7.3; r=gps 2013-08-06 12:39:11 -04: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
Rail Aliiev
1424d44e93 Bug 870173 - Upgrade to clang 3.3. r=ehsan DONTBUILD 2013-07-09 09:56:28 -04:00
Nathan Froyd
2eaa2c7e22 Bug 887902 - move --enable-debug{,-symbols} option processing before MOZ_COMPILER_OPTS; r=glandium
MOZ_COMPILER_OPTS depends on MOZ_DEBUG_FLAGS being set for proper checking of
linker dead code deletion when using GCC.

GC'ing sections saves ~1.5MB off of mobile libxul according to size(1):

[froydnj@cerebro eideticker]$ size /opt/build/froydnj/build-android/dist/bin/libxul.so
   text	   data	    bss	    dec	    hex	filename
23733400	2314816	1495973	27544189	1a44a7d	/opt/build/froydnj/build-android/dist/bin/libxul.so
[froydnj@cerebro eideticker]$ size /opt/build/froydnj/build-android/dist/bin/libxul.so
   text	   data	    bss	    dec	    hex	filename
22261936	2145116	1494533	25901585	18b3a11	/opt/build/froydnj/build-android/dist/bin/libxul.so
2013-06-27 13:50:54 -04:00
Xavier Fung
03fce7081d Bug 888158 - Make configure to detect Visual Studio 2013 compiler. r=ted 2013-07-03 10:52:32 +09:00
Richard Newman
0b70a390ba Merge m-c to m-i. 2013-07-02 18:52:48 -07:00
Gregory Szorc
d707277573 Bug 889669 - Use Python 3 compatible octal syntax; r=ted
And change the permissions to be more standard for a user directory.

DONTBUILD (NPOTB)
2013-07-02 17:32:38 -07:00
Nick Alexander
8cb50a56ff Bug 818744 - mach commands to run Python and Python unit tests. r=gps
DONTBUILD because NPOTB
2013-07-02 17:33:48 -07:00
Chris Kitching
fd9b995e51 Bug 888074 - Replacing single-threaded uses of StringBuffer with StringBuilder. r=rnewman 2013-07-02 08:12:17 -04:00
Dan Minor (dminor@mozilla.com)
819b3ce50c Bug 881897: Reduce frequency of polling in remoteautomation.py; r=jmaher 2013-06-28 07:49:53 -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
Brian O'Keefe
ed17339221 Bug 875934 - Move LIBRARY_NAME to moz.build (batch #1); r=mshal
--HG--
extra : rebase_source : 385d3fd65475ffc18ee44ae088753649470e214b
2013-06-17 15:21:01 -04:00
Ryan VanderMeulen
779d5cd001 Backed out changeset 833ca9a17792 (bug 874132) for Android bustage on a CLOSED TREE. 2013-06-19 20:32:47 -04:00
Nick Alexander
f07706dc7a Bug 874132 - 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-19 17:05:14 -07:00
Ehsan Akhgari
58586425f5 Bug 752034 - Use the Windows SDK when building with Clang on Windows; r=ted 2013-06-13 13:09:22 -04:00
Ehsan Akhgari
178e23b597 Bug 882766 - Recognize clang even when it doesn't #define __GNUC__; r=ted
Clang on Windows #defines _MSC_VER but not __GNUC__, so we need to make sure
that the build system can recognize it even when __GNUC__ is not defined.
2013-06-13 13:03:13 -04:00
Nick Alexander
59c837659a Backed out changeset 3a4c1a113154 (Bug 874132) for jarsigner "Please specify alias name" errors. 2013-06-19 08:21:15 -07:00
Joey Armstrong
c1077b8b98 bug 872087: mozbuild HOST_LIBRARY_NAME conversion cleanup. r=gps 2013-06-19 09:19:25 -04:00
Nick Alexander
ecc3c7893d Bug 874132 - Part 3: Replace uses of apkbuilder with zip and custom debug signing tool. r=jmaher
--HG--
extra : rebase_source : cf6601c6591921397f96fd1011db43de962ee8ed
2013-06-18 09:25:16 -07:00
Nathan Froyd
c6742b25b1 Bug 874132 - Part 1: Handle SDK layout differences in the Android r22 SDK. r=nalexander
Author:    Nathan Froyd <froydnj@gmail.com>

--HG--
extra : rebase_source : 614b386efc0a2b13c6570c99d09d6ec99146c3e1
2013-06-18 09:25:15 -07:00
Andrew Halberstadt
e019ff186d Bug 882461 - add mozbase packages to sys.path in automation, r=jhammel 2013-06-17 13:22:39 -07:00
Garrett Robinson
752dfcb8f0 Bug 875126 - Make cgdb an option for mach --debugger. r=ted 2013-06-12 16:17:11 -04:00
Joshua Cranmer
896ab9bb65 Bug 869635 - Eliminate the xpcshell master manifest, r=gps. 2013-06-12 07:27:17 -05:00
Joey Armstrong
31b070fae0 bug 872087: move HOST_LIBRARY to moz.build (file batch #1). r=mshal 2013-06-10 12:21:32 -04:00
Jeff Hammel
7fc49a98a4 Bug 707976 - Remove manifestdestiny from its old location in m-c and use that in testing/mozbase;r=ahal
--HG--
extra : rebase_source : 78e596979ddfb001475270580afeab992694ed45
2013-06-07 12:30:11 -07:00
Mark Finkle
5927d48c9d Bug 861164 - use different search URLs for tablet vs. non-tablet [tests] r=margaret 2013-06-05 22:29:44 -04:00
Bob Clary
bdee7d94c0 Bug 879489 - SUTAgent - Make sure /data/local/tmp is a directory and is writable, r=jmaher. DONTBUILD 2013-06-05 11:25:43 -07:00
Ted Mielczarek
6437406700 bug 746244 - Port profileserver.py to Mozbase. r=jhammel
--HG--
rename : build/pgo/genpgocert.py.in => build/pgo/genpgocert.py
2013-05-28 15:33:57 -04:00
Ted Mielczarek
02c0500408 bug 746244 - clean up a few things in genpgocert.py. r=jmaher 2013-05-29 20:17:32 -04:00
Nathan Froyd
3d8d9eb5d4 Bug 875332 - add cgdb to the known debuggers list; r=jmaher 2013-05-23 10:56:18 -04:00
Jed Davis
25d9dcb405 Bug 873332 - Don't use -fno-omit-frame-pointer on ARM to avoid a GCC bug. r=glandium
The flag would not be useful for profiling on our current ARM platforms
even if it worked correctly, so we can just remove it.
2013-05-30 08:10:02 -04:00
Randell Jesup
724035d58f Bug 870002: remove mediastreamgraph:4 logging r=ehsan 2013-05-28 15:04:13 -04:00
Geoff Brown
c70fe46b2e Bug 876524 - Add sut uptime to sutAgent info and increase version to 1.18; r=jmaher 2013-05-28 08:43:33 -06:00
Geoff Brown
7b30abfec1 Bug 867360 - Get Service class correctly so Watcher runs as foreground service; r=jmaher 2013-05-28 08:43:31 -06:00
Geoff Brown
08eb0629b4 Bug 867360 - Add onTrimMemory handler to sutagent; r=jmaher 2013-05-28 08:43:28 -06:00
Geoff Brown
2773e68071 Bug 867360 - Add onLowMemory handler to watcher; r=jmaher 2013-05-28 08:43:26 -06:00
Geoff Brown
e0d72f5ec3 Bug 867360 - Improve setForeground logging in sutAgent; r=jmaher 2013-05-28 08:43:24 -06:00
Geoff Brown
d4c33810e1 Bug 867360 - Improve logging in watcher; r=jmaher 2013-05-28 08:43:22 -06:00
Mike Hommey
73a5771aa1 Bug 873334 - Add -march=pentiumpro when building in x64 buildbot environments. r=ted 2013-05-28 09:42:58 +02:00
Joshua Cranmer
68fd63a1cb Bug 868285 - Fix static checking builds, part 2: Add MOZ_NONHEAP_CLASS. r=ehsan
--HG--
rename : build/clang-plugin/tests/TestStackClass.cpp => build/clang-plugin/tests/TestNonHeapClass.cpp
2013-05-27 16:05:02 -05:00
Joshua Cranmer
7c881418dd Bug 868285 - Fix static checking builds, part 1: infer MOZ_STACK_CLASS. r=bsmedberg 2013-05-27 16:04:18 -05:00
Mike Shal
6f32ddf61c Bug 864774 - Part 2: Move CPPSRCS to moz.build as CPP_SOURCES; r=joey CLOSED TREE
From 9e0ba7f425143f545eb6c4b26a9a96b5ade4d8e9 Mon Sep 17 00:00:00 2001
2013-04-23 17:54:15 -04:00
Boris Zbarsky
1764bf1dfb Bug 875025. Use a deque, not a list, for the pending queue in pymake. r=glandium 2013-05-23 09:20:32 -04:00
Mike Hommey
cf465b943c Bug 875023 - Make Rule._executeweak faster in e.g. dom/bindings. r=ted 2013-05-23 07:27:50 +02:00
Gary Kwong
9e2251fc1f Bug 874658 - Add Valgrind suppression. DONTBUILD 2013-05-21 15:28:26 -07:00
Gary Kwong
984b84b963 Bug 794364 is WONTFIX since JM has been removed. DONTBUILD 2013-05-21 15:12:55 -07:00
Mike Hommey
0cd5049af1 Bug 873640 - Fix and cleanup profiledbuild profile script invocation. r=ted 2013-05-21 08:28:49 +02:00
Gregory Szorc
76e47f2072 Bug 874078 - Move RecursiveMakeBackend.built rule to rules.mk; r=glandium 2013-05-20 23:26:20 -07:00
Gregory Szorc
3b2a8f935c Bug 873798 - Mach will now create a directory for holding global state; r=ted 2013-05-20 18:07:48 -07:00
Gregory Szorc
3a41b0cbea Bug 872856 - Temporarily increase Python recursion limit in pymake; r=ted 2013-05-20 14:07:15 -07:00
Nick Alexander
17e1796751 Bug 863445 - Part 3: Make build/mobile/robocop/Makefile.in produce robocop-debug-signed.apk. r=jmaher
Also makes the developer-facing `make mochitest-robocop` run
robocop-debug-signed.apk, and deprecates `make
mochitest-robotium` (since we name this suite robocop on TBPL).
2013-05-20 11:39:50 -07:00