Closed Bug 94768 Opened 23 years ago Closed 23 years ago

provide a switch to turn off the building of Acccessibility

Categories

(Core :: XUL, defect, P1)

x86
Windows 2000
defect

Tracking

()

RESOLVED FIXED
mozilla0.9.4

People

(Reporter: mozilla, Assigned: mozilla)

References

Details

(Keywords: access)

Attachments

(4 files)

This is being driven by two factors:

1) There may be builds that do not want to include the building of
accessibility. For instance in a PDA-type device where there is no MSAA
accessibility and they have severly limited space.

2) The fix for bug 77648 has introduced a dependancy on MS Active Template
Libraries ( for windows builds only ) and some people may not want to install
those pieces of the development toolkit. Not to mention we are trying to keep
the codebase as compiler agnostic as possible ( although ATL seems to be
implemented on more than just the MSVC++ compiler -- Borland ).
w95make: Entering Directory 
f:\build\beonex\mozilla\widget\src\windows\expose\ISimpleDOMNode with target 
install
+++ make: Creating directory: WIN32_O.OBJ
dlldata.c
ISimpleDOMNode_p.c
ISimpleDOMNode_i.c
+++ make: Creating DLL: .\WIN32_O.OBJ\ISimpleDOMNodeMarshal.dll
   Creating library .\WIN32_O.OBJ\ISimpleDOMNodeMarshal.lib and object 
.\WIN32_O.OBJ\ISimpleDOMNodeMarshal.exp
    Installing .\WIN32_O.OBJ\ISimpleDOMNodeMarshal.dll into 
..\..\..\..\..\dist\WIN32_O.OBJ\bin\ISimpleDOMNodeMarshal.dll
NMAKE : fatal error U1077: 'regsvr32' : return code '0x5'
Stop.

MOZILLA_0_9_2_BRANCH (branch: 1.4.116).
Have the switch working on Windows, I will be posting a diff to test on linux in
a little while and testing it when I get into work after lunch. Also need to
test on Mac - mac changes will be included in the diff.
Status: NEW → ASSIGNED
Keywords: access
Priority: -- → P1
Target Milestone: --- → mozilla0.9.4
Accessibility would be on by default, to turn it off either:

1) on windows
  set DISABLE_ACCESSIBLITY=1 in your environment

2) on Linux/unix
  pass --disable-accessibility to whatever it is we pass those switches to ( put
it in you .mozilla )

3) on Mac set ACCESSIBILITY to 0 in a build script file. Not sure which one,
beard showed me it was possible. I figure mac people know where to set such
variables. I need to have one of them test this out.
If accessible requires MFC please honor NO_MFC=1.
as I understand it ATL is not MFC. We *only* require ( until I can hopefully
find a way around it ) 2 ATL headers for Accessibility. So the NO_MFC shouldn't
apply to this code.

The code posted above was written by aaronl, maybe he can talk to that
needing/requiring MFC better than I. I am unsure of wether needing regsvr32
indicates a dependancy on MFC or just on certain windows functionality.
mscott: can you verify that this patch fixes your problem on windows?

- also, there is an additional patch coming for linux - Makefile.in
r/sr on the Mac parts of the patch
Actually, you should only build the IDL if 'accessible' is on:

     BuildIDLProject(":mozilla:layout:macbuild:layoutIDL.mcp",                       
"layout");
 
+    if ($main::options{accessible}) {
       BuildIDLProject(":mozilla:accessible:macbuild:accessibleIDL.mcp",               
"accessible"); 
+    }
 
     BuildIDLProject(":mozilla:rdf:macbuild:RDFIDL.mcp",                             
"rdf");
r=leaf for build system changes, windows and linux.
sr=hyatt
Blocks: 95819
Checked in last night ( thurs 16 aug )
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
May God have mercy on us all. The 212 bug spam-o-rama is Now!
QA Contact: aegis → jrgm
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: