| OLD | NEW |
| 1 # -*- python -*- | 1 # -*- python -*- |
| 2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
| 4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
| 5 # | 5 # |
| 6 # This test uses ppapi_test_lib. | 6 # This test uses ppapi_test_lib. |
| 7 | 7 |
| 8 Import('env') | 8 Import('env') |
| 9 | 9 |
| 10 env.Prepend(CPPDEFINES=['XP_UNIX']) | 10 env.Prepend(CPPDEFINES=['XP_UNIX']) |
| 11 env.Replace(TEST_DIR='${SOURCE_ROOT}/ppapi/native_client/tests/ppapi_browser/' + | |
| 12 'ppb_fullscreen') | |
| 13 | 11 |
| 14 nexe = env.ProgramNameForNmf('ppapi_ppb_fullscreen') | 12 nexe = env.ProgramNameForNmf('ppapi_ppb_fullscreen') |
| 15 env.Alias('ppapi_ppb_fullscreen${PROGSUFFIX}', | 13 env.Alias('ppapi_ppb_fullscreen${PROGSUFFIX}', |
| 16 [ '$STAGING_DIR/%s${PROGSUFFIX}' % nexe ]) | 14 [ '$STAGING_DIR/%s${PROGSUFFIX}' % nexe ]) |
| 17 | 15 |
| 18 ppapi_ppb_url_request_info_nexe = env.ComponentProgram( | 16 ppapi_ppb_url_request_info_nexe = env.ComponentProgram( |
| 19 nexe, | 17 nexe, |
| 20 [ 'ppapi_ppb_fullscreen.cc' ], | 18 [ 'ppapi_ppb_fullscreen.cc' ], |
| 21 EXTRA_LIBS=['ppapi', | 19 EXTRA_LIBS=['ppapi', |
| 22 'ppapi_test_lib', | 20 'ppapi_test_lib', |
| (...skipping 21 matching lines...) Expand all Loading... |
| 44 ['chrome_browser_tests'], | 42 ['chrome_browser_tests'], |
| 45 'run_ppapi_ppb_fullscreen_browser_test', | 43 'run_ppapi_ppb_fullscreen_browser_test', |
| 46 # New PPB_Fullscreen_Dev implementation only allows transitions to | 44 # New PPB_Fullscreen_Dev implementation only allows transitions to |
| 47 # fullscreen after a user gesture. Until PPB_Testing has the capabilities | 45 # fullscreen after a user gesture. Until PPB_Testing has the capabilities |
| 48 # to trigger those, we cannot test this automatically. | 46 # to trigger those, we cannot test this automatically. |
| 49 # The test can still be run manually. Once it pauses at | 47 # The test can still be run manually. Once it pauses at |
| 50 # TestSetFullscreenTrue, click on the purple square to generate a user | 48 # TestSetFullscreenTrue, click on the purple square to generate a user |
| 51 # gesture needed to trigger fullscreen testing. | 49 # gesture needed to trigger fullscreen testing. |
| 52 #is_broken=(env.PPAPIBrowserTesterIsBroken() or env.Bit('host_mac'))) | 50 #is_broken=(env.PPAPIBrowserTesterIsBroken() or env.Bit('host_mac'))) |
| 53 is_broken=True) | 51 is_broken=True) |
| OLD | NEW |