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

Side by Side Diff: build/android/gyp/create_placeholder_files.py

Issue 2101243005: Add a snapshot of flutter/engine/src/build to our sdk (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: add README.dart Created 4 years, 5 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
OLDNEW
(Empty)
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.
5
6 """Create placeholder files.
7 """
8
9 import optparse
10 import os
11 import sys
12
13 from util import build_utils
14
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')
23
24 options, args = parser.parse_args()
25
26 for name in args:
27 target_path = os.path.join(options.dest_lib_dir, name)
28 build_utils.Touch(target_path)
29
30 if options.stamp:
31 build_utils.Touch(options.stamp)
32
33 if __name__ == '__main__':
34 sys.exit(main())
35
OLDNEW
« no previous file with comments | « build/android/gyp/create_java_binary_script.py ('k') | build/android/gyp/create_standalone_apk.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698