Chromium Code Reviews| 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 'includes': [ | |
| 6 'chrome_features.gypi', | |
| 7 ], | |
| 8 'variables': { | 5 'variables': { |
| 9 # Apply Chrome-specific grit settings to all grit actions in this file. | 6 # Apply Chrome-specific grit settings to all of this file. |
| 7 # The advantage is that one entry here applies to the entire file. | |
| 8 # The caveat is these variables cannot be merged with other variable | |
| 9 # dictionaries in more inner scopes. If the variable should be merged, | |
| 10 # consider putting them in a gypi file and including it at the right scope | |
| 11 # instead. e.g. with chrome_grit_action.gypi. | |
| 10 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/chrome', | 12 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/chrome', |
| 11 'grit_additional_defines': [ '<@(chrome_grit_defines)' ], | |
| 12 | |
| 13 'additional_modules_list_file': '<(SHARED_INTERMEDIATE_DIR)/chrome/browser/i nternal/additional_modules_list.txt', | 13 'additional_modules_list_file': '<(SHARED_INTERMEDIATE_DIR)/chrome/browser/i nternal/additional_modules_list.txt', |
|
Dan Beam
2016/01/04 19:11:22
I assume brettw@ did not add these with his chrome
Lei Zhang
2016/01/04 19:15:49
I didn't want chrome_internal_resources_gen to hav
| |
| 14 }, | 14 }, |
| 15 'targets': [ | 15 'targets': [ |
| 16 { | 16 { |
| 17 # GN version: //chrome:extra_resources | 17 # GN version: //chrome:extra_resources |
| 18 'target_name': 'chrome_extra_resources', | 18 'target_name': 'chrome_extra_resources', |
| 19 'type': 'none', | 19 'type': 'none', |
| 20 # These resources end up in resources.pak because they are resources | 20 # These resources end up in resources.pak because they are resources |
| 21 # used by internal pages. Putting them in a separate pak file makes | 21 # used by internal pages. Putting them in a separate pak file makes |
| 22 # it easier for us to reference them internally. | 22 # it easier for us to reference them internally. |
| 23 'actions': [ | 23 'actions': [ |
| 24 { | 24 { |
| 25 # GN version: //chrome/browser/resources:memory_internals_resources | 25 # GN version: //chrome/browser/resources:memory_internals_resources |
| 26 'action_name': 'generate_memory_internals_resources', | 26 'action_name': 'generate_memory_internals_resources', |
| 27 'variables': { | 27 'variables': { |
| 28 'grit_grd_file': 'browser/resources/memory_internals_resources.grd', | 28 'grit_grd_file': 'browser/resources/memory_internals_resources.grd', |
| 29 }, | 29 }, |
| 30 'includes': [ '../build/grit_action.gypi' ], | 30 'includes': [ 'chrome_grit_action.gypi' ], |
|
Dan Beam
2016/01/04 19:11:22
i suppose chrome/grit_action.gypi is too easily co
Lei Zhang
2016/01/04 19:15:49
It doesn't matter to me. I just wanted a unique id
| |
| 31 }, | 31 }, |
| 32 { | 32 { |
| 33 # GN version: //chrome/browser/resources:net_internals_resources | 33 # GN version: //chrome/browser/resources:net_internals_resources |
| 34 'action_name': 'generate_net_internals_resources', | 34 'action_name': 'generate_net_internals_resources', |
| 35 'variables': { | 35 'variables': { |
| 36 'grit_grd_file': 'browser/resources/net_internals_resources.grd', | 36 'grit_grd_file': 'browser/resources/net_internals_resources.grd', |
| 37 }, | 37 }, |
| 38 'includes': [ '../build/grit_action.gypi' ], | 38 'includes': [ 'chrome_grit_action.gypi' ], |
| 39 }, | 39 }, |
| 40 { | 40 { |
| 41 # GN version: //chrome/browser/resources:invalidations_resources | 41 # GN version: //chrome/browser/resources:invalidations_resources |
| 42 'action_name': 'generate_invalidations_resources', | 42 'action_name': 'generate_invalidations_resources', |
| 43 'variables': { | 43 'variables': { |
| 44 'grit_grd_file': 'browser/resources/invalidations_resources.grd', | 44 'grit_grd_file': 'browser/resources/invalidations_resources.grd', |
| 45 }, | 45 }, |
| 46 'includes': ['../build/grit_action.gypi' ], | 46 'includes': ['chrome_grit_action.gypi' ], |
| 47 }, | 47 }, |
| 48 { | 48 { |
| 49 # GN version: //chrome/browser/resources:password_manager_internals_re sources | 49 # GN version: //chrome/browser/resources:password_manager_internals_re sources |
| 50 'action_name': 'generate_password_manager_internals_resources', | 50 'action_name': 'generate_password_manager_internals_resources', |
| 51 'variables': { | 51 'variables': { |
| 52 'grit_grd_file': 'browser/resources/password_manager_internals_resou rces.grd', | 52 'grit_grd_file': 'browser/resources/password_manager_internals_resou rces.grd', |
| 53 }, | 53 }, |
| 54 'includes': [ '../build/grit_action.gypi' ], | 54 'includes': [ 'chrome_grit_action.gypi' ], |
| 55 }, | 55 }, |
| 56 { | 56 { |
| 57 # GN version: //chrome/browser/resources:policy_resources | 57 # GN version: //chrome/browser/resources:policy_resources |
| 58 'action_name': 'generate_policy_resources', | 58 'action_name': 'generate_policy_resources', |
| 59 'variables': { | 59 'variables': { |
| 60 'grit_grd_file': 'browser/resources/md_policy/policy_resources.grd', | 60 'grit_grd_file': 'browser/resources/md_policy/policy_resources.grd', |
| 61 }, | 61 }, |
| 62 'includes': [ '../build/grit_action.gypi' ], | 62 'includes': [ 'chrome_grit_action.gypi' ], |
| 63 }, | 63 }, |
| 64 { | 64 { |
| 65 # GN version: //chrome/browser/resources:signin_internals_resources | 65 # GN version: //chrome/browser/resources:signin_internals_resources |
| 66 'action_name': 'generate_signin_internals_resources', | 66 'action_name': 'generate_signin_internals_resources', |
| 67 'variables': { | 67 'variables': { |
| 68 'grit_grd_file': 'browser/resources/signin_internals_resources.grd', | 68 'grit_grd_file': 'browser/resources/signin_internals_resources.grd', |
| 69 }, | 69 }, |
| 70 'includes': ['../build/grit_action.gypi' ], | 70 'includes': ['chrome_grit_action.gypi' ], |
| 71 }, | 71 }, |
| 72 { | 72 { |
| 73 # GN version: //chrome/browser/resources:translate_internals_resources | 73 # GN version: //chrome/browser/resources:translate_internals_resources |
| 74 'action_name': 'generate_translate_internals_resources', | 74 'action_name': 'generate_translate_internals_resources', |
| 75 'variables': { | 75 'variables': { |
| 76 'grit_grd_file': 'browser/resources/translate_internals_resources.gr d', | 76 'grit_grd_file': 'browser/resources/translate_internals_resources.gr d', |
| 77 }, | 77 }, |
| 78 'includes': [ '../build/grit_action.gypi' ], | 78 'includes': [ 'chrome_grit_action.gypi' ], |
| 79 }, | 79 }, |
| 80 ], | 80 ], |
| 81 'includes': [ '../build/grit_target.gypi' ], | 81 'includes': [ '../build/grit_target.gypi' ], |
| 82 'conditions': [ | 82 'conditions': [ |
| 83 ['OS != "ios"', { | 83 ['OS != "ios"', { |
| 84 'dependencies': [ | 84 'dependencies': [ |
| 85 '../components/components_resources.gyp:components_resources', | 85 '../components/components_resources.gyp:components_resources', |
| 86 '../content/browser/devtools/devtools_resources.gyp:devtools_resourc es', | 86 '../content/browser/devtools/devtools_resources.gyp:devtools_resourc es', |
| 87 '../content/browser/tracing/tracing_resources.gyp:tracing_resources' , | 87 '../content/browser/tracing/tracing_resources.gyp:tracing_resources' , |
| 88 'browser/devtools/webrtc_device_provider_resources.gyp:webrtc_device _provider_resources', | 88 'browser/devtools/webrtc_device_provider_resources.gyp:webrtc_device _provider_resources', |
| 89 ], | 89 ], |
| 90 'actions': [ | 90 'actions': [ |
| 91 { | 91 { |
| 92 # GN version: //chrome/browser/resources:component_extension_resou rces | 92 # GN version: //chrome/browser/resources:component_extension_resou rces |
| 93 'action_name': 'generate_component_extension_resources', | 93 'action_name': 'generate_component_extension_resources', |
| 94 'variables': { | 94 'variables': { |
| 95 'grit_grd_file': 'browser/resources/component_extension_resource s.grd', | 95 'grit_grd_file': 'browser/resources/component_extension_resource s.grd', |
| 96 }, | 96 }, |
| 97 'includes': [ '../build/grit_action.gypi' ], | 97 'includes': [ 'chrome_grit_action.gypi' ], |
| 98 }, | 98 }, |
| 99 { | 99 { |
| 100 # GN version: //chrome/browser/resources:options_resources | 100 # GN version: //chrome/browser/resources:options_resources |
| 101 'action_name': 'generate_options_resources', | 101 'action_name': 'generate_options_resources', |
| 102 'variables': { | 102 'variables': { |
| 103 'grit_grd_file': 'browser/resources/options_resources.grd', | 103 'grit_grd_file': 'browser/resources/options_resources.grd', |
| 104 }, | 104 }, |
| 105 'includes': [ '../build/grit_action.gypi' ], | 105 'includes': [ 'chrome_grit_action.gypi' ], |
| 106 }, | 106 }, |
| 107 { | 107 { |
| 108 # GN version: //chrome/browser/resources:settings_resources | 108 # GN version: //chrome/browser/resources:settings_resources |
| 109 'action_name': 'generate_settings_resources', | 109 'action_name': 'generate_settings_resources', |
| 110 'variables': { | 110 'variables': { |
| 111 'grit_grd_file': 'browser/resources/settings/settings_resources. grd', | 111 'grit_grd_file': 'browser/resources/settings/settings_resources. grd', |
| 112 }, | 112 }, |
| 113 'includes': [ '../build/grit_action.gypi' ], | 113 'includes': [ 'chrome_grit_action.gypi' ], |
| 114 }, | 114 }, |
| 115 ], | 115 ], |
| 116 'copies': [ | 116 'copies': [ |
| 117 { | 117 { |
| 118 # GN version: //chrome/browser/resources:extension_resource_demo | 118 # GN version: //chrome/browser/resources:extension_resource_demo |
| 119 'destination': '<(PRODUCT_DIR)/resources/extension/demo', | 119 'destination': '<(PRODUCT_DIR)/resources/extension/demo', |
| 120 'files': [ | 120 'files': [ |
| 121 'browser/resources/extension_resource/demo/library.js', | 121 'browser/resources/extension_resource/demo/library.js', |
| 122 ], | 122 ], |
| 123 }, | 123 }, |
| 124 ], | 124 ], |
| 125 }], | 125 }], |
| 126 ['chromeos==1 and disable_nacl==0 and disable_nacl_untrusted==0', { | 126 ['chromeos==1 and disable_nacl==0 and disable_nacl_untrusted==0', { |
| 127 'dependencies': [ | 127 'dependencies': [ |
| 128 'browser/resources/chromeos/chromevox/chromevox.gyp:chromevox', | 128 'browser/resources/chromeos/chromevox/chromevox.gyp:chromevox', |
| 129 ], | 129 ], |
| 130 }], | 130 }], |
| 131 ['enable_extensions==1', { | 131 ['enable_extensions==1', { |
| 132 'actions': [ | 132 'actions': [ |
| 133 { | 133 { |
| 134 # GN version: //chrome/browser/resources:quota_internals_resources | 134 # GN version: //chrome/browser/resources:quota_internals_resources |
| 135 'action_name': 'generate_quota_internals_resources', | 135 'action_name': 'generate_quota_internals_resources', |
| 136 'variables': { | 136 'variables': { |
| 137 'grit_grd_file': 'browser/resources/quota_internals_resources.gr d', | 137 'grit_grd_file': 'browser/resources/quota_internals_resources.gr d', |
| 138 }, | 138 }, |
| 139 'includes': [ '../build/grit_action.gypi' ], | 139 'includes': [ 'chrome_grit_action.gypi' ], |
| 140 }, | 140 }, |
| 141 { | 141 { |
| 142 # GN version: //chrome/browser/resources:sync_file_system_internal s_resources | 142 # GN version: //chrome/browser/resources:sync_file_system_internal s_resources |
| 143 'action_name': 'generate_sync_file_system_internals_resources', | 143 'action_name': 'generate_sync_file_system_internals_resources', |
| 144 'variables': { | 144 'variables': { |
| 145 'grit_grd_file': 'browser/resources/sync_file_system_internals_r esources.grd', | 145 'grit_grd_file': 'browser/resources/sync_file_system_internals_r esources.grd', |
| 146 }, | 146 }, |
| 147 'includes': [ '../build/grit_action.gypi' ], | 147 'includes': [ 'chrome_grit_action.gypi' ], |
| 148 }, | 148 }, |
| 149 ], | 149 ], |
| 150 }], | 150 }], |
| 151 ], | 151 ], |
| 152 }, | 152 }, |
| 153 { | 153 { |
| 154 # GN version: //chrome/browser:chrome_internal_resources_gen | 154 # GN version: //chrome/browser:chrome_internal_resources_gen |
| 155 'target_name': 'chrome_internal_resources_gen', | 155 'target_name': 'chrome_internal_resources_gen', |
| 156 'type': 'none', | 156 'type': 'none', |
| 157 'conditions': [ | 157 'conditions': [ |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 196 'chrome_internal_resources_gen', | 196 'chrome_internal_resources_gen', |
| 197 'chrome_web_ui_mojo_bindings.gyp:web_ui_mojo_bindings', | 197 'chrome_web_ui_mojo_bindings.gyp:web_ui_mojo_bindings', |
| 198 ], | 198 ], |
| 199 'actions': [ | 199 'actions': [ |
| 200 { | 200 { |
| 201 # GN version: //chrome/browser:resources | 201 # GN version: //chrome/browser:resources |
| 202 'action_name': 'generate_browser_resources', | 202 'action_name': 'generate_browser_resources', |
| 203 'variables': { | 203 'variables': { |
| 204 'grit_grd_file': 'browser/browser_resources.grd', | 204 'grit_grd_file': 'browser/browser_resources.grd', |
| 205 'grit_additional_defines': [ | 205 'grit_additional_defines': [ |
| 206 # TODO(dbeam): 'chrome_grit_defines' should just be appended to | |
| 207 # this list of 'grit_additional_defines' via the top of this file, | |
| 208 # but they're not for some reason. Maybe because they're in | |
| 209 # different scopes? | |
| 210 '<@(chrome_grit_defines)', | |
| 211 '-E', 'additional_modules_list_file=<(additional_modules_list_file )', | 206 '-E', 'additional_modules_list_file=<(additional_modules_list_file )', |
| 212 '-E', 'root_gen_dir=<(SHARED_INTERMEDIATE_DIR)', | 207 '-E', 'root_gen_dir=<(SHARED_INTERMEDIATE_DIR)', |
| 213 ], | 208 ], |
| 214 }, | 209 }, |
| 215 'includes': [ '../build/grit_action.gypi' ], | 210 'includes': [ 'chrome_grit_action.gypi' ], |
| 216 }, | 211 }, |
| 217 { | 212 { |
| 218 # GN version: //chrome/common:resources | 213 # GN version: //chrome/common:resources |
| 219 'action_name': 'generate_common_resources', | 214 'action_name': 'generate_common_resources', |
| 220 'variables': { | 215 'variables': { |
| 221 'grit_grd_file': 'common/common_resources.grd', | 216 'grit_grd_file': 'common/common_resources.grd', |
| 222 }, | 217 }, |
| 223 'includes': [ '../build/grit_action.gypi' ], | 218 'includes': [ 'chrome_grit_action.gypi' ], |
| 224 }, | 219 }, |
| 225 { | 220 { |
| 226 # GN version: //chrome/renderer:resources | 221 # GN version: //chrome/renderer:resources |
| 227 'action_name': 'generate_renderer_resources', | 222 'action_name': 'generate_renderer_resources', |
| 228 'variables': { | 223 'variables': { |
| 229 'grit_grd_file': 'renderer/resources/renderer_resources.grd', | 224 'grit_grd_file': 'renderer/resources/renderer_resources.grd', |
| 230 }, | 225 }, |
| 231 'includes': [ '../build/grit_action.gypi' ], | 226 'includes': [ 'chrome_grit_action.gypi' ], |
| 232 }, | 227 }, |
| 233 ], | 228 ], |
| 234 'conditions': [ | 229 'conditions': [ |
| 235 ['enable_extensions==1', { | 230 ['enable_extensions==1', { |
| 236 'actions': [ | 231 'actions': [ |
| 237 { | 232 { |
| 238 # GN version: //chrome/common:extensions_api_resources | 233 # GN version: //chrome/common:extensions_api_resources |
| 239 'action_name': 'generate_extensions_api_resources', | 234 'action_name': 'generate_extensions_api_resources', |
| 240 'variables': { | 235 'variables': { |
| 241 'grit_grd_file': 'common/extensions_api_resources.grd', | 236 'grit_grd_file': 'common/extensions_api_resources.grd', |
| 242 }, | 237 }, |
| 243 'includes': [ '../build/grit_action.gypi' ], | 238 'includes': [ 'chrome_grit_action.gypi' ], |
| 244 } | 239 } |
| 245 ], | 240 ], |
| 246 }], | 241 }], |
| 247 ], | 242 ], |
| 248 'includes': [ '../build/grit_target.gypi' ], | 243 'includes': [ '../build/grit_target.gypi' ], |
| 249 }, | 244 }, |
| 250 { | 245 { |
| 251 # TODO(mark): It would be better if each static library that needed | 246 # TODO(mark): It would be better if each static library that needed |
| 252 # to run grit would list its own .grd files, but unfortunately some | 247 # to run grit would list its own .grd files, but unfortunately some |
| 253 # of the static libraries currently have circular dependencies among | 248 # of the static libraries currently have circular dependencies among |
| 254 # generated headers. | 249 # generated headers. |
| 255 # | 250 # |
| 256 # GN version: //chrome:strings | 251 # GN version: //chrome:strings |
| 257 'target_name': 'chrome_strings', | 252 'target_name': 'chrome_strings', |
| 258 'type': 'none', | 253 'type': 'none', |
| 259 'actions': [ | 254 'actions': [ |
| 260 { | 255 { |
| 261 # GN version: //chrome/app/resources:locale_settings | 256 # GN version: //chrome/app/resources:locale_settings |
| 262 'action_name': 'generate_locale_settings', | 257 'action_name': 'generate_locale_settings', |
| 263 'variables': { | 258 'variables': { |
| 264 'grit_grd_file': 'app/resources/locale_settings.grd', | 259 'grit_grd_file': 'app/resources/locale_settings.grd', |
| 265 }, | 260 }, |
| 266 'includes': [ '../build/grit_action.gypi' ], | 261 'includes': [ 'chrome_grit_action.gypi' ], |
| 267 }, | 262 }, |
| 268 { | 263 { |
| 269 # GN version: //chrome/app:chromium_strings | 264 # GN version: //chrome/app:chromium_strings |
| 270 'action_name': 'generate_chromium_strings', | 265 'action_name': 'generate_chromium_strings', |
| 271 'variables': { | 266 'variables': { |
| 272 'grit_grd_file': 'app/chromium_strings.grd', | 267 'grit_grd_file': 'app/chromium_strings.grd', |
| 273 }, | 268 }, |
| 274 'includes': [ '../build/grit_action.gypi' ], | 269 'includes': [ 'chrome_grit_action.gypi' ], |
| 275 }, | 270 }, |
| 276 { | 271 { |
| 277 # GN version: //chrome/app:generated_resources | 272 # GN version: //chrome/app:generated_resources |
| 278 'action_name': 'generate_generated_resources', | 273 'action_name': 'generate_generated_resources', |
| 279 'variables': { | 274 'variables': { |
| 280 'grit_grd_file': 'app/generated_resources.grd', | 275 'grit_grd_file': 'app/generated_resources.grd', |
| 281 }, | 276 }, |
| 282 'includes': [ '../build/grit_action.gypi' ], | 277 'includes': [ 'chrome_grit_action.gypi' ], |
| 283 }, | 278 }, |
| 284 { | 279 { |
| 285 # GN version: //chrome/app:google_chrome_strings | 280 # GN version: //chrome/app:google_chrome_strings |
| 286 'action_name': 'generate_google_chrome_strings', | 281 'action_name': 'generate_google_chrome_strings', |
| 287 'variables': { | 282 'variables': { |
| 288 'grit_grd_file': 'app/google_chrome_strings.grd', | 283 'grit_grd_file': 'app/google_chrome_strings.grd', |
| 289 }, | 284 }, |
| 290 'includes': [ '../build/grit_action.gypi' ], | 285 'includes': [ 'chrome_grit_action.gypi' ], |
| 291 }, | 286 }, |
| 292 { | 287 { |
| 293 # GN version: //chrome/app:settings_strings | 288 # GN version: //chrome/app:settings_strings |
| 294 'action_name': 'generate_settings_strings', | 289 'action_name': 'generate_settings_strings', |
| 295 'variables': { | 290 'variables': { |
| 296 'grit_grd_file': 'app/settings_strings.grd', | 291 'grit_grd_file': 'app/settings_strings.grd', |
| 297 }, | 292 }, |
| 298 'includes': [ '../build/grit_action.gypi' ], | 293 'includes': [ 'chrome_grit_action.gypi' ], |
| 299 }, | 294 }, |
| 300 { | 295 { |
| 301 # GN version: //chrome/app:settings_chromium_strings | 296 # GN version: //chrome/app:settings_chromium_strings |
| 302 'action_name': 'generate_settings_chromium_strings', | 297 'action_name': 'generate_settings_chromium_strings', |
| 303 'variables': { | 298 'variables': { |
| 304 'grit_grd_file': 'app/settings_chromium_strings.grd', | 299 'grit_grd_file': 'app/settings_chromium_strings.grd', |
| 305 }, | 300 }, |
| 306 'includes': [ '../build/grit_action.gypi' ], | 301 'includes': [ 'chrome_grit_action.gypi' ], |
| 307 }, | 302 }, |
| 308 { | 303 { |
| 309 # GN version: //chrome/app:settings_google_chrome_strings | 304 # GN version: //chrome/app:settings_google_chrome_strings |
| 310 'action_name': 'generate_settings_google_chrome_strings', | 305 'action_name': 'generate_settings_google_chrome_strings', |
| 311 'variables': { | 306 'variables': { |
| 312 'grit_grd_file': 'app/settings_google_chrome_strings.grd', | 307 'grit_grd_file': 'app/settings_google_chrome_strings.grd', |
| 313 }, | 308 }, |
| 314 'includes': [ '../build/grit_action.gypi' ], | 309 'includes': [ 'chrome_grit_action.gypi' ], |
| 315 }, | 310 }, |
| 316 ], | 311 ], |
| 317 }, | 312 }, |
| 318 { | 313 { |
| 319 # GN version: //chrome/browser/metrics/variations:chrome_ui_string_overrid er_factory_gen_sources | 314 # GN version: //chrome/browser/metrics/variations:chrome_ui_string_overrid er_factory_gen_sources |
| 320 'target_name': 'make_chrome_ui_string_overrider_factory', | 315 'target_name': 'make_chrome_ui_string_overrider_factory', |
| 321 'type': 'none', | 316 'type': 'none', |
| 322 'hard_dependency': 1, | 317 'hard_dependency': 1, |
| 323 'dependencies': [ | 318 'dependencies': [ |
| 324 'chrome_strings', | 319 'chrome_strings', |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 407 'app/resources/locale_settings_mac.grd', | 402 'app/resources/locale_settings_mac.grd', |
| 408 }], | 403 }], |
| 409 ], # conditions | 404 ], # conditions |
| 410 }, # variables | 405 }, # variables |
| 411 'actions': [ | 406 'actions': [ |
| 412 { | 407 { |
| 413 'action_name': 'generate_platform_locale_settings', | 408 'action_name': 'generate_platform_locale_settings', |
| 414 'variables': { | 409 'variables': { |
| 415 'grit_grd_file': '<(platform_locale_settings_grd)', | 410 'grit_grd_file': '<(platform_locale_settings_grd)', |
| 416 }, | 411 }, |
| 417 'includes': [ '../build/grit_action.gypi' ], | 412 'includes': [ 'chrome_grit_action.gypi' ], |
| 418 }, | 413 }, |
| 419 ], | 414 ], |
| 420 'includes': [ '../build/grit_target.gypi' ], | 415 'includes': [ '../build/grit_target.gypi' ], |
| 421 }, | 416 }, |
| 422 { | 417 { |
| 423 # GN version: //chrome/app/theme:theme_resources | 418 # GN version: //chrome/app/theme:theme_resources |
| 424 'target_name': 'theme_resources', | 419 'target_name': 'theme_resources', |
| 425 'type': 'none', | 420 'type': 'none', |
| 426 'dependencies': [ | 421 'dependencies': [ |
| 427 '../ui/resources/ui_resources.gyp:ui_resources', | 422 '../ui/resources/ui_resources.gyp:ui_resources', |
| 428 'chrome_unscaled_resources', | 423 'chrome_unscaled_resources', |
| 429 ], | 424 ], |
| 430 'actions': [ | 425 'actions': [ |
| 431 { | 426 { |
| 432 'action_name': 'generate_theme_resources', | 427 'action_name': 'generate_theme_resources', |
| 433 'variables': { | 428 'variables': { |
| 434 'grit_grd_file': 'app/theme/theme_resources.grd', | 429 'grit_grd_file': 'app/theme/theme_resources.grd', |
| 435 }, | 430 }, |
| 436 'includes': [ '../build/grit_action.gypi' ], | 431 'includes': [ 'chrome_grit_action.gypi' ], |
| 437 }, | 432 }, |
| 438 ], | 433 ], |
| 439 'includes': [ '../build/grit_target.gypi' ], | 434 'includes': [ '../build/grit_target.gypi' ], |
| 440 }, | 435 }, |
| 441 { | 436 { |
| 442 # GN version: //chrome:packed_extra_resources | 437 # GN version: //chrome:packed_extra_resources |
| 443 'target_name': 'packed_extra_resources', | 438 'target_name': 'packed_extra_resources', |
| 444 'type': 'none', | 439 'type': 'none', |
| 445 'dependencies': [ | 440 'dependencies': [ |
| 446 'chrome_extra_resources', | 441 'chrome_extra_resources', |
| (...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 644 { | 639 { |
| 645 # GN version: //chrome/app/theme:chrome_unscaled_resources | 640 # GN version: //chrome/app/theme:chrome_unscaled_resources |
| 646 'target_name': 'chrome_unscaled_resources', | 641 'target_name': 'chrome_unscaled_resources', |
| 647 'type': 'none', | 642 'type': 'none', |
| 648 'actions': [ | 643 'actions': [ |
| 649 { | 644 { |
| 650 'action_name': 'generate_chrome_unscaled_resources', | 645 'action_name': 'generate_chrome_unscaled_resources', |
| 651 'variables': { | 646 'variables': { |
| 652 'grit_grd_file': 'app/theme/chrome_unscaled_resources.grd', | 647 'grit_grd_file': 'app/theme/chrome_unscaled_resources.grd', |
| 653 }, | 648 }, |
| 654 'includes': [ '../build/grit_action.gypi' ], | 649 'includes': [ 'chrome_grit_action.gypi' ], |
| 655 }, | 650 }, |
| 656 ], | 651 ], |
| 657 'includes': [ '../build/grit_target.gypi' ], | 652 'includes': [ '../build/grit_target.gypi' ], |
| 658 }, | 653 }, |
| 659 { | 654 { |
| 660 # GN version: //chrome/browser/resources:options_test_resources | 655 # GN version: //chrome/browser/resources:options_test_resources |
| 661 'target_name': 'options_test_resources', | 656 'target_name': 'options_test_resources', |
| 662 'type': 'none', | 657 'type': 'none', |
| 663 'actions': [ | 658 'actions': [ |
| 664 { | 659 { |
| 665 'action_name': 'generate_options_test_resources', | 660 'action_name': 'generate_options_test_resources', |
| 666 'variables': { | 661 'variables': { |
| 667 'grit_grd_file': 'browser/resources/options_test_resources.grd', | 662 'grit_grd_file': 'browser/resources/options_test_resources.grd', |
| 668 }, | 663 }, |
| 669 'includes': [ '../build/grit_action.gypi' ], | 664 'includes': [ 'chrome_grit_action.gypi' ], |
| 670 }, | 665 }, |
| 671 ], | 666 ], |
| 672 'includes': [ '../build/grit_target.gypi' ], | 667 'includes': [ '../build/grit_target.gypi' ], |
| 673 }, | 668 }, |
| 674 { | 669 { |
| 675 # GN version: //chrome/test/data/resources:webui_test_resources | 670 # GN version: //chrome/test/data/resources:webui_test_resources |
| 676 'target_name': 'webui_test_resources', | 671 'target_name': 'webui_test_resources', |
| 677 'type': 'none', | 672 'type': 'none', |
| 678 'actions': [ | 673 'actions': [ |
| 679 { | 674 { |
| 680 'action_name': 'generate_webui_test_resources', | 675 'action_name': 'generate_webui_test_resources', |
| 681 'variables': { | 676 'variables': { |
| 682 'grit_grd_file': 'test/data/webui_test_resources.grd', | 677 'grit_grd_file': 'test/data/webui_test_resources.grd', |
| 683 }, | 678 }, |
| 684 'includes': [ '../build/grit_action.gypi' ], | 679 'includes': [ 'chrome_grit_action.gypi' ], |
| 685 }, | 680 }, |
| 686 ], | 681 ], |
| 687 'includes': [ '../build/grit_target.gypi' ], | 682 'includes': [ '../build/grit_target.gypi' ], |
| 688 }, | 683 }, |
| 689 { | 684 { |
| 690 # GN version: //chrome:browser_tests_pak | 685 # GN version: //chrome:browser_tests_pak |
| 691 'target_name': 'browser_tests_pak', | 686 'target_name': 'browser_tests_pak', |
| 692 'type': 'none', | 687 'type': 'none', |
| 693 'dependencies': [ | 688 'dependencies': [ |
| 694 'options_test_resources', | 689 'options_test_resources', |
| 695 'webui_test_resources', | 690 'webui_test_resources', |
| 696 ], | 691 ], |
| 697 'actions': [ | 692 'actions': [ |
| 698 { | 693 { |
| 699 'action_name': 'repack_browser_tests_pak', | 694 'action_name': 'repack_browser_tests_pak', |
| 700 'variables': { | 695 'variables': { |
| 701 'pak_inputs': [ | 696 'pak_inputs': [ |
| 702 '<(SHARED_INTERMEDIATE_DIR)/chrome/options_test_resources.pak', | 697 '<(SHARED_INTERMEDIATE_DIR)/chrome/options_test_resources.pak', |
| 703 '<(SHARED_INTERMEDIATE_DIR)/chrome/webui_test_resources.pak', | 698 '<(SHARED_INTERMEDIATE_DIR)/chrome/webui_test_resources.pak', |
| 704 ], | 699 ], |
| 705 'pak_output': '<(PRODUCT_DIR)/browser_tests.pak', | 700 'pak_output': '<(PRODUCT_DIR)/browser_tests.pak', |
| 706 }, | 701 }, |
| 707 'includes': [ '../build/repack_action.gypi' ], | 702 'includes': [ '../build/repack_action.gypi' ], |
| 708 }, | 703 }, |
| 709 ], | 704 ], |
| 710 }, | 705 }, |
| 711 ], # targets | 706 ], # targets |
| 712 } | 707 } |
| OLD | NEW |