Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(15)

Side by Side Diff: ppapi/native_client/tests/ppapi_browser/ppb_fullscreen/nacl.scons

Issue 10868029: Inlining PPAPI_LIBS as its now the same everywhere. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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/' + 11 env.Replace(TEST_DIR='${SOURCE_ROOT}/ppapi/native_client/tests/ppapi_browser/' +
12 'ppb_fullscreen') 12 'ppb_fullscreen')
13 13
14 nexe = env.ProgramNameForNmf('ppapi_ppb_fullscreen') 14 nexe = env.ProgramNameForNmf('ppapi_ppb_fullscreen')
15 env.Alias('ppapi_ppb_fullscreen${PROGSUFFIX}', 15 env.Alias('ppapi_ppb_fullscreen${PROGSUFFIX}',
16 [ '$STAGING_DIR/%s${PROGSUFFIX}' % nexe ]) 16 [ '$STAGING_DIR/%s${PROGSUFFIX}' % nexe ])
17 17
18 ppapi_ppb_url_request_info_nexe = env.ComponentProgram( 18 ppapi_ppb_url_request_info_nexe = env.ComponentProgram(
19 nexe, 19 nexe,
20 [ 'ppapi_ppb_fullscreen.cc' ], 20 [ 'ppapi_ppb_fullscreen.cc' ],
21 EXTRA_LIBS=['${PPAPI_LIBS}', 21 EXTRA_LIBS=['ppapi',
22 'ppapi_test_lib', 22 'ppapi_test_lib',
23 'platform', # for CHECK 23 'platform', # for CHECK
24 'pthread', 24 'pthread',
25 'gio', 25 'gio',
26 ]) 26 ])
27 27
28 env.Publish(nexe, 'run', 28 env.Publish(nexe, 'run',
29 ['ppapi_ppb_fullscreen.html', 29 ['ppapi_ppb_fullscreen.html',
30 'ppapi_ppb_fullscreen.js']) 30 'ppapi_ppb_fullscreen.js'])
31 31
32 node = env.PPAPIBrowserTester('ppapi_ppb_fullscreen_browser_test.out', 32 node = env.PPAPIBrowserTester('ppapi_ppb_fullscreen_browser_test.out',
33 nmf_names=['ppapi_ppb_fullscreen'], 33 nmf_names=['ppapi_ppb_fullscreen'],
34 url='ppapi_ppb_fullscreen.html', 34 url='ppapi_ppb_fullscreen.html',
35 files=env.ExtractPublishedFiles(nexe), 35 files=env.ExtractPublishedFiles(nexe),
36 browser_flags=['--enable-pepper-testing']) 36 browser_flags=['--enable-pepper-testing'])
37 37
38 # Fatal Error on Mac: 38 # Fatal Error on Mac:
39 # ERROR:render_widget_host_view_mac.mm(344)] Not implemented reached in virtual 39 # ERROR:render_widget_host_view_mac.mm(344)] Not implemented reached in virtual
40 # void RenderWidgetHost ViewMac::InitAsFullscreen(RenderWidgetHostView *)Full 40 # void RenderWidgetHost ViewMac::InitAsFullscreen(RenderWidgetHostView *)Full
41 # screen not implemented on Mac 41 # screen not implemented on Mac
42 env.AddNodeToTestSuite( 42 env.AddNodeToTestSuite(
43 node, 43 node,
44 ['chrome_browser_tests'], 44 ['chrome_browser_tests'],
45 'run_ppapi_ppb_fullscreen_browser_test', 45 'run_ppapi_ppb_fullscreen_browser_test',
46 # New PPB_Fullscreen_Dev implementation only allows transitions to 46 # New PPB_Fullscreen_Dev implementation only allows transitions to
47 # fullscreen after a user gesture. Until PPB_Testing has the capabilities 47 # fullscreen after a user gesture. Until PPB_Testing has the capabilities
48 # to trigger those, we cannot test this automatically. 48 # to trigger those, we cannot test this automatically.
49 # The test can still be run manually. Once it pauses at 49 # The test can still be run manually. Once it pauses at
50 # TestSetFullscreenTrue, click on the purple square to generate a user 50 # TestSetFullscreenTrue, click on the purple square to generate a user
51 # gesture needed to trigger fullscreen testing. 51 # gesture needed to trigger fullscreen testing.
52 #is_broken=(env.PPAPIBrowserTesterIsBroken() or env.Bit('host_mac'))) 52 #is_broken=(env.PPAPIBrowserTesterIsBroken() or env.Bit('host_mac')))
53 is_broken=True) 53 is_broken=True)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698