Commit Graph

127 Commits

Author SHA1 Message Date
Ms2ger
593cdb616e Bug 1044657 - Move PYTHON_UNIT_TESTS to moz.build; r=mshal
As a first step, this moves PYTHON_UNIT_TESTS to moz.build as a passthru
variable. In the future, we could hook it up to |mach test|.

The __init__.py files may not need to be in the list, but I don't want to
change the list here.
2014-07-28 17:51:12 +02:00
Gregory Szorc
54f7341e78 Bug 983185 - Ensure adding a WebIDL file incurs code generation. r=glandium 2014-03-17 12:41:42 -07:00
Gregory Szorc
cd8eabf185 Bug 950736 - Part 2: Make build failures of codegen.pp fatal; r=glandium
--HG--
extra : rebase_source : a2a815dd0342a8fdf2dacd7d643d4504e2f29eb5
extra : amend_source : 474af6a65c7ad26cdfc7d6eb26caf0b42fe741c3
2013-12-16 13:15:37 -08:00
Gregory Szorc
d41dc9d48b Bug 950736 - Don't use target of included file to perform WebIDL codegen; r=ted
Make blissfully ignores failures when processing targets of "include"
directives. This was causing failures of WebIDL codegen to be ignored
and causing make to get in a loop.

--HG--
extra : rebase_source : 1231255705315319b308b4303bc3fc41237fbfa0
extra : amend_source : cfd801d7a3490a2a712994a60e548e3482a4992e
2013-12-16 09:33:22 -08:00
Gregory Szorc
d53d3b5e5e Bug 928195 - Part 4: Rewrite WebIDL build system integration; r=bz, r=glandium
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 : e4918878274b22a412329c7cb18cc7138daf5dc6
2013-12-12 16:26:38 +09:00
Gregory Szorc
c97cea6fe6 Bug 928195 - Part 3: Consolidate all WebIDL Python logic into mozwebidl module; r=bz, froydnj
--HG--
extra : rebase_source : 050f1c3eb3bccdf369164be4e58c59fa71c19060
2013-11-18 13:02:11 -08:00
Ehsan Akhgari
4f4eb23279 Bug 943355 - Build some of the code in dom/bindings in unified mode; r=gps 2013-11-28 08:35:22 -05:00
Ms2ger
bd6c1c7dc9 Bug 931459 - Move LOCAL_INCLUDES to moz.build in dom/; r=mshal 2013-11-11 09:04:11 +01: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
Mike Hommey
cf2b1d71d9 Bug 930896 - Keep track of files generated by a build backend. r=gps 2013-10-29 08:00:30 +09:00
Trevor Saunders
e4cd176c9e [PATCH] bug 922566 - kill dom-config.mk
From 6681eaa8bb47ddb4756fd71738771c4c437101c0 Mon Sep 17 00:00:00 2001
---
 content/media/webspeech/recognition/Makefile.in |  1 -
 content/media/webspeech/recognition/moz.build   |  5 +-
 content/media/webspeech/synth/Makefile.in       |  1 -
 content/media/webspeech/synth/pico/Makefile.in  |  3 --
 dom/alarm/Makefile.in                           |  2 -
 dom/apps/src/Makefile.in                        |  1 -
 dom/base/Makefile.in                            |  2 -
 dom/base/moz.build                              | 26 ++++++++++-
 dom/battery/Makefile.in                         |  1 -
 dom/bindings/Makefile.in                        |  3 --
 dom/bindings/moz.build                          | 17 ++++++-
 dom/bindings/test/Makefile.in                   |  5 +-
 dom/bluetooth/Makefile.in                       |  2 -
 dom/bluetooth/moz.build                         |  7 ++-
 dom/browser-element/Makefile.in                 |  3 --
 dom/browser-element/moz.build                   |  6 ++-
 dom/camera/Makefile.in                          |  1 -
 dom/camera/moz.build                            |  5 +-
 dom/devicestorage/Makefile.in                   |  1 -
 dom/dom-config.mk                               | 61 -------------------------
 dom/encoding/Makefile.in                        |  1 -
 dom/fmradio/Makefile.in                         |  2 -
 dom/fmradio/ipc/Makefile.in                     |  1 -
 dom/fmradio/ipc/moz.build                       |  5 +-
 dom/fmradio/moz.build                           |  5 +-
 dom/icc/src/Makefile.in                         |  4 --
 dom/media/Makefile.in                           |  3 --
 dom/media/moz.build                             |  6 ++-
 dom/mobilemessage/src/Makefile.in               |  1 -
 dom/mobilemessage/src/moz.build                 |  5 +-
 dom/network/src/Makefile.in                     |  2 -
 dom/plugins/base/Makefile.in                    |  1 -
 dom/plugins/base/moz.build                      |  8 +++-
 dom/power/Makefile.in                           |  1 -
 dom/quota/Makefile.in                           |  1 -
 dom/system/gonk/Makefile.in                     |  2 -
 dom/telephony/Makefile.in                       |  1 -
 dom/time/Makefile.in                            |  1 -
 dom/wifi/Makefile.in                            |  5 --
 39 files changed, 85 insertions(+), 123 deletions(-)
 delete mode 100644 dom/dom-config.mk
 delete mode 100644 dom/wifi/Makefile.in
