Closed Bug 950279 Opened 11 years ago Closed 11 years ago

Expose int() to moz.build sandbox, and use it in build/gyp.mozbuild

Categories

(Firefox Build System :: General, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla29

People

(Reporter: glandium, Assigned: glandium)

References

Details

(Whiteboard: [qa-])

Attachments

(1 file)

I forgot to do that before landing bug 778236
Comment on attachment 8347529 [details] [diff] [review]
Expose int() to moz.build sandbox, and use it in build/gyp.mozbuild

Review of attachment 8347529 [details] [diff] [review]:
-----------------------------------------------------------------

Review granted on conditions in comments.

::: python/mozbuild/mozbuild/frontend/sandbox.py
@@ +95,5 @@
>          'None': None,
>          'False': False,
>          'True': True,
>          'sorted': alphabetical_sorted,
> +        'int': int,

Please update the docs in sandbox_symbols.py. Please also make sure |make -C python check| works - I think there is some crazy test that verifies BUILTINS is in sync with something...
Attachment #8347529 - Flags: review?(gps) → review+
(In reply to Gregory Szorc [:gps] from comment #2)
> Please update the docs in sandbox_symbols.py. Please also make sure |make -C
> python check| works - I think there is some crazy test that verifies
> BUILTINS is in sync with something...

make check was fine, but i don't know what docs in sandbox_symbols.py you're talking about.
https://hg.mozilla.org/mozilla-central/rev/37da8ecbee72
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla29
Whiteboard: [qa-]
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: