Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / native_client / src / trusted / validator_x86 / build.scons
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
7 import glob
8 import os
9 import sys
10
11 Import('env')
12
13 #
14 #
15 # Build x86 only pieces
16 #
17 #
18 if not env.Bit('target_x86'): Return()
19
20 # The following are copycode routines for x86-32 and x86-64.
21 # TODO(karl): Break this up so that we don't need to load
22 # non-shared code in library.
23 env.ComponentLibrary(env.NaClTargetArchSuffix('nccopy'), [
24     'nccopycode.c',
25     'nccopycode_stores.S',
26     ])
27