OLD | NEW |
| (Empty) |
1 #!/usr/bin/python | |
2 # | |
3 # Copyright (c) 2010 The Ginsu Project Authors. All rights reserved. | |
4 # Use of this source code is governed by a BSD-style license that can be | |
5 # found in the LICENSE file. | |
6 | |
7 Import('env') | |
8 | |
9 # Build the c_salt library. | |
10 | |
11 c_salt_npapi_sources = [ | |
12 'npapi/browser_3d_device.cc', | |
13 'npapi/browser_binding.cc', | |
14 'npapi/javascript_object_proxy.cc', | |
15 'npapi/npn_bridge.cc', | |
16 'npapi/npp_gate.cc', | |
17 'npapi/scoped_npid_to_string_converter.cc', | |
18 'npapi/variant_converter.cc', | |
19 ] | |
20 | |
21 c_salt_sources = [ | |
22 'converting_visitor.cc', | |
23 'graphics_2d_context.cc', | |
24 'instance.cc', | |
25 'module.cc', | |
26 'notification_center.cc', | |
27 'opengl_context.cc', | |
28 'property.cc', | |
29 'rect.cc', | |
30 'scriptable_native_object.cc', | |
31 'scripting_bridge.cc', | |
32 'variant.cc', | |
33 ] | |
34 | |
35 all_c_salt_sources = [ | |
36 c_salt_sources, | |
37 c_salt_npapi_sources, | |
38 ] | |
39 | |
40 | |
41 env.ComponentLibrary('c_salt', all_c_salt_sources, COMPONENT_STATIC = True) | |
42 env.Append(LIBS=['c_salt']) | |
OLD | NEW |