[iOS] Add extra_attributes property to create_bundle target of GN.

Desktop / Chromium - Yuke Liao [chromium.org] - 13 July 2017 14:42 EDT

This CL adds extra_attributes property to create_bundle target so that these values can be specified in BUILD files instead of hard coded in GN.

Bug: 740800, 709289 Change-Id: I1c0393e11405527bda5cf70fb8b653fc76454b97 Reviewed-on: https://chromium-review.googlesource.com/566390 Commit-Queue: Yuke Liao

c94fbe2 [iOS] Add extra_attributes property to create_bundle target of GN.
tools/gn/bundle_data.h | 12 ++++++++++
tools/gn/create_bundle_target_generator.cc | 35 ++++++++++++++++++++++++++++++
tools/gn/create_bundle_target_generator.h | 2 ++
tools/gn/docs/reference.md | 29 ++++++++++++++++++++++++-
tools/gn/functions_target.cc | 8 ++++++-
tools/gn/variables.cc | 14 ++++++++++++
tools/gn/variables.h | 4 ++++
tools/gn/xcode_writer.cc | 14 +++++++-----
8 files changed, 111 insertions(+), 7 deletions(-)

Upstream: git.chromium.org


  • Share