| OLD | NEW |
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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': 'ui_resources', | 8 'target_name': 'ui_resources', |
| 9 'type': 'none', | 9 'type': 'none', |
| 10 'variables': { | 10 'variables': { |
| 11 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources', | 11 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources', |
| 12 }, | 12 }, |
| 13 'actions': [ | 13 'actions': [ |
| 14 { | 14 { |
| 15 'action_name': 'ui_resources', | 15 'action_name': 'ui_resources', |
| 16 'variables': { | 16 'variables': { |
| 17 'grit_grd_file': 'resources/ui_resources.grd', | 17 'grit_grd_file': 'resources/ui_resources.grd', |
| 18 }, | 18 }, |
| 19 'includes': [ '../build/grit_action.gypi' ], | 19 'includes': [ '../build/grit_action.gypi' ], |
| 20 }, | 20 }, |
| 21 { |
| 22 'action_name': 'webui_resources', |
| 23 'variables': { |
| 24 'grit_grd_file': 'webui/resources/webui_resources.grd', |
| 25 }, |
| 26 'includes': [ '../build/grit_action.gypi' ], |
| 27 }, |
| 21 ], | 28 ], |
| 22 # gfx_resources.pak is used by DumpRenderTree. | 29 # gfx_resources.pak is used by DumpRenderTree. |
| 23 # TODO(oshima): Update DumpRenderTree.gyp to use new pak file and | 30 # TODO(oshima): Update DumpRenderTree.gyp to use new pak file and |
| 24 # remove this. | 31 # remove this. |
| 25 'copies': [ { | 32 'copies': [ { |
| 26 'destination': '<(SHARED_INTERMEDIATE_DIR)/ui/gfx/', | 33 'destination': '<(SHARED_INTERMEDIATE_DIR)/ui/gfx/', |
| 27 'files' : [ | 34 'files' : [ |
| 28 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources/gfx_resources.pak', | 35 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources/gfx_resources.pak', |
| 29 ], | 36 ], |
| 30 }, | 37 }, |
| 31 ], | 38 ], |
| 32 'includes': [ '../build/grit_target.gypi' ], | 39 'includes': [ '../build/grit_target.gypi' ], |
| 33 }, | 40 }, |
| 34 ], | 41 ], |
| 35 } | 42 } |
| OLD | NEW |