2 # Copyright 2008 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.
12 # there are some issue with compiling ".mm" files
13 # TODO(sehr): this should Clone an env specifically for the mm file.
14 env.FilterOut(CCFLAGS=['-pedantic'])
16 nonnacl_util_inputs = [
17 'launcher_factory.cc',
18 'sel_ldr_launcher_base.cc',
19 'sel_ldr_launcher_standalone.cc',
22 if env.Bit('windows'):
23 nonnacl_util_inputs += [
24 'win/sel_ldr_launcher_win.cc',
26 elif env.Bit('linux'):
27 nonnacl_util_inputs += [
28 'posix/sel_ldr_launcher_posix.cc',
29 'posix/sel_ldr_launcher_zygote_posix.cc',
30 'posix/get_plugin_dirname.cc',
33 nonnacl_util_inputs += [
34 'posix/sel_ldr_launcher_posix.cc',
35 'posix/sel_ldr_launcher_zygote_posix.cc',
36 'osx/get_plugin_dirname.mm',
39 nonnacl_util_inputs = env.DualObject(nonnacl_util_inputs)
41 env.DualLibrary('nonnacl_util', nonnacl_util_inputs)