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

Side by Side Diff: ppapi/native_client/tests/ppapi_tests/build.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, 3 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 2011 The Native Client Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can
4 # be found in the LICENSE file.
5
6 # A way to build the PPAPI tests as a trusted plugin to validate directly
7 # against Chrome on Linux using these arguments:
8 # --register-pepper-plugins=\
9 # "/path/to/libppapi_tests_<ARCH>.so;application/x-nacl"
10 # --enable-pepper-testing \
11 # http://localhost:5103/scons-out/nacl-x86-../staging/test_case.html
12 # Tip: you can verify that the plugin was loaded by navigating to about:plugins
13 # in Chromium.
14
15 # Also see nacl.scons for building/running (a subset of) these tests in NaCl.
16
17 Import('env')
18
19 if env.Bit('linux'):
20 env['COMPONENT_STATIC'] = False # Build a .so, not a .a
21
22 # Adjust CCFLAGS to match the more forgiving standards used in the Chromium
23 # PPAPI tests.
24 env.FilterOut(CCFLAGS=['-Werror', '-pedantic'])
25 env.Append(CCFLAGS=['-Wno-unused-parameter',
26 '-Wno-missing-field-initializers',
27 '-Wall'])
28 ppapi_tests_trusted = 'libppapi_tests_%s.so' % env.get('TARGET_FULLARCH')
29
30 libppapi_tests_so = env.ComponentLibrary(
31 ppapi_tests_trusted,
32 Glob('${SOURCE_ROOT}/ppapi/tests/*.cc'),
33 EXTRA_LIBS=['ppapi_cpp'],
34 no_import_lib=True)
35
36 env.Publish(ppapi_tests_trusted, 'run',
37 ['${SOURCE_ROOT}/ppapi/tests/test_url_loader_data/*'],
38 subdir='test_url_loader_data')
39
40 env.Publish(ppapi_tests_trusted, 'run',
41 [libppapi_tests_so,
42 '${SOURCE_ROOT}/ppapi/tests/test_case.html',
43 'test_case.nmf',
44 '${SOURCE_ROOT}/ppapi/tests/test_image_data',
45 '${SOURCE_ROOT}/ppapi/tests/test_page.css'])
OLDNEW
« no previous file with comments | « ppapi/native_client/tests/ppapi_test_lib/testable_callback.cc ('k') | ppapi/native_client/tests/ppapi_tests/nacl.scons » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698