Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stylo: Move all binding-generator logic code to a python script. #12212

Merged
merged 3 commits into from Jul 6, 2016

Commits on Jul 6, 2016

  1. stylo: Move all binding-generator code to a python script.

    This not only makes us more consistent with the rest of the codebase but also:
    
     * Makes us repeat less code like common flags and all that stuff.
     * Reduces the noise of the build: You only get the output of the commands on
       failure or when you pass the -v flag.
     * Makes you able to select a single kind of build or multiple in the same
       place.
    
    I've basically kept the regen.sh script because of the LIBCLANG_PATH checks, but
    at least from Linux I don't need them anymore. Also, that logic could be moved
    to the new script.
    
    The whole point of this isn't only making it prettier and easier to use, but
    also allowing me to write more complex logic in the binding generator scripts,
    that I will probably need to integrate the DOM enum types we need for animations
    and such easily (can't be just an include, because that pulls in another header
    with the same name bringing a lot of DOM and IDL churn).
    emilio committed Jul 6, 2016
  2. stylo: Regenerate bindings.

    emilio committed Jul 6, 2016
You can’t perform that action at this time.