media/webrtc/trunk/tools/gyp/test/same-rule-output-file-name/src/subdir2/subdir2.gyp

Fri, 16 Jan 2015 18:13:44 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 16 Jan 2015 18:13:44 +0100
branch
TOR_BUG_9701
changeset 14
925c144e1f1f
permissions
-rw-r--r--

Integrate suggestion from review to improve consistency with existing code.

michael@0 1 # Copyright (c) 2012 Google Inc. All rights reserved.
michael@0 2 # Use of this source code is governed by a BSD-style license that can be
michael@0 3 # found in the LICENSE file.
michael@0 4
michael@0 5 {
michael@0 6 'targets': [
michael@0 7 {
michael@0 8 'target_name': 'target2',
michael@0 9 'type': 'none',
michael@0 10 'sources': [
michael@0 11 '../touch.py'
michael@0 12 ],
michael@0 13 'rules': [
michael@0 14 {
michael@0 15 'rule_name': 'rule2',
michael@0 16 'extension': 'py',
michael@0 17 'inputs': [],
michael@0 18 'outputs': [
michael@0 19 'rule.txt',
michael@0 20 ],
michael@0 21 'action': [
michael@0 22 'python', '../touch.py', '<(_outputs)',
michael@0 23 ],
michael@0 24 # Allows the test to run without hermetic cygwin on windows.
michael@0 25 'msvs_cygwin_shell': 0,
michael@0 26 },
michael@0 27 ],
michael@0 28 },
michael@0 29 ],
michael@0 30 }

mercurial