Hash :
5b1180df
Author :
Date :
2017-10-10T20:26:52
Add gyp deprecation warning. gyp_angle now prints a warning every time it is run. All targets print the same warning as one of their build steps. The DEPS change updates gypi_to_gn so it doesn't choke on files with 'target_defaults' sections. BUG=angleproject:1569 Change-Id: Ibdf277fcc14cf4ebc7b7db78270210752cd8ef9d Reviewed-on: https://chromium-review.googlesource.com/711155 Reviewed-by: Jamie Madill <jmadill@chromium.org> Commit-Queue: Frank Henigman <fjhenigman@chromium.org>
# Copyright (c) 2017 The ANGLE Project Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
{
'targets':
[
{
'target_name': 'gyp_deprecation',
'type': 'none',
'actions':
[
{
'action_name': 'GYP deprecation warning',
'message': ' * * * WARNING: GYP IS DEPRECATED * * *',
'inputs': [],
'outputs':
[
# this file is never created and should not exist so the action always runs
'this_file_never_exists',
],
'action':
[
'python', '-c', 'print "See https://chromium.googlesource.com/angle/angle/+/master/doc/DevSetup.md for new build instructions."',
],
},
],
},
],
}