summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authortc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-01-13 21:28:26 +0000
committertc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-01-13 21:28:26 +0000
commita831389d445026011241830339660fbbb1af51ec (patch)
tree01a257fe8240e259d71794173e17966a55aa9fd3 /tools
parent2217cd710ebcd6551bf01e2cdb558073e0c18cbf (diff)
downloadchromium_src-a831389d445026011241830339660fbbb1af51ec.zip
chromium_src-a831389d445026011241830339660fbbb1af51ec.tar.gz
chromium_src-a831389d445026011241830339660fbbb1af51ec.tar.bz2
Remove grit hack and inline a 30x30 red square for a
data resource that we were loading from disk. This should get compiled out in chrome. Rebaseline one test. Review URL: http://codereview.chromium.org/18008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7966 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools')
-rw-r--r--tools/grit/grit/format/rc.py3
-rw-r--r--tools/grit/grit/node/include.py1
2 files changed, 0 insertions, 4 deletions
diff --git a/tools/grit/grit/format/rc.py b/tools/grit/grit/format/rc.py
index 1ce7772..a2cdca0 100644
--- a/tools/grit/grit/format/rc.py
+++ b/tools/grit/grit/format/rc.py
@@ -406,9 +406,6 @@ class RcInclude(interface.ItemFormatter):
if not begin_item:
return ''
- if item.attrs['headeronly'] == 'true':
- return ''
-
assert isinstance(lang, types.StringTypes)
from grit.node import structure
from grit.node import include
diff --git a/tools/grit/grit/node/include.py b/tools/grit/grit/node/include.py
index a62445b..67a05ac 100644
--- a/tools/grit/grit/node/include.py
+++ b/tools/grit/grit/node/include.py
@@ -27,7 +27,6 @@ class IncludeNode(base.Node):
'generateid': 'true',
'filenameonly': 'false',
'relativepath': 'false',
- 'headeronly': 'false',
}
def ItemFormatter(self, t):