summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
authornick@chromium.org <nick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-08 01:42:23 +0000
committernick@chromium.org <nick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-08 01:42:23 +0000
commita01d4c0eb965473ecf809d239e9e54396be41148 (patch)
tree835b7e6a54c3c10fe780715ea69ce10045e9b778 /chrome
parent7598ab5ec8b6b9fe6bfaaa2ee07450747fd1ee01 (diff)
downloadchromium_src-a01d4c0eb965473ecf809d239e9e54396be41148.zip
chromium_src-a01d4c0eb965473ecf809d239e9e54396be41148.tar.gz
chromium_src-a01d4c0eb965473ecf809d239e9e54396be41148.tar.bz2
Use the lite runtime for system_metrics.proto.
Have the system_metrics generated code depend on 'protobuf_lite'. Review URL: http://codereview.chromium.org/242117 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28367 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r--chrome/browser/metrics/system_metrics.proto2
-rwxr-xr-xchrome/chrome.gyp2
2 files changed, 3 insertions, 1 deletions
diff --git a/chrome/browser/metrics/system_metrics.proto b/chrome/browser/metrics/system_metrics.proto
index 5118646..42c0952 100644
--- a/chrome/browser/metrics/system_metrics.proto
+++ b/chrome/browser/metrics/system_metrics.proto
@@ -4,6 +4,8 @@
package chrome_os_pb;
+option optimize_for = LITE_RUNTIME;
+
message SystemMetrics {
optional int32 boot_time_ms = 1;
optional int32 up_time_s = 2;
diff --git a/chrome/chrome.gyp b/chrome/chrome.gyp
index aa267e8..0aef38a 100755
--- a/chrome/chrome.gyp
+++ b/chrome/chrome.gyp
@@ -2776,7 +2776,7 @@
}],
['chromeos==1',{
'dependencies': [
- '../third_party/protobuf2/protobuf.gyp:protobuf',
+ '../third_party/protobuf2/protobuf.gyp:protobuf_lite',
'../third_party/protobuf2/protobuf.gyp:protoc',
'../third_party/cros/cros_api.gyp:cros_api',
],