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