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

Side by Side Diff: chrome/chrome_resources.gyp

Issue 472213002: Mark some files/targets as compiled only when their associated feature is enabled. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « chrome/chrome_browser.gypi ('k') | no next file » | 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 'variables': { 5 'variables': {
6 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/chrome', 6 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/chrome',
7 'about_credits_file': '<(SHARED_INTERMEDIATE_DIR)/about_credits.html', 7 'about_credits_file': '<(SHARED_INTERMEDIATE_DIR)/about_credits.html',
8 'additional_modules_list_file': '<(SHARED_INTERMEDIATE_DIR)/chrome/browser/i nternal/additional_modules_list.txt', 8 'additional_modules_list_file': '<(SHARED_INTERMEDIATE_DIR)/chrome/browser/i nternal/additional_modules_list.txt',
9 'omnibox_mojom_file': '<(SHARED_INTERMEDIATE_DIR)/chrome/browser/ui/webui/om nibox/omnibox.mojom.js', 9 'omnibox_mojom_file': '<(SHARED_INTERMEDIATE_DIR)/chrome/browser/ui/webui/om nibox/omnibox.mojom.js',
10 }, 10 },
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 'includes': [ '../build/grit_action.gypi' ], 92 'includes': [ '../build/grit_action.gypi' ],
93 }, 93 },
94 { 94 {
95 # GN version: //chrome/browser/resources:options_resources 95 # GN version: //chrome/browser/resources:options_resources
96 'action_name': 'generate_options_resources', 96 'action_name': 'generate_options_resources',
97 'variables': { 97 'variables': {
98 'grit_grd_file': 'browser/resources/options_resources.grd', 98 'grit_grd_file': 'browser/resources/options_resources.grd',
99 }, 99 },
100 'includes': [ '../build/grit_action.gypi' ], 100 'includes': [ '../build/grit_action.gypi' ],
101 }, 101 },
102 {
103 # GN version: //chrome/browser/resources:quota_internals_resources
104 'action_name': 'generate_quota_internals_resources',
105 'variables': {
106 'grit_grd_file': 'browser/resources/quota_internals_resources.gr d',
107 },
108 'includes': [ '../build/grit_action.gypi' ],
109 },
110 {
111 # GN version: //chrome/browser/resources:sync_file_system_internal s_resources
112 'action_name': 'generate_sync_file_system_internals_resources',
113 'variables': {
114 'grit_grd_file': 'browser/resources/sync_file_system_internals_r esources.grd',
115 },
116 'includes': [ '../build/grit_action.gypi' ],
117 },
118 ], 102 ],
119 'copies': [ 103 'copies': [
120 { 104 {
121 # GN version: //chrome/browser/resources:extension_resource_demo 105 # GN version: //chrome/browser/resources:extension_resource_demo
122 'destination': '<(PRODUCT_DIR)/resources/extension/demo', 106 'destination': '<(PRODUCT_DIR)/resources/extension/demo',
123 'files': [ 107 'files': [
124 'browser/resources/extension_resource/demo/library.js', 108 'browser/resources/extension_resource/demo/library.js',
125 ], 109 ],
126 }, 110 },
127 ], 111 ],
128 }], 112 }],
129 ['chromeos==1 and disable_nacl==0 and disable_nacl_untrusted==0', { 113 ['chromeos==1 and disable_nacl==0 and disable_nacl_untrusted==0', {
130 'conditions': [ 114 'conditions': [
131 # TODO(dtseng): Remove use_chromevox_next once ChromeVox Next is rea dy for testing. 115 # TODO(dtseng): Remove use_chromevox_next once ChromeVox Next is rea dy for testing.
132 ['use_chromevox_next==1', { 116 ['use_chromevox_next==1', {
133 'dependencies': [ 117 'dependencies': [
134 'browser/resources/chromeos/chromevox2/chromevox.gyp:chromevox2' , 118 'browser/resources/chromeos/chromevox2/chromevox.gyp:chromevox2' ,
135 ], 119 ],
136 }, { # else use_chromevox_next == 0 120 }, { # else use_chromevox_next == 0
137 'dependencies': [ 121 'dependencies': [
138 'browser/resources/chromeos/chromevox/chromevox.gyp:chromevox', 122 'browser/resources/chromeos/chromevox/chromevox.gyp:chromevox',
139 ], 123 ],
140 }], 124 }],
141 ], 125 ],
142 }], 126 }],
127 ['enable_extensions==1', {
128 'actions': [
129 {
130 # GN version: //chrome/browser/resources:quota_internals_resources
131 'action_name': 'generate_quota_internals_resources',
132 'variables': {
133 'grit_grd_file': 'browser/resources/quota_internals_resources.gr d',
134 },
135 'includes': [ '../build/grit_action.gypi' ],
136 },
137 {
138 # GN version: //chrome/browser/resources:sync_file_system_internal s_resources
139 'action_name': 'generate_sync_file_system_internals_resources',
140 'variables': {
141 'grit_grd_file': 'browser/resources/sync_file_system_internals_r esources.grd',
142 },
143 'includes': [ '../build/grit_action.gypi' ],
144 },
145 ],
146 }],
143 ], 147 ],
144 }, 148 },
145 { 149 {
146 # GN version: //chrome/browser:chrome_internal_resources_gen 150 # GN version: //chrome/browser:chrome_internal_resources_gen
147 'target_name': 'chrome_internal_resources_gen', 151 'target_name': 'chrome_internal_resources_gen',
148 'type': 'none', 152 'type': 'none',
149 'conditions': [ 153 'conditions': [
150 ['branding=="Chrome"', { 154 ['branding=="Chrome"', {
151 'actions': [ 155 'actions': [
152 { 156 {
(...skipping 412 matching lines...) Expand 10 before | Expand all | Expand 10 after
565 '<(generator_path)', 569 '<(generator_path)',
566 'credits', 570 'credits',
567 '<(about_credits_file)', 571 '<(about_credits_file)',
568 ], 572 ],
569 'message': 'Generating about:credits', 573 'message': 'Generating about:credits',
570 }, 574 },
571 ], 575 ],
572 }, 576 },
573 ], # targets 577 ], # targets
574 } 578 }
OLDNEW
« no previous file with comments | « chrome/chrome_browser.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698