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

Side by Side Diff: components/components_resources.gyp

Issue 2013493006: Revert of Brotli compression used on about credits html file. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 months 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
« no previous file with comments | « chrome/chrome_browser_ui.gypi ('k') | components/resources/BUILD.gn » ('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 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 'variables': { 6 'variables': {
7 'about_credits_file': '<(SHARED_INTERMEDIATE_DIR)/about_credits.html', 7 'about_credits_file': '<(SHARED_INTERMEDIATE_DIR)/about_credits.html',
8 'about_credits_file_bro': '<(SHARED_INTERMEDIATE_DIR)/about_credits.bro',
9 }, 8 },
10 'targets': [ 9 'targets': [
11 { 10 {
12 # GN version: //components/resources 11 # GN version: //components/resources
13 'target_name': 'components_resources', 12 'target_name': 'components_resources',
14 'type': 'none', 13 'type': 'none',
15 'dependencies': [ 14 'dependencies': [
16 'compressed_about_credits', 15 'about_credits',
17 ], 16 ],
18 'hard_dependency': 1, 17 'hard_dependency': 1,
19 'variables': { 18 'variables': {
20 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/components', 19 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/components',
21 }, 20 },
22 'actions': [ 21 'actions': [
23 { 22 {
24 # GN version: //components/resources:components_resources 23 # GN version: //components/resources:components_resources
25 'action_name': 'generate_components_resources', 24 'action_name': 'generate_components_resources',
26 'variables': { 25 'variables': {
27 'grit_grd_file': 'resources/components_resources.grd', 26 'grit_grd_file': 'resources/components_resources.grd',
28 'grit_additional_defines': [ 27 'grit_additional_defines': [
29 '-E', 'about_credits_file=<(about_credits_file_bro)', 28 '-E', 'about_credits_file=<(about_credits_file)',
30 ], 29 ],
31 }, 30 },
32 'includes': [ '../build/grit_action.gypi' ], 31 'includes': [ '../build/grit_action.gypi' ],
33 }, 32 },
34 { 33 {
35 # GN version: //components/resources:components_scaled_resources 34 # GN version: //components/resources:components_scaled_resources
36 'action_name': 'generate_components_scaled_resources', 35 'action_name': 'generate_components_scaled_resources',
37 'variables': { 36 'variables': {
38 'grit_grd_file': 'resources/components_scaled_resources.grd', 37 'grit_grd_file': 'resources/components_scaled_resources.grd',
39 }, 38 },
40 'includes': [ '../build/grit_action.gypi' ], 39 'includes': [ '../build/grit_action.gypi' ],
41 }, 40 },
42 ], 41 ],
43 'includes': [ '../build/grit_target.gypi' ], 42 'includes': [ '../build/grit_target.gypi' ],
44 }, 43 },
45 { 44 {
46 'target_name': 'compressed_about_credits',
47 'type': 'none',
48 'actions': [
49 {
50 'variables': {
51 'input_file': '<(about_credits_file)',
52 'output_file': '<(about_credits_file_bro)',
53 },
54 'includes': ['../third_party/brotli/bro.gypi'],
55 }
56 ],
57 'dependencies': [
58 'about_credits'
59 ],
60 },
61 {
62 # GN version: //components/resources:about_credits 45 # GN version: //components/resources:about_credits
63 'target_name': 'about_credits', 46 'target_name': 'about_credits',
64 'type': 'none', 47 'type': 'none',
65 'hard_dependency': 1, 48 'hard_dependency': 1,
66 'actions': [ 49 'actions': [
67 { 50 {
68 'variables': { 51 'variables': {
69 'generator_path': '../tools/licenses.py', 52 'generator_path': '../tools/licenses.py',
70 }, 53 },
71 'action_name': 'generate_about_credits', 54 'action_name': 'generate_about_credits',
(...skipping 12 matching lines...) Expand all
84 '--target-os=<(OS)', 67 '--target-os=<(OS)',
85 'credits', 68 'credits',
86 '<(about_credits_file)', 69 '<(about_credits_file)',
87 ], 70 ],
88 'message': 'Generating about:credits', 71 'message': 'Generating about:credits',
89 }, 72 },
90 ], 73 ],
91 }, 74 },
92 ], 75 ],
93 } 76 }
OLDNEW
« no previous file with comments | « chrome/chrome_browser_ui.gypi ('k') | components/resources/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698