| OLD | NEW |
| 1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2009 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 'grit_info_cmd': ['python', '../../tools/grit/grit_info.py',], | 8 'grit_info_cmd': ['python', '../../tools/grit/grit_info.py',], |
| 9 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/chrome', | 9 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/chrome', |
| 10 'grit_cmd': ['python', '../../tools/grit/grit.py'], | 10 'grit_cmd': ['python', '../../tools/grit/grit.py'], |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 72 'input_path': 'default_plugin_resources.grd', | 72 'input_path': 'default_plugin_resources.grd', |
| 73 }, | 73 }, |
| 74 'inputs': [ | 74 'inputs': [ |
| 75 '<!@(<(grit_info_cmd) --inputs <(input_path))', | 75 '<!@(<(grit_info_cmd) --inputs <(input_path))', |
| 76 ], | 76 ], |
| 77 'outputs': [ | 77 'outputs': [ |
| 78 '<!@(<(grit_info_cmd) --outputs \'<(grit_out_dir)/default_plugin_res
ources\' <(input_path))', | 78 '<!@(<(grit_info_cmd) --outputs \'<(grit_out_dir)/default_plugin_res
ources\' <(input_path))', |
| 79 ], | 79 ], |
| 80 'action': ['<@(grit_cmd)', | 80 'action': ['<@(grit_cmd)', |
| 81 '-i', '<(input_path)', 'build', | 81 '-i', '<(input_path)', 'build', |
| 82 '-o', '<(grit_out_dir)/default_plugin_resources'], | 82 '-o', '<(grit_out_dir)/default_plugin_resources', |
| 83 'conditions': [ | 83 '<@(grit_defines)'], |
| 84 ['toolkit_views==1', { | |
| 85 'action': ['-D', 'toolkit_views'], | |
| 86 }], | |
| 87 ], | |
| 88 'message': 'Generating resources from <(input_path)', | 84 'message': 'Generating resources from <(input_path)', |
| 89 }, | 85 }, |
| 90 ], | 86 ], |
| 91 'direct_dependent_settings': { | 87 'direct_dependent_settings': { |
| 92 'include_dirs': [ | 88 'include_dirs': [ |
| 93 '<(grit_out_dir)/default_plugin_resources', | 89 '<(grit_out_dir)/default_plugin_resources', |
| 94 ], | 90 ], |
| 95 }, | 91 }, |
| 96 'conditions': [ | 92 'conditions': [ |
| 97 ['OS=="win"', { | 93 ['OS=="win"', { |
| 98 'dependencies': ['../../build/win/system.gyp:cygwin'], | 94 'dependencies': ['../../build/win/system.gyp:cygwin'], |
| 99 }], | 95 }], |
| 100 ], | 96 ], |
| 101 }, | 97 }, |
| 102 ], | 98 ], |
| 103 } | 99 } |
| 104 | 100 |
| 105 # Local Variables: | 101 # Local Variables: |
| 106 # tab-width:2 | 102 # tab-width:2 |
| 107 # indent-tabs-mode:nil | 103 # indent-tabs-mode:nil |
| 108 # End: | 104 # End: |
| 109 # vim: set expandtab tabstop=2 shiftwidth=2: | 105 # vim: set expandtab tabstop=2 shiftwidth=2: |
| OLD | NEW |