Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(383)

Side by Side Diff: test/win/idl-rules/idl_compiler.py

Issue 440293002: Provide a way to suppress implicit MIDL generation rules for actions (Closed) Base URL: https://chromium.googlesource.com/external/gyp.git@master
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « test/win/idl-rules/basic-idl.gyp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 #!/usr/bin/env python
2
3 # Copyright (c) 2014 Google Inc. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file.
6
7 # mock, just outputs empty .h/.cpp files
8
9 import os
10 import sys
11
12 if len(sys.argv) == 2:
13 basename, ext = os.path.splitext(sys.argv[1])
14 with open('%s.h' % basename, 'w') as f:
15 f.write('// %s.h\n' % basename)
16 with open('%s.cpp' % basename, 'w') as f:
17 f.write('// %s.cpp\n' % basename)
OLDNEW
« no previous file with comments | « test/win/idl-rules/basic-idl.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698