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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 { 5 {
6 'targets': [ 6 'targets': [
7 { 7 {
8 'target_name': 'common', 8 'target_name': 'common',
9 'type': 'static_library', 9 'type': 'static_library',
10 'variables': { 10 'variables': {
(...skipping 696 matching lines...) Expand 10 before | Expand all | Expand 10 after
707 'common/metrics/proto/profiler_event.proto', 707 'common/metrics/proto/profiler_event.proto',
708 'common/metrics/proto/system_profile.proto', 708 'common/metrics/proto/system_profile.proto',
709 'common/metrics/proto/user_action_event.proto', 709 'common/metrics/proto/user_action_event.proto',
710 ], 710 ],
711 'variables': { 711 'variables': {
712 'proto_in_dir': 'common/metrics/proto', 712 'proto_in_dir': 'common/metrics/proto',
713 'proto_out_dir': 'chrome/common/metrics/proto', 713 'proto_out_dir': 'chrome/common/metrics/proto',
714 }, 714 },
715 'includes': [ '../build/protoc.gypi' ], 715 'includes': [ '../build/protoc.gypi' ],
716 }, 716 },
717 {
718 'target_name': 'font_family_scripts_generator',
719 'type': 'executable',
720 'toolsets': ['host'],
721 'sources': [
722 'common/pref_names.cc',
723 'common/pref_names.h',
724 'common/font_family_scripts_generator.cc',
725 ],
726 'include_dirs': [
727 '..',
728 ],
729 },
730 {
731 'target_name': 'generate_font_family_scripts',
732 'type': 'none',
733 'depedencies': [
734 'font_family_scripts_generator',
735 ],
736 'actions': [
737 {
738 'action_name': 'generate_font_family_scripts',
739 'inputs': [
740 '<(PRODUCT_DIR)/font_family_scripts_generator',
741 ],
742 'outputs': [
743 '<(SHARED_INTERMEDIATE_DIR)/chrome/common/font_family_scripts.h',
744 ],
745 'action': ['<(PRODUCT_DIR)/font_family_scripts_generator',
746 '<(SHARED_INTERMEDIATE_DIR)/chrome/common/font_family_scrip ts.h'],
747 'message': 'Generate font family scripts',
748 'process_outputs_as_sources': 1,
749 },
750 ],
751 },
752
717 ], 753 ],
718 } 754 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698