OLD | NEW |
1 # -*- python -*- | 1 # -*- python -*- |
2 # Copyright (c) 2011 The Native Client Authors. All rights reserved. | 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 | 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 # Test library for testing PPAPI C layer for PPB_ and PPP_ interfaces. | 6 # Test library for testing PPAPI C layer for PPB_ and PPP_ interfaces. |
7 # | 7 # |
8 # TODO(polina): also factor in the C++ layer? | 8 # TODO(polina): also factor in the C++ layer? |
9 # TODO(polina): add trusted build.scons. | 9 # TODO(polina): add trusted build.scons. |
10 # | 10 # |
11 # module_instance.cc - implements PPP and PPP_Instance interfaces. | 11 # module_instance.cc - implements PPP and PPP_Instance interfaces. |
12 # scriptable_object.cc - implements the scripting interface. | |
13 # get_browser_interface.cc - implements interface lookup helpers. | 12 # get_browser_interface.cc - implements interface lookup helpers. |
14 # internal_utils.cc - implements internal helper functions and globals. | 13 # internal_utils.cc - implements internal helper functions and globals. |
15 # test_interface.cc - implements the test interface. | 14 # test_interface.cc - implements the test interface. |
16 # | 15 # |
17 # See ppapi_test_example for sample usage. | 16 # See ppapi_test_example for sample usage. |
18 | 17 |
19 Import('env') | 18 Import('env') |
20 | 19 |
21 env.Prepend(CPPDEFINES=['XP_UNIX']) | 20 env.Prepend(CPPDEFINES=['XP_UNIX']) |
22 | 21 |
23 env.ComponentLibrary('ppapi_test_lib', | 22 env.ComponentLibrary('ppapi_test_lib', |
24 ['get_browser_interface.cc', | 23 ['get_browser_interface.cc', |
25 'internal_utils.cc', | 24 'internal_utils.cc', |
26 'module_instance.cc', | 25 'module_instance.cc', |
27 'scriptable_object.cc', | |
28 'test_interface.cc']); | 26 'test_interface.cc']); |
OLD | NEW |