Add Apps.AppListSearchQueryLength UMA histogram.
[chromium-blink-merge.git] / build / android / gyp / create_placeholder_files.py
blob103e1df7f2dd8d5aee7c5632702e5d6dffdcbd95
1 #!/usr/bin/env python
2 # Copyright 2014 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file.
6 """Create placeholder files.
7 """
9 import optparse
10 import os
11 import sys
13 from util import build_utils
15 def main():
16 parser = optparse.OptionParser()
17 parser.add_option(
18 '--dest-lib-dir',
19 help='Destination directory to have placeholder files.')
20 parser.add_option(
21 '--stamp',
22 help='Path to touch on success')
24 options, args = parser.parse_args()
26 for name in args:
27 target_path = os.path.join(options.dest_lib_dir, name)
28 build_utils.Touch(target_path)
30 if options.stamp:
31 build_utils.Touch(options.stamp)
33 if __name__ == '__main__':
34 sys.exit(main())