summaryrefslogtreecommitdiffstats
path: root/base/base.gyp
diff options
context:
space:
mode:
authorevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-22 00:35:18 +0000
committerevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-22 00:35:18 +0000
commit61b8ad79a502d0b3666305307e3cba9208a6c2e9 (patch)
tree8a0653f9909ee9b54d7f2982d75f10ae7aec4bd1 /base/base.gyp
parent87fc168b364ef36033f72e545a4894bd7ce9354f (diff)
downloadchromium_src-61b8ad79a502d0b3666305307e3cba9208a6c2e9.zip
chromium_src-61b8ad79a502d0b3666305307e3cba9208a6c2e9.tar.gz
chromium_src-61b8ad79a502d0b3666305307e3cba9208a6c2e9.tar.bz2
Creating a unique user-agent string for ChromeOS builds, so that metrics can be aggregated separately from standard Chrome on Linux
Review URL: http://codereview.chromium.org/155101 Patch from Chris Masone <cmasone@google.com>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21247 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/base.gyp')
-rw-r--r--base/base.gyp13
1 files changed, 10 insertions, 3 deletions
diff --git a/base/base.gyp b/base/base.gyp
index 0937786..25d9e32 100644
--- a/base/base.gyp
+++ b/base/base.gyp
@@ -285,6 +285,7 @@
'string_util_icu.cc',
'string_util_win.h',
'sys_info.h',
+ 'sys_info_chromeos.cc',
'sys_info_mac.cc',
'sys_info_posix.cc',
'sys_info_win.cc',
@@ -415,7 +416,7 @@
'include_dirs': [
'<(SHARED_INTERMEDIATE_DIR)',
],
- 'sources/': [ ['exclude', '_(mac|win)\\.cc$'],
+ 'sources/': [ ['exclude', '_(mac|win|chromeos)\\.cc$'],
['exclude', '\\.mm?$' ] ],
'sources!': [
# Linux has an implementation of idle_timer that depends
@@ -423,6 +424,12 @@
# so use idle_timer_none.cc instead.
'idle_timer.cc',
],
+ 'conditions': [
+ [ 'chromeos==1', {
+ 'sources/': [ ['include', '_chromeos\\.cc$'] ]
+ },
+ ],
+ ],
'dependencies': [
'../build/util/build_util.gyp:lastchange',
'../build/linux/system.gyp:gtk',
@@ -471,7 +478,7 @@
},
],
[ 'OS == "mac"', {
- 'sources/': [ ['exclude', '_(linux|win)\\.cc$'] ],
+ 'sources/': [ ['exclude', '_(linux|win|chromeos)\\.cc$'] ],
'sources!': [
],
'link_settings': {
@@ -492,7 +499,7 @@
}
],
[ 'OS == "win"', {
- 'sources/': [ ['exclude', '_(linux|mac|posix)\\.cc$'],
+ 'sources/': [ ['exclude', '_(linux|mac|posix|chromeos)\\.cc$'],
['exclude', '\\.mm?$' ] ],
'sources!': [
'data_pack.cc',