Home | History | Annotate | only in /external/cros/system_api
Up to higher level directory
NameDateSize
codereview.settings06-Dec-2016185
constants/06-Dec-2016
dbus/06-Dec-2016
LICENSE06-Dec-20161.5K
MODULE_LICENSE_BSD06-Dec-20160
OWNERS06-Dec-2016200
README06-Dec-2016942
switches/06-Dec-2016
system_api.gyp06-Dec-20163.1K
system_api.pc06-Dec-2016195

README

      1 This repository (system_api.git) contains constants and definitions like
      2 D-Bus service names that are shared between Chromium and Chromium OS.
      3 
      4 This repository is only for things like headers and .proto files.
      5 No implementation should be added.
      6 
      7 When writting a .proto file make sure to use:
      8 "option optimize_for = LITE_RUNTIME;"
      9 
     10 This will force usage of a lite protobuf instead of a full/heavy weight
     11 protobuf. The browser only links against the light version, so you will get
     12 cryptic link errors about missing parts of Message if you define a protobuf here
     13 and then try to use it in Chrome. Currently CrOS links against the full
     14 protobuffer library, but that might change in the future.
     15 
     16 When declaring a protobuf, avoid use of required unless it is exactly what you
     17 mean. "Required is Forever" and very rarely should actually be used. Consult
     18 http://code.google.com/apis/protocolbuffers/docs/cpptutorial.html for a detailed
     19 of this issue.