Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(776)

Side by Side Diff: ui/ui_resources.gypi

Issue 45753004: ui: Repack resources. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: does it matter? Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ui/base/resource/resource_bundle.cc ('k') | ui/views/run_all_unittests.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « ui/base/resource/resource_bundle.cc ('k') | ui/views/run_all_unittests.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698