• jamesr's avatar
    Put thunk targets directly into loadable modules in static build · 66d1d784
    jamesr authored
    gles2_thunks.cc, gles2_impl_thunks.cc, etc define symbols that should be
    exported from loadable modules.  If these files are linked into a static
    library and that static library is then linked into a loadable module,
    the linker may or may not pull in the object files for the thunks
    depending on if any symbols from that object file are referenced by
    some other object file in the component.
    
    This puts the thunks into a gypi that can be included directly into a
    loadable module so the object files containing the thunks are on the
    link line directly and make it into the final library.
    
    R=erg@chromium.org
    
    Review URL: https://codereview.chromium.org/509123003
    
    Cr-Commit-Position: refs/heads/master@{#292315}
    66d1d784
mojo_examples.gypi 29.6 KB