• Nico Weber's avatar
    mojo: Use resource_map_source instead of resource_file_map_source. · 84a6a5f0
    Nico Weber authored
    resource_map_source generates a map looking like
    
      { "IDR_FOO", IDR_FOO }
    
    while resource_file_map_source generations a map looking like
    
      { "path/to/resource", IDR_FOO }
    
    The latter currently doesn't work for files that contain variable references
    in their name (e.g. ${root_gen_dir}).
    
    The mojo code just needs any unique string identifier, so just use
    resource_map_source instead.
    
    No intended behavior change.
    
    Bug: 899437
    Change-Id: Ifc72086bd3b26997fb29d7d43306ba790a2c4e73
    Reviewed-on: https://chromium-review.googlesource.com/c/1307937Reviewed-by: default avatarKen Rockot <rockot@google.com>
    Commit-Queue: Nico Weber <thakis@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#603965}
    84a6a5f0
resource_map.py 4.85 KB