• vogelheim@chromium.org's avatar
    Support external startup data in V8. · ba9f391b
    vogelheim@chromium.org authored
    [Retry of crrev.com/293993021, which caused problems with 'ninja all' in Chromium. First patch set if a clean apply
    of crrev.com/293993021. Subsequent sets are the actual fix
    for that issue.]
    
    If the embedder chooses, the 'natives' (library sources) and the
    precompiled startup blob can be written to files during the build
    process and handed over to V8 at startup. The main purpose would be
    to reduce the size of the compiled binary for space constrained
    platforms.
    
    The build-time option is off by default. Nothing should change if
    it's not enabled.
    
    BUG=
    R=jochen@chromium.org
    
    Review URL: https://codereview.chromium.org/315033002
    
    git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21696 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
    ba9f391b
api.cc 254 KB