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 714 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
725 '<(DEPTH)/webkit/support/setup_third_party.gyp:third_party_headers', | 725 '<(DEPTH)/webkit/support/setup_third_party.gyp:third_party_headers', |
726 ], | 726 ], |
727 }], | 727 }], |
728 ], | 728 ], |
729 }, | 729 }, |
730 ], | 730 ], |
731 'conditions': [ | 731 'conditions': [ |
732 ['inside_chromium_build==1', { | 732 ['inside_chromium_build==1', { |
733 'includes': [ | 733 'includes': [ |
734 'ui_unittests.gypi', | 734 'ui_unittests.gypi', |
735 ], | 735 ]}, |
736 'targets': [ | 736 ], |
737 { | |
738 # TODO(rsesek): Remove this target once ui_unittests is run on the | |
739 # waterfall instead of gfx_unittests. | |
740 'target_name': 'gfx_unittests', | |
741 'type': 'none', | |
742 'dependencies': [ | |
743 'ui_unittests', | |
744 ], | |
745 'actions': [ | |
746 { | |
747 'message': 'TEMPORARY: Copying ui_unittests to gfx_unittests', | |
748 'variables': { | |
749 'ui_copy_target': '<(PRODUCT_DIR)/ui_unittests<(EXECUTABLE_SUFFI
X)', | |
750 'ui_copy_dest': '<(PRODUCT_DIR)/gfx_unittests<(EXECUTABLE_SUFFIX
)', | |
751 }, | |
752 'inputs': ['<(ui_copy_target)'], | |
753 'outputs': ['<(ui_copy_dest)'], | |
754 'action_name': 'TEMP_copy_ui_unittests', | |
755 'action': [ | |
756 'python', '-c', | |
757 'import os, shutil; ' \ | |
758 'shutil.copyfile(\'<(ui_copy_target)\', \'<(ui_copy_dest)\'); '
\ | |
759 'os.chmod(\'<(ui_copy_dest)\', 0700)' | |
760 ] | |
761 } | |
762 ], | |
763 }, | |
764 ], | |
765 }], | |
766 ], | 737 ], |
767 } | 738 } |
OLD | NEW |