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

Side by Side Diff: ppapi/native_client/tests/ppapi_example_font/nacl.scons

Issue 10762009: Remove dead NaCl tests and re-enabled fixed tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Reupload Created 8 years, 5 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
(Empty)
1 # -*- python -*-
2 # Copyright (c) 2012 The Native Client Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file.
5
6 # This is a Pepper font example from ppapi/examples/font.
7
8 Import('env')
9
10 env.Prepend(CPPDEFINES=['XP_UNIX'])
11 env.Replace(TEST_DIR='${SOURCE_ROOT}/ppapi/native_client/tests/' +
12 'ppapi_example_font/')
13
14 # Adjust compiler flags to the more forgiving standards used in
15 # ppapi/examples/*.
16 env.FilterOut(CCFLAGS=['-Werror', '-pedantic'])
17 env.Append(CCFLAGS=['-Wformat=0'])
18
19 nexe_name = env.ProgramNameForNmf('ppapi_example_font')
20 obj = env.ComponentObject(
21 'simple_font',
22 '$SOURCE_ROOT/ppapi/examples/font/simple_font.cc'
23 )
24 nexe = env.ComponentProgram(nexe_name, [obj],
25 EXTRA_LIBS=['${PPAPI_LIBS}', 'ppapi_cpp'])
26
27 # Note that the html is required to run this program.
28 env.Publish(nexe_name, 'run',
29 ['ppapi_example_font.html'])
30
31 test = env.PPAPIBrowserTester('ppapi_example_font_test.out',
32 url='ppapi_example_font.html',
33 nmf_names=['ppapi_example_font'],
34 files=env.ExtractPublishedFiles(nexe_name))
35
36 env.AddNodeToTestSuite(test,
37 ['chrome_browser_tests'],
38 'run_ppapi_example_font_test',
39 is_broken=env.PPAPIBrowserTesterIsBroken())
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698