diff options
author | jamiewalch <jamiewalch@chromium.org> | 2015-06-17 16:25:34 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-06-17 23:27:03 +0000 |
commit | 6275de5043c03bb01065b38e3fc4b5c245562f15 (patch) | |
tree | b6578e74843e585934b3608ab479b5b02cd1f946 /remoting/remoting_client.gypi | |
parent | 10fabd01b91cbc82f1e25ef1e332ec9246d68860 (diff) | |
download | chromium_src-6275de5043c03bb01065b38e3fc4b5c245562f15.zip chromium_src-6275de5043c03bb01065b38e3fc4b5c245562f15.tar.gz chromium_src-6275de5043c03bb01065b38e3fc4b5c245562f15.tar.bz2 |
Add support for custom license templates.
This allows products that are built from the Chromium source to include
third-party license attribution, even if they cannot link directly to
chrome://credits. Chrome apps such as Chromoting, for example, fall into
this category, for example.
BUG=499478
Review URL: https://codereview.chromium.org/1178323002
Cr-Commit-Position: refs/heads/master@{#334957}
Diffstat (limited to 'remoting/remoting_client.gypi')
-rw-r--r-- | remoting/remoting_client.gypi | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/remoting/remoting_client.gypi b/remoting/remoting_client.gypi index bef823d..d3d23fc 100644 --- a/remoting/remoting_client.gypi +++ b/remoting/remoting_client.gypi @@ -125,10 +125,38 @@ }, # end of target 'remoting_webapp_html' { + # GN version: //remoting/webapp:credits + 'target_name': 'remoting_credits', + 'type': 'none', + 'actions': [ + { + 'action_name': 'Build remoting credits', + 'inputs': [ + '../tools/licenses.py', + 'webapp/base/html/credits.tmpl', + 'webapp/base/html/credits_entry.tmpl', + ], + 'outputs': [ + '<(SHARED_INTERMEDIATE_DIR)/remoting/credits.html', + ], + 'hard_dependency': 1, + 'action': ['python', + '../tools/licenses.py', + 'credits', + '<(SHARED_INTERMEDIATE_DIR)/remoting/credits.html', + '--file-template', 'webapp/base/html/credits.tmpl', + '--entry-template', 'webapp/base/html/credits_entry.tmpl', + + ], + }, + ], + }, + { # GN version: //remoting/webapp:webapp 'target_name': 'remoting_webapp', 'type': 'none', 'dependencies': [ + 'remoting_credits', 'remoting_webapp_v1', ], 'conditions': [ |