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

Unified Diff: chrome/chrome_common.gypi

Issue 12902021: Auto-generates the font family scripts at build time. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Cleanup Created 7 years, 9 months 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
Index: chrome/chrome_common.gypi
diff --git a/chrome/chrome_common.gypi b/chrome/chrome_common.gypi
index 8398de3fcee7e8e0689d5b732bebc22cd1625981..65c9e08b31f740a2dcfd382d10fae5c12accb05c 100644
--- a/chrome/chrome_common.gypi
+++ b/chrome/chrome_common.gypi
@@ -714,5 +714,41 @@
},
'includes': [ '../build/protoc.gypi' ],
},
+ {
+ 'target_name': 'font_family_scripts_generator',
+ 'type': 'executable',
+ 'toolsets': ['host'],
+ 'sources': [
+ 'common/pref_names.cc',
+ 'common/pref_names.h',
+ 'common/font_family_scripts_generator.cc',
+ ],
+ 'include_dirs': [
+ '..',
+ ],
+ },
+ {
+ 'target_name': 'generate_font_family_scripts',
+ 'type': 'none',
+ 'depedencies': [
+ 'font_family_scripts_generator',
+ ],
+ 'actions': [
+ {
+ 'action_name': 'generate_font_family_scripts',
+ 'inputs': [
+ '<(PRODUCT_DIR)/font_family_scripts_generator',
+ ],
+ 'outputs': [
+ '<(SHARED_INTERMEDIATE_DIR)/chrome/common/font_family_scripts.h',
+ ],
+ 'action': ['<(PRODUCT_DIR)/font_family_scripts_generator',
+ '<(SHARED_INTERMEDIATE_DIR)/chrome/common/font_family_scripts.h'],
+ 'message': 'Generate font family scripts',
+ 'process_outputs_as_sources': 1,
+ },
+ ],
+ },
+
],
}

Powered by Google App Engine
This is Rietveld 408576698