tree: ef3dc14f90ded86bb9f7bbe478fdc9a6761b520a [path history] [tgz]
  1. README.md
  2. devices.json
modules/devices/README.md

Devices

A list of Android device names and their aliases.

Note that this JSON file can be directly imported in TypeScript:

    import * as DEVICE_ALIASES_ANY from '../../modules/devices/devices.json';

    const DEVICE_ALIASES = DEVICE_ALIASES_ANY as Record<string, string>;

Just be sure to add the following to your tsconfig.json file:

    "resolveJsonModule": true,

See https://mariusschulz.com/blog/importing-json-modules-in-typescript

This file is updated from https://github.com/luci/luci-py/blob/master/appengine/swarming/ui2/modules/alias.js#L33