2018-03-24 01:08:00 +00:00
|
|
|
# Copyright 2018 Google Inc. All rights reserved.
|
|
|
|
#
|
|
|
|
# Use of this source code is governed by a BSD-style
|
|
|
|
# license that can be found in the LICENSE file or at
|
|
|
|
# https://developers.google.com/open-source/licenses/bsd
|
|
|
|
|
|
|
|
{
|
|
|
|
'targets': [
|
|
|
|
{
|
|
|
|
'target_name': 'license_notice',
|
|
|
|
'type': 'static_library',
|
|
|
|
'variables': {
|
|
|
|
'generated_dir': '<(SHARED_INTERMEDIATE_DIR)/packager/tools',
|
|
|
|
},
|
|
|
|
'actions': [
|
|
|
|
{
|
|
|
|
'action_name': 'generate_license_notice',
|
|
|
|
'inputs': [
|
|
|
|
'generate_license_notice.py',
|
|
|
|
],
|
|
|
|
'outputs': [
|
|
|
|
'<(generated_dir)/license_notice.cc',
|
|
|
|
'<(generated_dir)/license_notice.h',
|
|
|
|
],
|
|
|
|
'action': [
|
2021-08-24 04:19:24 +00:00
|
|
|
'python3', 'generate_license_notice.py', '<(generated_dir)',
|
2018-03-24 01:08:00 +00:00
|
|
|
],
|
|
|
|
'process_outputs_as_sources': 1,
|
|
|
|
'message': 'Generating embeddable license',
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
],
|
|
|
|
}
|