Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1882)

Unified Diff: tools/grit/grit/format/resource_map.py

Issue 2608763002: Move GritResourceMap arrays (~12,500 bytes) to read-only data segment (Closed)
Patch Set: Update unit tests to match new struct Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | tools/grit/grit/format/resource_map_unittest.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/grit/grit/format/resource_map.py
diff --git a/tools/grit/grit/format/resource_map.py b/tools/grit/grit/format/resource_map.py
index e5fdd16ef203764e912a454fccd48762ae4464ec..aca302b79f04fe8f6a0a1f48645003dbbdfa5c8e 100755
--- a/tools/grit/grit/format/resource_map.py
+++ b/tools/grit/grit/format/resource_map.py
@@ -56,7 +56,7 @@ def _FormatHeader(root, lang='en', output_dir='.'):
#ifndef GRIT_RESOURCE_MAP_STRUCT_
#define GRIT_RESOURCE_MAP_STRUCT_
struct GritResourceMap {
- const char* const name;
+ const char* name;
int value;
};
#endif // GRIT_RESOURCE_MAP_STRUCT_
« no previous file with comments | « no previous file | tools/grit/grit/format/resource_map_unittest.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698