2013-10-23 17:20:55 -04:00
Brian O'Keefe
0cbcd904c7 Bug 928709 - Convert chromium-config.mk to mozbuild, r=mshal 2013-10-02 13:17:55 -04:00
Vicamo Yang
8095b80694 Bug 814556 - 1/2: Move mozilla::dom::icc::* to mozilla::dom. r=khuey, f=Ms2ger 2013-10-22 19:23:00 +08:00
Mike Hommey
346ab641f4 Bug 924992 - Use an absolute path for DIST for webidl generated headers install. r=gps 2013-10-17 07:55:18 +09:00
Jan-Ivar Bruaroey
e5a8abcf8f Bug 917328: Second, convert PeerConnectionImpl and PeerConnectionObserver to webidl. r=bz, rjesup 2013-10-14 12:53:56 -04:00
Ms2ger
df62fb8b0f Bug 900980 - Part a: Move unconditional assignments to EXPORT_LIBRARY to moz.build; rs=gps 2013-10-03 09:11:13 +02: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
Nathan Froyd
d94c4d06d8 Bug 907789 - part 3 - build dom/bindings/ in "unified" mode; r=gps 2013-09-23 13:17:41 -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
Olli Pettay
ec743dc7e4 Bug 915622, make generated events to have same dependencies as generated bindings, r=khuey
--HG--
extra : rebase_source : c285e140e66bbea365d0b8a2ad13fd87828f8ac7
2013-09-16 13:06:15 +03: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
Nathan Froyd
15bc82ea6a Bug 912197 - part 5 - move WebIDL.mk over to moz.build; r=khuey 2013-09-05 11:20:26 -04:00
Kyle Huey
6a6c67829f Bug 911258: Part 4 - Refactor exception implementations. r=bz 2013-09-08 20:28:50 -07:00
Mike Hommey
05b3f24e0e Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps 2013-09-05 09:01:46 +09: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
fab628e981 Bug 896797 - Part 2: Don't list autogenerated files in EXPORTS; r=glandium 2013-09-03 20:28:05 -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
Brian O'Keefe
0ee041b9fd Bug 875934 - Move LIBRARY_NAME to moz.build, batch 3; r=mshal 2013-08-15 09:02:09 -04:00
Kyle Huey
fe9a03e77b Bug 903772: Part 4 - Harmonize main thread and worker dictionary implementations. r=peterv 2013-08-22 22:17:09 -07:00
Ms2ger
19f3e043e3 Bug 904831 - Part b: Move unconditional MSVC_ENABLE_PGO definitions into moz.build; r=gps 2013-08-22 08:56:01 +02:00
Ms2ger
2fab82586f Bug 883284 - Part c: Move LIBXUL_LIBRARY into moz.build (d-e); r=mshal 2013-08-22 08:56:00 +02:00
Ms2ger
66214743ad Bug 882859 - Part b: Move FAIL_ON_WARNINGS into moz.build; r=joey+gps 2013-08-22 08:55:59 +02:00
Ms2ger
c590a6ce46 Bug 903778 - Move dom::Date into its own files; r=khuey 2013-08-22 08:30:38 +02:00
Nathan Froyd
d57e8764ad Bug 907749 - move -Wno-uninitialized addition to CXXFLAGS after including rules.mk; r=khuey 2013-08-21 10:49:45 -04:00
Brian O'Keefe
08e5de443f Bug 896177 - Remove more config.mk includes; r=gps 2013-07-17 16:07:14 -04:00
Gregory Szorc
b5e7ef12e3 Bug 890744 - Ensure updated WebIDL headers are installed after regen; r=glandium
--HG--
extra : rebase_source : d3c177eefa23f1203957a63c2d9276e38aad7818
2013-08-13 10:51:56 -07:00
Thomas Zimmermann
bda2731440 Bug 888595 - Convert BluetoothDevice to WebIDL. r=bz, r=echou
We keep the old XPIDL files in place to stay compatible with existing
code. They can probably be removed when all bindings have been converted
to WebIDL.
2013-08-12 10:34:28 +02:00
Carsten "Tomcat" Book
3f2e1bc9c0 Backed out changeset 6855c55668a7 (bug 888595) for mochitest oranges 2013-08-12 18:07:32 +02:00
Thomas Zimmermann
d1a87dc4f2 Bug 888595: Converted BluetoothDevice to WebIDL, r=bzbarsky,echou
We keep the old XPIDL files in place to stay compatible with existing
code. They can probably be removed when all bindings have been converted
to WebIDL.

--HG--
extra : rebase_source : b6612fbd237d89bd02a2fde34e121691be3c0f08
2013-08-12 10:34:28 +02:00
Bill McCloskey
a23e81d1e0 Bug 899804 - Make CPOWs handle instanceof with WebIDL interfaces (r=bz,dvander) 2013-08-01 16:45:17 -07: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
Brian O'Keefe
f98dd45a72 Bug 883502 - Part 1: Move 'chromium_config.mk' includes after rules.mk. r=gps 2013-07-04 08:28:43 -04:00
Boris Zbarsky
adcfc869b5 Bug 838146 part 3. Set up preprocessing of Navigator.webidl, since we want to make some stuff on Navigator build-time-conditional. r=khuey 2013-07-12 10:35:53 -04:00
Justin Wood
ae451a8cdb Bug 893798 - Remove superfluous comment spew in build logs. r=bz 2013-07-15 13:49:42 -04:00
Trevor Saunders
238525e2d8 bug 887483 - remove a bunch of useless assignments to FORCE_STATIC_LIB implied by LIBXUL_LIBRARY=1 r=mshal 2013-07-11 11:06:34 -04:00
Boris Zbarsky
f77e6564a3 Bug 861587 followup: get rid of a stray $ and some indent fixes. r=khuey 2013-05-30 13:05:42 -04:00
Boris Zbarsky
0550b4483a Bug 861587. Rejigger the WebIDL binding build system to do all binding codegen in a single python process while still using our dependency tracking for bindings to minimize the number of bindings we try to regenerate. r=khuey 2013-05-09 13:05:33 -04:00
Ted Mielczarek
47d7af59de bug 871712 - make MSVC PGO opt-in per-directory, and opt-in in the directories that matter. r=glandium 2013-05-16 09:33:26 -04:00