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

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

Issue 7740013: Cloning a bunch of stuff from the native_client repository at r6528 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 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
(Empty)
1 # -*- python -*-
2 # Copyright (c) 2011 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
12 # Adjust compiler flags to the more forgiving standards used in
13 # ppapi/examples/*.
14 env.FilterOut(CCFLAGS=['-Werror', '-pedantic'])
15 env.Append(CCFLAGS=['-Wformat=0'])
16
17 nexe_name = 'ppapi_example_font_${TARGET_FULLARCH}'
18 obj = env.ComponentObject(
19 'simple_font',
20 '$SOURCE_ROOT/ppapi/examples/font/simple_font.cc'
21 )
22 nexe = env.ComponentProgram(nexe_name, [obj],
23 EXTRA_LIBS=['${PPAPI_LIBS}', 'ppapi_cpp'])
24
25 # Note that the html is required to run this program.
26 env.Publish(nexe_name, 'run',
27 ['ppapi_example_font.html', 'ppapi_example_font.nmf'])
28
29 test = env.PPAPIBrowserTester('ppapi_example_font_test.out',
30 url='ppapi_example_font.html',
31 files=env.ExtractPublishedFiles(nexe_name))
32
33 env.AddNodeToTestSuite(test,
34 ['chrome_browser_tests'],
35 'run_ppapi_example_font_test',
36 is_broken=env.PPAPIBrowserTesterIsBroken())
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698