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': { |
(...skipping 17 matching lines...) Expand all Loading... | |
28 { | 28 { |
29 'action_name': 'ui_unscaled_resources', | 29 'action_name': 'ui_unscaled_resources', |
30 'variables': { | 30 'variables': { |
31 'grit_grd_file': 'resources/ui_unscaled_resources.grd', | 31 'grit_grd_file': 'resources/ui_unscaled_resources.grd', |
32 }, | 32 }, |
33 'includes': [ '../build/grit_action.gypi' ], | 33 'includes': [ '../build/grit_action.gypi' ], |
34 }, | 34 }, |
35 ], | 35 ], |
36 'includes': [ '../build/grit_target.gypi' ], | 36 'includes': [ '../build/grit_target.gypi' ], |
37 }, | 37 }, |
38 { | |
39 # We build a minimal set of resources so WebKit in content_shell has | |
40 # access to necessary resources. | |
41 'target_name': 'ui_test_pak', | |
42 'type': 'none', | |
43 'dependencies': [ | |
44 'base/strings/ui_strings.gyp:ui_strings', | |
45 'ui_resources', | |
46 ], | |
47 'variables': { | |
48 'repack_path': '../tools/grit/grit/format/repack.py', | |
49 }, | |
50 'actions': [ | |
51 { | |
tony
2013/11/11 17:22:36
Nit: Weird indent. I guess the whole file has thi
| |
52 'action_name': 'repack_ui_test_pack', | |
53 'variables': { | |
54 'pak_inputs': [ | |
55 '<(SHARED_INTERMEDIATE_DIR)/ui/app_locale_settings/app_locale_sett ings_en-US.pak', | |
56 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources/ui_resources_100_perce nt.pak', | |
57 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources/webui_resources.pak', | |
58 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_strings/ui_strings_en-US.pak', | |
59 ], | |
60 }, | |
61 'inputs': [ | |
62 '<(repack_path)', | |
63 '<@(pak_inputs)', | |
64 ], | |
65 'outputs': [ | |
66 '<(PRODUCT_DIR)/ui_test.pak', | |
67 ], | |
68 'action': ['python', '<(repack_path)', '<@(_outputs)', '<@(pak_inputs) '], | |
69 }, | |
70 ], | |
71 }, | |
38 ], | 72 ], |
39 } | 73 } |
OLD | NEW |