https://bugzilla.mozilla.org/show_bug.cgi?id=842948#c45 Currently, dictionary_helper_gen.py doesn't generate code based on any config and it generates "DictionaryHelper.h" and "DictionaryHelper.cpp" on all platforms. However, for the case in bug 842948, we'd like to use the generator and hope that some dictionaries are generated only when MOZ_B2G_BT is defined in config.status.
Created attachment 779126 [details] [diff] [review] Patch 1(v1): Read config.status and support CONFIG var Hi smaug, Thinker writes a patch for this bug. Could you help to take a look and give us some feedback? Thanks.
Attachment #779126 - Flags: feedback?(bugs)
Created attachment 779129 [details] Use case #1: dictionary_helper_gen.conf Here's one use case for CONFIG var.
Just use a WebIDL dictionary.
Yeah, if possible, use WebIDL dictionary.
(We should try to get rid of dictionary_helper_gen.py, and switch everything to use WebIDL)
Ok. Thanks :)
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.