Home | History | Annotate | only in /external/cros/system_api
Up to higher level directory
NameDateSize
constants/21-Aug-2018
dbus/21-Aug-2018
LICENSE21-Aug-20181.5K
MODULE_LICENSE_BSD21-Aug-20180
NOTICE21-Aug-20181.5K
OWNERS21-Aug-201875
README21-Aug-2018942
switches/21-Aug-2018
system_api.gyp21-Aug-20187.8K
system_api.pc21-Aug-2018376

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.