Commit 0ea59bc1 authored by Mike Hommey's avatar Mike Hommey
Browse files

Bug 1256573 - Add missing primitives to the ConfigureSandbox documentation. r=nalexander

Not directly related, but since this bug is about to add another primitive...
parent 943acf7e
Loading
Loading
Loading
Loading
+6 −3
Original line number Diff line number Diff line
@@ -57,15 +57,18 @@ class ConfigureSandbox(dict):
    This is a different kind of sandboxing than the one used for moz.build
    processing.

    The sandbox has 5 primitives:
    The sandbox has 8 primitives:
    - option
    - depends
    - template
    - advanced
    - include
    - set_config
    - set_define
    - imply_option

    `option` and `include` are functions. `depends`, `template` and `advanced`
    are decorators.
    `option`, `include`, `set_config`, `set_define` and `imply_option` are
    functions. `depends`, `template` and `advanced` are decorators.

    These primitives are declared as name_impl methods to this class and
    the mapping name -> name_impl is done automatically in __getitem__.