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

Side by Side Diff: appengine/swarming/tools/android/setup_udev.py

Issue 1860863002: Update copyright notice from Swarming to LUCI; add AUTHORS and CONTRIBUTORS. (Closed) Base URL: git@github.com:luci/luci-py.git@master
Patch Set: . Created 4 years, 8 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
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # Copyright 2014 The Swarming Authors. All rights reserved. 2 # Copyright 2014 The LUCI Authors. All rights reserved.
3 # Use of this source code is governed by the Apache v2.0 license that can be 3 # Use of this source code is governed by the Apache v2.0 license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 """Generates the file /etc/udev/rules.d/android_swarming_bot.rules to enable 6 """Generates the file /etc/udev/rules.d/android_swarming_bot.rules to enable
7 automatic Swarming bot to be fired up when an Android device with USB debugging 7 automatic Swarming bot to be fired up when an Android device with USB debugging
8 is connected. 8 is connected.
9 """ 9 """
10 10
11 __version__ = '0.1' 11 __version__ = '0.1'
12 12
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 return 0 142 return 0
143 143
144 # 18d1==Google Inc. but we'd likely want to filter more broadly. 144 # 18d1==Google Inc. but we'd likely want to filter more broadly.
145 options.dev_filters = options.dev_filters or ['ATTR{idVendor}=="18d1"'] 145 options.dev_filters = options.dev_filters or ['ATTR{idVendor}=="18d1"']
146 work(options.user, options.dev_filters) 146 work(options.user, options.dev_filters)
147 return 0 147 return 0
148 148
149 149
150 if __name__ == '__main__': 150 if __name__ == '__main__':
151 sys.exit(main()) 151 sys.exit(main())
OLDNEW
« no previous file with comments | « appengine/swarming/test_env_handlers.py ('k') | appengine/swarming/tools/android/udev_start_bot_deferred.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698