summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpvalchev@google.com <pvalchev@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-14 21:27:32 +0000
committerpvalchev@google.com <pvalchev@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-14 21:27:32 +0000
commit0805a9b30d8cf935a572fe093a74f6784c6e4689 (patch)
tree747c3bbcac1e9ee75df48c2907ae112ffcb89217
parentc76b22663b8aef4a9f739b6a72a561cc866567f9 (diff)
downloadchromium_src-0805a9b30d8cf935a572fe093a74f6784c6e4689.zip
chromium_src-0805a9b30d8cf935a572fe093a74f6784c6e4689.tar.gz
chromium_src-0805a9b30d8cf935a572fe093a74f6784c6e4689.tar.bz2
cleaner grd files: use os.find('bsd') instead of listing all the version
of freebsd, openbsd and possibly netbsd in the future via sprewell Review URL: http://codereview.chromium.org/2099003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47313 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--app/resources/app_resources.grd2
-rw-r--r--chrome/app/generated_resources.grd4
-rw-r--r--chrome/app/resources/locale_settings.grd2
-rw-r--r--chrome/browser/browser_resources.grd4
-rw-r--r--webkit/glue/webkit_resources.grd2
5 files changed, 7 insertions, 7 deletions
diff --git a/app/resources/app_resources.grd b/app/resources/app_resources.grd
index 5a8e638..d9eca92 100644
--- a/app/resources/app_resources.grd
+++ b/app/resources/app_resources.grd
@@ -31,7 +31,7 @@
<include name="IDR_MINIMIZE_P" file="minimize_p.png" type="BINDATA" />
</if>
- <if expr="not pp_ifdef('toolkit_views') and (os == 'linux2' or os == 'freebsd7' or os == 'openbsd4')">
+ <if expr="not pp_ifdef('toolkit_views') and (os == 'linux2' or os.find('bsd') != -1)">
<!-- Window controls for Linux/BSD, in the style of Metacity -->
<include name="IDR_CLOSE" file="linux_close.png" type="BINDATA" />
<include name="IDR_CLOSE_H" file="linux_close_h.png" type="BINDATA" />
diff --git a/chrome/app/generated_resources.grd b/chrome/app/generated_resources.grd
index 7430470..5bfb3fd 100644
--- a/chrome/app/generated_resources.grd
+++ b/chrome/app/generated_resources.grd
@@ -2287,7 +2287,7 @@ each locale. -->
<message name="IDS_CREATE_SHORTCUTS_QUICK_LAUNCH_BAR_CHKBOX" desc="Label of the checkbox to create an application shortcut in quick launch bar.">
Quick launch bar
</message>
- <if expr="os == 'linux2' or os == 'openbsd4' or os=='freebsd6'">
+ <if expr="os == 'linux2' or os.find('bsd') != -1">
<message name="IDS_CREATE_SHORTCUTS_ERROR_TITLE" desc="Title of the error dialog box when creating an application shortcut failed.">
Failed to Create Application Shortcut
</message>
@@ -5659,7 +5659,7 @@ Keep your key file in a safe place. You will need it to create new versions of y
<message name="IDS_THEMES_GROUP_NAME" desc="The title of the themes group">
Themes:
</message>
- <if expr="os == 'linux2' or os == 'openbsd4' or os == 'freebsd6'">
+ <if expr="os == 'linux2' or os.find('bsd') != -1">
<message name="IDS_APPEARANCE_GROUP_NAME" desc="In Title Case and without trailing colon: The title of the themes group">
Appearance
</message>
diff --git a/chrome/app/resources/locale_settings.grd b/chrome/app/resources/locale_settings.grd
index e25a00b..d7d625e 100644
--- a/chrome/app/resources/locale_settings.grd
+++ b/chrome/app/resources/locale_settings.grd
@@ -616,7 +616,7 @@
</message>
<!-- The width and height for the "create application shortcuts error" dialog. -->
- <if expr="os == 'linux2' or os == 'openbsd4' or os == 'freebsd6'">
+ <if expr="os == 'linux2' or os.find('bsd') != -1">
<message name="IDS_CREATE_SHORTCUTS_ERROR_DIALOG_WIDTH_CHARS" use_name_for_id="true">
60
</message>
diff --git a/chrome/browser/browser_resources.grd b/chrome/browser/browser_resources.grd
index 93a3dbd..160d96a 100644
--- a/chrome/browser/browser_resources.grd
+++ b/chrome/browser/browser_resources.grd
@@ -13,13 +13,13 @@ without changes to the corresponding grd file. paaaae -->
<includes>
<include name="IDR_ABOUT_VERSION_HTML" file="resources\about_version.html" flattenhtml="true" type="BINDATA" />
- <if expr="os == 'linux2' or os == 'freebsd7' or os == 'openbsd4'">
+ <if expr="os == 'linux2' or os.find('bsd') != -1">
<include name="IDR_ABOUT_MEMORY_HTML" file="resources\about_memory_linux.html" flattenhtml="true" type="BINDATA" />
</if>
<if expr="os == 'darwin'">
<include name="IDR_ABOUT_MEMORY_HTML" file="resources\about_memory_mac.html" flattenhtml="true" type="BINDATA" />
</if>
- <if expr="os != 'linux2' and os != 'darwin' and os != 'freebsd' and os != 'openbsd'">
+ <if expr="os != 'linux2' and os != 'darwin' and os.find('bsd') == -1">
<include name="IDR_ABOUT_MEMORY_HTML" file="resources\about_memory.html" flattenhtml="true" type="BINDATA" />
</if>
diff --git a/webkit/glue/webkit_resources.grd b/webkit/glue/webkit_resources.grd
index 2d2df0f..4b3ff7a 100644
--- a/webkit/glue/webkit_resources.grd
+++ b/webkit/glue/webkit_resources.grd
@@ -27,7 +27,7 @@
<include name="IDR_MEDIA_SLIDER_THUMB" file="resources\media_slider_thumb.png" type="BINDATA" />
<include name="IDR_MEDIA_VOLUME_SLIDER_THUMB" file="resources\media_volume_slider_thumb.png" type="BINDATA" />
- <if expr="os == 'linux2' or os == 'freebsd7' or os == 'openbsd4' or os == 'sunos5'">
+ <if expr="os == 'linux2' or os.find('bsd') != -1 or os == 'sunos5'">
<include name="IDR_LINUX_CHECKBOX_OFF" file="resources\linux-checkbox-off.png" type="BINDATA" />
<include name="IDR_LINUX_CHECKBOX_ON" file="resources\linux-checkbox-on.png" type="BINDATA" />
<include name="IDR_LINUX_CHECKBOX_DISABLED_OFF" file="resources\linux-checkbox-disabled-off.png" type="BINDATA" />