| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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': 'extensions_resources', | 8 'target_name': 'extensions_resources', |
| 9 'type': 'none', | 9 'type': 'none', |
| 10 'variables': { | 10 'variables': { |
| 11 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/extensions', | 11 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/extensions', |
| 12 }, | 12 }, |
| 13 'actions': [ | 13 'actions': [ |
| 14 { | 14 { |
| 15 'action_name': 'generate_extensions_resources', | 15 'action_name': 'generate_extensions_resources', |
| 16 'variables': { | 16 'variables': { |
| 17 'grit_grd_file': 'extensions_resources.grd', | 17 'grit_grd_file': 'extensions_resources.grd', |
| 18 }, | 18 }, |
| 19 'includes': [ '../build/grit_action.gypi' ], | 19 'includes': [ '../build/grit_action.gypi' ], |
| 20 }, | 20 }, |
| 21 { | 21 { |
| 22 'action_name': 'generate_extensions_browser_resources', |
| 23 'variables': { |
| 24 'grit_grd_file': 'browser/resources/extensions_browser_resources.grd
', |
| 25 }, |
| 26 'includes': [ '../build/grit_action.gypi' ], |
| 27 }, |
| 28 { |
| 22 'action_name': 'generate_extensions_renderer_resources', | 29 'action_name': 'generate_extensions_renderer_resources', |
| 23 'variables': { | 30 'variables': { |
| 24 'grit_grd_file': 'renderer/resources/extensions_renderer_resources.g
rd', | 31 'grit_grd_file': 'renderer/resources/extensions_renderer_resources.g
rd', |
| 25 'grit_additional_defines': [ | 32 'grit_additional_defines': [ |
| 26 '-E', 'mojom_root=<(SHARED_INTERMEDIATE_DIR)', | 33 '-E', 'mojom_root=<(SHARED_INTERMEDIATE_DIR)', |
| 27 ], | 34 ], |
| 28 }, | 35 }, |
| 29 'includes': [ '../build/grit_action.gypi' ], | 36 'includes': [ '../build/grit_action.gypi' ], |
| 30 }, | 37 }, |
| 31 ], | 38 ], |
| 32 'includes': [ '../build/grit_target.gypi' ], | 39 'includes': [ '../build/grit_target.gypi' ], |
| 33 'conditions': [ | 40 'conditions': [ |
| 34 ['enable_extensions==1', { | 41 ['enable_extensions==1', { |
| 35 'dependencies': [ | 42 'dependencies': [ |
| 36 '../device/serial/serial.gyp:device_serial_mojo', | 43 '../device/serial/serial.gyp:device_serial_mojo', |
| 37 ], | 44 ], |
| 38 }], | 45 }], |
| 39 ], | 46 ], |
| 40 } | 47 } |
| 41 ] | 48 ] |
| 42 } | 49 } |
| OLD | NEW |