ducky/devices
2015-11-12
Parent:b6494e1a499e
ducky/devices/vendor/golang.org/x/net/PATENTS
Move DeviceType to its own file, add helper and constants. Make a device_type.go file, to avoid a mess in the devices.go file. Move the DeviceType definition over to the new file. Also, while we're here, set up a few of the contstants we know we'll need. These are the DeviceTypes we intend to support, such as Android phones, Android tablets, and Chrome extensions. Also, set up a helper method that will determine whether a DeviceType is "valid", i.e. if we have a constant defined for it. DeviceTypes, in general, are mostly intended to be used (at the moment, at least) to customise how we display devices to users. Basically, they allow us to display an at least semi-accurate depiction of the device.
1 Additional IP Rights Grant (Patents)
3 "This implementation" means the copyrightable works distributed by
4 Google as part of the Go project.
6 Google hereby grants to You a perpetual, worldwide, non-exclusive,
7 no-charge, royalty-free, irrevocable (except as stated in this section)
8 patent license to make, have made, use, offer to sell, sell, import,
9 transfer and otherwise run, modify and propagate the contents of this
10 implementation of Go, where such license applies only to those patent
11 claims, both currently owned or controlled by Google and acquired in
12 the future, licensable by Google that are necessarily infringed by this
13 implementation of Go. This grant does not include claims that would be
14 infringed only as a consequence of further modification of this
15 implementation. If you or your agent or exclusive licensee institute or
16 order or agree to the institution of patent litigation against any
17 entity (including a cross-claim or counterclaim in a lawsuit) alleging
18 that this implementation of Go or any code incorporated within this
19 implementation of Go constitutes direct or contributory patent
20 infringement, or inducement of patent infringement, then any patent
21 rights granted to you under this License for this implementation of Go
22 shall terminate as of the date such litigation is filed.