Commit Graph

14 Commits

Author SHA1 Message Date
Mike Hommey
be8cbce5d2 Bug 1319352 - Allow to run AccEventGen.py and xpild/header.py from any directory. r=mshal 2016-11-22 17:05:49 +09:00
Mike Shal
4ec1fd4109 Bug 1304136 - Use a single AccEventGen.py invocation; r=chmanchester
MozReview-Commit-ID: 84OjUxxK1lg
2016-09-18 15:30:32 -04:00
Mike Shal
f7e1d9e7e2 Bug 1304136 - have AccEventGen.py re-use xpidllex.py / xpidlyacc.py; r=chmanchester
MozReview-Commit-ID: 76M0KYAZCmW
2016-09-19 13:42:44 -04:00
Mike Hommey
c65e4ee047 Bug 1231148 - Avoid requiring IDL files installed in $DIST/idl to run AccEventGen.py. r=ted
While working on growing the fastermake backend to do compilation, I ran into
the problem that there's an implicit dependency from AccEventGen.py on the fact
that IDL files are installed in $DIST/idl. While we may need some way to
express such things in general, it turns out that for this specific use case,
we don't actually /need/ IDLs in $DIST/idl, and a couple paths are enough to
get things to work.
2015-12-09 19:23:53 +09:00
Chris Manchester
78c5666b6a Bug 1217015 - Convert AccEventGen.py to GENERATED_FILES and get rid of most of accessible/xpcom/Makefile.in r=glandium,tbsaunde 2015-11-16 16:51:51 -08:00
Ehsan Akhgari
d77cf3e2bf Bug 1145631 - Part 5: Replace MOZ_FINAL with final in the AccEventGen codegen; r=froydnj 2015-03-21 12:28:46 -04:00
Gregory Szorc
4c7e59b925 Bug 1108294 - Use mozbuild.makeutil for dependency file writing; r=froydnj
AccEventGen.py was using an old, one-off Python module for writing make
dependency files. We have a more appropriate API now. So we use it.

While we were here, we modified file writing to use FileAvoidWrite to
avoid always writing the output files and bumping mtimes.
2014-12-06 15:47:06 -08:00
Gregory Szorc
8dfb21a175 Bug 1108294 - Use positional arguments; r=froydnj
There is only 1 caller to AccEventGen.py in the tree. We don't need
optional arguments. Convert them to positional.

Since the arguments are no longer optional, branches related to their
presence have been removed.
2014-12-06 15:39:53 -08:00
Gregory Szorc
e415770112 Bug 1108294 - Switch to argparse; r=froydnj 2014-12-06 15:36:39 -08:00
Gregory Szorc
055d1915bc Bug 1108294 - Removed unused cachedir option; r=froydnj
The argument isn't used. Let's remove dead code.
2014-12-06 15:31:34 -08:00
Gregory Szorc
e661812602 Bug 1108294 - Modernize AccEventGen.py; r=froydnj
I/O handling in AccEventGen.py is old school. Let's use context
managers. Let's also fix some minor style foo.
2014-12-06 15:26:37 -08:00
Andrew McCreight
72ddbed1f0 Bug 1034923 - Make AccEventGen.py code generator generate classes with private destructors. r=tbsaunde 2014-07-28 10:15:58 -07:00
Benoit Jacob
db89202abc Bug 1028588 - Update AccEventGen.py to whitelist the dangerous public destructors that it generates - r=tbsaunde 2014-07-07 14:27:30 -04:00
Birunthan Mohanathas
e551bc9312 Bug 1028563 - Part 1: Flatten accessible/src/ directory. rs=surkov 2014-06-22 10:15:19 -07:00