1 # Copyright 2013 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
8 'target_name': 'ui_resources',
11 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources',
15 'action_name': 'ui_resources',
17 'grit_grd_file': 'ui_resources.grd',
19 'includes': [ '../../build/grit_action.gypi' ],
22 'action_name': 'webui_resources',
24 'grit_grd_file': '../webui/resources/webui_resources.grd',
26 'includes': [ '../../build/grit_action.gypi' ],
29 'action_name': 'ui_unscaled_resources',
31 'grit_grd_file': 'ui_unscaled_resources.grd',
33 'includes': [ '../../build/grit_action.gypi' ],
36 'includes': [ '../../build/grit_target.gypi' ],
39 # This creates a pak file that contains the resources in src/ui.
40 # This pak file can be used by tests.
41 'target_name': 'ui_test_pak',
44 '../base/strings/ui_strings.gyp:ui_strings',
48 'repack_path': '../../tools/grit/grit/format/repack.py',
52 'action_name': 'repack_ui_test_pack',
55 '<(SHARED_INTERMEDIATE_DIR)/ui/app_locale_settings/app_locale_settings_en-US.pak',
56 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources/ui_resources_100_percent.pak',
57 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources/webui_resources.pak',
58 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_strings/ui_strings_en-US.pak',
66 '<(PRODUCT_DIR)/ui_test.pak',
68 'action': ['python', '<(repack_path)', '<@(_outputs)', '<@(pak_inputs)'],