blob: 0b73e9ce116d9acaefb7c659922a4f91734f01f2 [file] [log] [blame]
Srdjan Petrovic1e711102014-10-08 09:50:12 -07001// +build nacl
2
Benjamin Prosnitza375b912014-10-07 14:53:42 -07003package profiles
4
5import (
6 "veyron.io/veyron/veyron2"
7)
8
9// Platform returns the description of the Platform this process is running on.
10// A default value for veyron2.Platform is provided even if an error is
11// returned; nil is never returned for the first return result.
12func Platform() (*veyron2.Platform, error) {
13 d := &veyron2.Platform{
14 Vendor: "google",
15 Model: "generic",
16 System: "nacl",
17 Version: "0",
18 Release: "0",
19 Machine: "0",
20 Node: "0",
21 }
22 return d, nil
23}