Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / native_client / src / shared / platform / nacl.scons
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 Import('env')
7 env.Append(CCFLAGS=['-Wno-long-long'])
8
9 platform_inputs = [
10     'nacl_check.c',
11     'nacl_log.c',
12     'posix/condition_variable.c',
13     'posix/lock.c',
14     'posix/nacl_error.c',
15     'posix/nacl_exit.c',
16     'posix/nacl_thread_id.c',
17     'posix/nacl_threads.c',
18     'posix/nacl_timestamp.c',
19     'nacl_sync_checked.c',
20     'refcount_base.cc',
21     ]
22
23 libplatform = env.NaClSdkLibrary('libplatform',
24                                  platform_inputs,
25                                  LIBS=['pthread', 'gio'])
26