OLD | NEW |
---|---|
1 # Copyright 2013 The Chromium Authors. All rights reserved. | 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 | 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 18 matching lines...) Expand all Loading... | |
29 'action_name': 'ui_unscaled_resources', | 29 'action_name': 'ui_unscaled_resources', |
30 'variables': { | 30 'variables': { |
31 'grit_grd_file': 'ui_unscaled_resources.grd', | 31 'grit_grd_file': '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 { | 38 { |
39 # We build a minimal set of resources so WebKit in content_shell has | 39 # This creates a pak file that has the minimal set of resources necessary |
40 # access to necessary resources. | 40 # for tests. |
tony
2013/11/22 22:57:32
Nit: I would say, "This creates a pak file that co
tfarina
2013/11/22 23:02:03
Done.
| |
41 'target_name': 'ui_test_pak', | 41 'target_name': 'ui_test_pak', |
42 'type': 'none', | 42 'type': 'none', |
43 'dependencies': [ | 43 'dependencies': [ |
44 '../base/strings/ui_strings.gyp:ui_strings', | 44 '../base/strings/ui_strings.gyp:ui_strings', |
45 'ui_resources', | 45 'ui_resources', |
46 ], | 46 ], |
47 'variables': { | 47 'variables': { |
48 'repack_path': '../../tools/grit/grit/format/repack.py', | 48 'repack_path': '../../tools/grit/grit/format/repack.py', |
49 }, | 49 }, |
50 'actions': [ | 50 'actions': [ |
(...skipping 13 matching lines...) Expand all Loading... | |
64 ], | 64 ], |
65 'outputs': [ | 65 'outputs': [ |
66 '<(PRODUCT_DIR)/ui_test.pak', | 66 '<(PRODUCT_DIR)/ui_test.pak', |
67 ], | 67 ], |
68 'action': ['python', '<(repack_path)', '<@(_outputs)', '<@(pak_inputs) '], | 68 'action': ['python', '<(repack_path)', '<@(_outputs)', '<@(pak_inputs) '], |
69 }, | 69 }, |
70 ], | 70 ], |
71 }, | 71 }, |
72 ], | 72 ], |
73 } | 73 } |
OLD | NEW |