OLD | NEW |
1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 2013 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 'includes': [ | 6 'includes': [ |
7 # Included to get 'mac_bundle_id' and other variables. | 7 # Included to get 'mac_bundle_id' and other variables. |
8 '../build/chrome_settings.gypi', | 8 '../build/chrome_settings.gypi', |
9 ], | 9 ], |
10 'variables': { | 10 'variables': { |
(...skipping 340 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
351 'copies': [ | 351 'copies': [ |
352 { | 352 { |
353 'destination': '<(input_resources_dir)/xml-v21/', | 353 'destination': '<(input_resources_dir)/xml-v21/', |
354 'files': [ | 354 'files': [ |
355 '<(SHARED_INTERMEDIATE_DIR)/policy/app_restrictions.xml' | 355 '<(SHARED_INTERMEDIATE_DIR)/policy/app_restrictions.xml' |
356 ], | 356 ], |
357 }, | 357 }, |
358 ], | 358 ], |
359 'actions': [ | 359 'actions': [ |
360 { | 360 { |
| 361 'action_name': 'remove_localized_resources', |
| 362 'outputs': [ |
| 363 '<(input_resources_dir)/remove_localized_resources.d.stamp' |
| 364 ], |
| 365 'inputs': [ |
| 366 'policy/tools/remove_localized_app_restrictions.py', |
| 367 ], |
| 368 'action': [ |
| 369 'python', |
| 370 'policy/tools/remove_localized_app_restrictions.py', |
| 371 '<(input_resources_dir)', |
| 372 ], |
| 373 }, |
| 374 { |
361 'action_name': 'create_resources_zip', | 375 'action_name': 'create_resources_zip', |
362 'inputs': [ | 376 'inputs': [ |
363 '<(create_zip_script)', | 377 '<(create_zip_script)', |
364 '<(input_resources_dir)/xml-v21/app_restrictions.xml', | 378 '<(input_resources_dir)/xml-v21/app_restrictions.xml', |
365 '<(input_resources_dir)/values-v21/restriction_values.xml', | 379 '<(input_resources_dir)/values-v21/restriction_values.xml', |
| 380 # A dummy stamp file to remove localized resources without |
| 381 # clobbering the build. |
| 382 # TODO(475515): Remove after all build bots have run |
| 383 # 'remove_localized_resources' target. |
| 384 '<(input_resources_dir)/remove_localized_resources.d.stamp', |
366 ], | 385 ], |
367 'outputs': [ | 386 'outputs': [ |
368 '<(resources_zip)' | 387 '<(resources_zip)' |
369 ], | 388 ], |
370 'action': [ | 389 'action': [ |
371 'python', '<(create_zip_script)', | 390 'python', '<(create_zip_script)', |
372 '--input-dir', '<(input_resources_dir)', | 391 '--input-dir', '<(input_resources_dir)', |
373 '--output', '<(resources_zip)', | 392 '--output', '<(resources_zip)', |
374 ], | 393 ], |
375 } | 394 } |
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
513 'message': | 532 'message': |
514 'Copy the Localizable.strings files to the manifest bundle', | 533 'Copy the Localizable.strings files to the manifest bundle', |
515 'process_outputs_as_mac_bundle_resources': 1, | 534 'process_outputs_as_mac_bundle_resources': 1, |
516 }, | 535 }, |
517 ], | 536 ], |
518 }, | 537 }, |
519 ], | 538 ], |
520 }], | 539 }], |
521 ], | 540 ], |
522 } | 541 } |
OLD | NEW |