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 { | 5 { |
6 'variables': { | 6 'variables': { |
7 'chromium_code': 1, | 7 'chromium_code': 1, |
8 }, | 8 }, |
9 'includes': [ | 9 'includes': [ |
10 'ui_resources.gypi', | 10 'ui_resources.gypi', |
(...skipping 563 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
574 }], | 574 }], |
575 ['use_system_icu==1', { | 575 ['use_system_icu==1', { |
576 # When using the system icu, the icu targets generate shim headers | 576 # When using the system icu, the icu targets generate shim headers |
577 # which are included by public headers in the ui target, so we need | 577 # which are included by public headers in the ui target, so we need |
578 # ui to be a hard dependency for all its users. | 578 # ui to be a hard dependency for all its users. |
579 'hard_dependency': 1, | 579 'hard_dependency': 1, |
580 }], | 580 }], |
581 ], | 581 ], |
582 }, | 582 }, |
583 { | 583 { |
584 'target_name': 'ui_pak', | |
585 'type': 'none', | |
586 'dependencies': [ | |
587 '<(DEPTH)/ui/base/strings/ui_strings.gyp:ui_strings', | |
588 '<(DEPTH)/ui/ui.gyp:ui_resources', | |
589 ], | |
590 'variables': { | |
591 'repack_path': '<(DEPTH)/tools/grit/grit/format/repack.py', | |
592 }, | |
593 'actions': [ | |
594 { | |
595 'action_name': 'ui_pack', | |
596 'variables': { | |
597 'pak_inputs': [ | |
598 '<(SHARED_INTERMEDIATE_DIR)/ui/app_locale_settings/app_locale_sett ings_en-US.pak', | |
599 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources/ui_resources_100_perce nt.pak', | |
600 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_strings/ui_strings_en-US.pak', | |
601 ], | |
602 }, | |
603 'inputs': [ | |
604 '<(repack_path)', | |
605 '<@(pak_inputs)', | |
606 ], | |
607 'outputs': [ | |
608 '<(PRODUCT_DIR)/ui.pak', | |
tony
2013/10/31 19:48:34
I would put 'test' in the filename to make it clea
| |
609 ], | |
610 'action': ['python', '<(repack_path)', '<@(_outputs)', | |
611 '<@(pak_inputs)'], | |
612 }, | |
613 ], | |
614 }, | |
615 { | |
584 'target_name': 'webui_test_support', | 616 'target_name': 'webui_test_support', |
585 'type': 'none', | 617 'type': 'none', |
586 'direct_dependent_settings': { | 618 'direct_dependent_settings': { |
587 'include_dirs': [ | 619 'include_dirs': [ |
588 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources', | 620 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources', |
589 ] | 621 ] |
590 } | 622 } |
591 }, | 623 }, |
592 { | 624 { |
593 'target_name': 'keycode_converter', | 625 'target_name': 'keycode_converter', |
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
720 'xcode_settings': { | 752 'xcode_settings': { |
721 'GCC_SYMBOLS_PRIVATE_EXTERN': 'NO', | 753 'GCC_SYMBOLS_PRIVATE_EXTERN': 'NO', |
722 }, | 754 }, |
723 }], | 755 }], |
724 ], | 756 ], |
725 }, | 757 }, |
726 ], | 758 ], |
727 }], | 759 }], |
728 ], | 760 ], |
729 } | 761 } |
OLD | NEW |