This function is needed within gfx but we don't want to put in a dependency for gfx on layout.
Created attachment 270280 [details] [diff] [review] Patch
Created attachment 270369 [details] [diff] [review] patch v.2 Added makefile change, libxul build on mac attempts to build nsBidiUtils.cpp from within the <objdir>/toolkit/library directory, so need to add headers to EXPORT list. Quite possibly there's a better build system way to do this...
I came across that problem also (which is why I hadn't checked in yet), and was going to solve it by addding LOCAL_INCLUDES += -I$(topsrcdir)/intl/unicharutil/util in toolkit/library/Makefile.in, which I think is better.
Checked in attachment 270280 [details] [diff] [review] plus the change in comment 3
10 years ago