• Jens Widell's avatar
    Generate jumbo source files into `invoker.target_gen_dir` · 63bf6bc7
    Jens Widell authored
    This typically means a path based on the directory containing the
    BUILD.gn file that defined the jumbo target, which generally makes
    sense.
    
    The old solution of finding a suitable directory by looking at the
    directories containing the target's source files can generate the
    same name for multiple targets, meaning such targets can't all be
    jumbo enabled. This is rare, but is the case for the targets
    
      //extensions:test_support
    
    and
    
      //extensions/browser:test_support
    
    since the former has source files from //extensions/browser/ that
    end up being used as the target directory.
    
    Change-Id: Ie0c9ee2fcef25c6b0705e0fed3f1dce060459537
    Reviewed-on: https://chromium-review.googlesource.com/924023Reviewed-by: default avatarDirk Pranke <dpranke@chromium.org>
    Commit-Queue: Jens Widell <jl@opera.com>
    Cr-Commit-Position: refs/heads/master@{#537623}
    63bf6bc7
jumbo.gni 9.47 KB