OLD | NEW |
1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2011 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 'variables': { | 6 'variables': { |
7 'chromium_code': 1, | 7 'chromium_code': 1, |
8 'xul_sdk_dir': '../third_party/xulrunner-sdk/<(OS)', | 8 'xul_sdk_dir': '../third_party/xulrunner-sdk/<(OS)', |
9 | 9 |
10 'variables': { | 10 'variables': { |
(...skipping 673 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
684 'ns_isupports_impl.h', | 684 'ns_isupports_impl.h', |
685 'scoped_ns_ptr_win.h', | 685 'scoped_ns_ptr_win.h', |
686 ], | 686 ], |
687 'include_dirs': [ | 687 'include_dirs': [ |
688 '<@(xul_include_directories)', | 688 '<@(xul_include_directories)', |
689 ], | 689 ], |
690 }, | 690 }, |
691 { | 691 { |
692 'target_name': 'chrome_frame_strings', | 692 'target_name': 'chrome_frame_strings', |
693 'type': 'none', | 693 'type': 'none', |
694 'rules': [ | 694 'variables': { |
| 695 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/chrome_frame', |
| 696 }, |
| 697 'actions': [ |
695 { | 698 { |
696 'rule_name': 'grit', | 699 'action_name': 'chrome_frame_resources', |
697 'extension': 'grd', | |
698 'inputs': [ | |
699 '../tools/grit/grit.py', | |
700 ], | |
701 'variables': { | 700 'variables': { |
702 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/chrome_frame', | 701 'grit_grd_file': 'resources/chrome_frame_resources.grd', |
703 }, | 702 }, |
704 'outputs': [ | 703 'includes': [ '../build/grit_action.gypi' ], |
705 '<(SHARED_INTERMEDIATE_DIR)/chrome_frame/grit/<(RULE_INPUT_ROOT).h', | |
706 '<(SHARED_INTERMEDIATE_DIR)/chrome_frame/<(RULE_INPUT_ROOT).pak', | |
707 ], | |
708 'action': ['python', '<@(_inputs)', '-i', | |
709 '<(RULE_INPUT_PATH)', | |
710 'build', '-o', '<(grit_out_dir)' | |
711 ], | |
712 'message': 'Generating resources from <(RULE_INPUT_PATH)', | |
713 }, | 704 }, |
714 ], | 705 ], |
715 'sources': [ | 706 'includes': [ '../build/grit_target.gypi' ], |
716 # Localizable resources. | |
717 'resources/chrome_frame_resources.grd', | |
718 ], | |
719 'direct_dependent_settings': { | |
720 'include_dirs': [ | |
721 '<(SHARED_INTERMEDIATE_DIR)/chrome_frame', | |
722 ], | |
723 }, | |
724 'conditions': [ | |
725 ['OS=="win"', { | |
726 'dependencies': ['../build/win/system.gyp:cygwin'], | |
727 }], | |
728 ], | |
729 }, | 707 }, |
730 { | 708 { |
731 'target_name': 'chrome_frame_utils', | 709 'target_name': 'chrome_frame_utils', |
732 # The intent is that shared util code can be built into a separate lib. | 710 # The intent is that shared util code can be built into a separate lib. |
733 # Currently on the resource loading code is here. | 711 # Currently on the resource loading code is here. |
734 'type': 'static_library', | 712 'type': 'static_library', |
735 'dependencies': [ | 713 'dependencies': [ |
736 '../base/base.gyp:base_i18n', | 714 '../base/base.gyp:base_i18n', |
737 '../breakpad/breakpad.gyp:breakpad_handler', | 715 '../breakpad/breakpad.gyp:breakpad_handler', |
738 '../chrome/chrome.gyp:chrome_version_header', | 716 '../chrome/chrome.gyp:chrome_version_header', |
(...skipping 428 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1167 ], # 'conditions' | 1145 ], # 'conditions' |
1168 } | 1146 } |
1169 | 1147 |
1170 # vim: shiftwidth=2:et:ai:tabstop=2 | 1148 # vim: shiftwidth=2:et:ai:tabstop=2 |
1171 | 1149 |
1172 # Local Variables: | 1150 # Local Variables: |
1173 # tab-width:2 | 1151 # tab-width:2 |
1174 # indent-tabs-mode:nil | 1152 # indent-tabs-mode:nil |
1175 # End: | 1153 # End: |
1176 # vim: set expandtab tabstop=2 shiftwidth=2: | 1154 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |