| 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 'variables': { | 5 'variables': { |
| 6 # Apply Chrome-specific grit settings to all of 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. | 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 | 8 # The caveat is these variables cannot be merged with other variable |
| 9 # dictionaries in more inner scopes. If the variable should be merged, | 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 | 10 # consider putting them in a gypi file and including it at the right scope |
| (...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 215 { | 215 { |
| 216 # GN version: //chrome/common:extensions_api_resources | 216 # GN version: //chrome/common:extensions_api_resources |
| 217 'action_name': 'generate_extensions_api_resources', | 217 'action_name': 'generate_extensions_api_resources', |
| 218 'variables': { | 218 'variables': { |
| 219 'grit_grd_file': 'common/extensions_api_resources.grd', | 219 'grit_grd_file': 'common/extensions_api_resources.grd', |
| 220 }, | 220 }, |
| 221 'includes': [ 'chrome_grit_action.gypi' ], | 221 'includes': [ 'chrome_grit_action.gypi' ], |
| 222 } | 222 } |
| 223 ], | 223 ], |
| 224 }], | 224 }], |
| 225 ['OS != "android" and OS != "ios"', { | |
| 226 'dependencies': [ 'make_file_types_protobuf' ] | |
| 227 }], | |
| 228 ], | 225 ], |
| 229 'includes': [ '../build/grit_target.gypi' ], | 226 'includes': [ '../build/grit_target.gypi' ], |
| 230 }, | 227 }, |
| 231 { | 228 { |
| 232 # TODO(mark): It would be better if each static library that needed | 229 # TODO(mark): It would be better if each static library that needed |
| 233 # to run grit would list its own .grd files, but unfortunately some | 230 # to run grit would list its own .grd files, but unfortunately some |
| 234 # of the static libraries currently have circular dependencies among | 231 # of the static libraries currently have circular dependencies among |
| 235 # generated headers. | 232 # generated headers. |
| 236 # | 233 # |
| 237 # GN version: //chrome:strings | 234 # GN version: //chrome:strings |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 289 { | 286 { |
| 290 # GN version: //chrome/app:settings_google_chrome_strings | 287 # GN version: //chrome/app:settings_google_chrome_strings |
| 291 'action_name': 'generate_settings_google_chrome_strings', | 288 'action_name': 'generate_settings_google_chrome_strings', |
| 292 'variables': { | 289 'variables': { |
| 293 'grit_grd_file': 'app/settings_google_chrome_strings.grd', | 290 'grit_grd_file': 'app/settings_google_chrome_strings.grd', |
| 294 }, | 291 }, |
| 295 'includes': [ 'chrome_grit_action.gypi' ], | 292 'includes': [ 'chrome_grit_action.gypi' ], |
| 296 }, | 293 }, |
| 297 ], | 294 ], |
| 298 }, | 295 }, |
| 299 | |
| 300 { | 296 { |
| 301 # GN version: //chrome/browser/resources/safe_browsing:make_file_types_pro
tobuf | |
| 302 # Convert the ascii proto file to a binary resource. | |
| 303 'target_name': 'make_file_types_protobuf', | |
| 304 'type': 'none', | |
| 305 'hard_dependency': 1, | |
| 306 'dependencies': [ | |
| 307 'chrome.gyp:safe_browsing_proto', | |
| 308 ], | |
| 309 'actions': [ | |
| 310 { | |
| 311 'action_name': 'generate_file_types_protobuf', | |
| 312 'variables' : { | |
| 313 'script_file':'browser/resources/safe_browsing/gen_file_type_proto.p
y', | |
| 314 'asciipb_file' : 'browser/resources/safe_browsing/download_file_type
s.asciipb', | |
| 315 'output_file' : '<(SHARED_INTERMEDIATE_DIR)/chrome/browser/resources
/safe_browsing/download_file_types.pb', | |
| 316 }, | |
| 317 'inputs': [ | |
| 318 '<(script_file)', | |
| 319 '<(asciipb_file)', | |
| 320 ], | |
| 321 'outputs': [ | |
| 322 '<(output_file)', | |
| 323 ], | |
| 324 'action': [ | |
| 325 'python', '<(script_file)', | |
| 326 '-i', '<(asciipb_file)', | |
| 327 '-o', '<(output_file)', | |
| 328 '-p', '<(PRODUCT_DIR)/pyproto/chrome/common/safe_browsing', | |
| 329 ], | |
| 330 'message': 'Generating download_file_types.pb.', | |
| 331 } | |
| 332 ], | |
| 333 }, | |
| 334 { | |
| 335 # GN version: //chrome/browser/metrics/variations:chrome_ui_string_overrid
er_factory_gen_sources | 297 # GN version: //chrome/browser/metrics/variations:chrome_ui_string_overrid
er_factory_gen_sources |
| 336 'target_name': 'make_chrome_ui_string_overrider_factory', | 298 'target_name': 'make_chrome_ui_string_overrider_factory', |
| 337 'type': 'none', | 299 'type': 'none', |
| 338 'hard_dependency': 1, | 300 'hard_dependency': 1, |
| 339 'dependencies': [ | 301 'dependencies': [ |
| 340 'chrome_strings', | 302 'chrome_strings', |
| 341 '../components/components_strings.gyp:components_strings', | 303 '../components/components_strings.gyp:components_strings', |
| 342 ], | 304 ], |
| 343 'actions': [ | 305 'actions': [ |
| 344 { | 306 { |
| (...skipping 374 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 719 '<(SHARED_INTERMEDIATE_DIR)/chrome/webui_test_resources.pak', | 681 '<(SHARED_INTERMEDIATE_DIR)/chrome/webui_test_resources.pak', |
| 720 ], | 682 ], |
| 721 'pak_output': '<(PRODUCT_DIR)/browser_tests.pak', | 683 'pak_output': '<(PRODUCT_DIR)/browser_tests.pak', |
| 722 }, | 684 }, |
| 723 'includes': [ '../build/repack_action.gypi' ], | 685 'includes': [ '../build/repack_action.gypi' ], |
| 724 }, | 686 }, |
| 725 ], | 687 ], |
| 726 }, | 688 }, |
| 727 ], # targets | 689 ], # targets |
| 728 } | 690 } |
| OLD | NEW |