3 # Copyright (c) 2012 The Native Client 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.
8 # TODO(sehr): remove need for the warning flag removals below
11 '../../../build/common.gypi',
15 'target_base': 'none',
17 'target_conditions': [
18 ['target_base=="sel_ldr_launcher"', {
20 'launcher_factory.cc',
21 'sel_ldr_launcher_standalone.cc',
26 'win/sel_ldr_launcher_win.cc',
29 ['OS=="linux" or OS=="android"', {
31 'posix/sel_ldr_launcher_posix.cc',
32 'posix/sel_ldr_launcher_zygote_posix.cc',
33 'posix/get_plugin_dirname.cc',
38 'posix/sel_ldr_launcher_posix.cc',
39 'posix/sel_ldr_launcher_zygote_posix.cc',
40 'osx/get_plugin_dirname.mm',
49 '-pedantic', # import is a gcc extension
57 # ----------------------------------------------------------------------
59 'target_name': 'sel_ldr_launcher_base',
60 'type': 'static_library',
62 '<(DEPTH)/native_client/src/shared/gio/gio.gyp:gio',
63 '<(DEPTH)/native_client/src/shared/imc/imc.gyp:imc',
64 '<(DEPTH)/native_client/src/shared/serialization/serialization.gyp:serialization',
65 '<(DEPTH)/native_client/src/shared/srpc/srpc.gyp:nonnacl_srpc',
66 '<(DEPTH)/native_client/src/trusted/desc/desc.gyp:nrd_xfer',
67 '<(DEPTH)/native_client/src/trusted/service_runtime/service_runtime.gyp:env_cleanser',
68 '<(DEPTH)/native_client/src/trusted/service_runtime/service_runtime.gyp:nacl_error_code',
72 'sel_ldr_launcher_base.cc',
75 # ----------------------------------------------------------------------
77 'target_name': 'sel_ldr_launcher',
78 'type': 'static_library',
80 'target_base': 'sel_ldr_launcher',
83 'sel_ldr_launcher_base',
84 '<(DEPTH)/native_client/src/shared/gio/gio.gyp:gio',
85 '<(DEPTH)/native_client/src/shared/imc/imc.gyp:imc',
86 '<(DEPTH)/native_client/src/shared/serialization/serialization.gyp:serialization',
87 '<(DEPTH)/native_client/src/shared/srpc/srpc.gyp:nonnacl_srpc',
88 '<(DEPTH)/native_client/src/trusted/desc/desc.gyp:nrd_xfer',
89 '<(DEPTH)/native_client/src/trusted/service_runtime/service_runtime.gyp:env_cleanser',
90 '<(DEPTH)/native_client/src/trusted/service_runtime/service_runtime.gyp:nacl_error_code',
93 # ----------------------------------------------------------------------
95 'target_name': 'nonnacl_util',
96 'type': 'static_library',
105 # ----------------------------------------------------------------------
107 ['OS=="win" and target_arch=="ia32"', {
109 # --------------------------------------------------------------------
111 'target_name': 'sel_ldr_launcher_base64',
112 'type': 'static_library',
117 '<(DEPTH)/native_client/src/shared/gio/gio.gyp:gio64',
118 '<(DEPTH)/native_client/src/shared/imc/imc.gyp:imc64',
119 '<(DEPTH)/native_client/src/shared/serialization/serialization.gyp:serialization64',
120 '<(DEPTH)/native_client/src/shared/srpc/srpc.gyp:nonnacl_srpc64',
121 '<(DEPTH)/native_client/src/trusted/desc/desc.gyp:nrd_xfer64',
122 '<(DEPTH)/native_client/src/trusted/service_runtime/service_runtime.gyp:env_cleanser64',
123 '<(DEPTH)/native_client/src/trusted/service_runtime/service_runtime.gyp:nacl_error_code64',
126 'sel_ldr_launcher.h',
127 'sel_ldr_launcher_base.cc',
130 # --------------------------------------------------------------------
132 'target_name': 'sel_ldr_launcher64',
133 'type': 'static_library',
135 'target_base': 'sel_ldr_launcher',
139 'sel_ldr_launcher_base64',
140 '<(DEPTH)/native_client/src/shared/gio/gio.gyp:gio64',
141 '<(DEPTH)/native_client/src/shared/imc/imc.gyp:imc64',
142 '<(DEPTH)/native_client/src/shared/serialization/serialization.gyp:serialization64',
143 '<(DEPTH)/native_client/src/shared/srpc/srpc.gyp:nonnacl_srpc64',
144 '<(DEPTH)/native_client/src/trusted/desc/desc.gyp:nrd_xfer64',
145 '<(DEPTH)/native_client/src/trusted/service_runtime/service_runtime.gyp:env_cleanser64',
146 '<(DEPTH)/native_client/src/trusted/service_runtime/service_runtime.gyp:nacl_error_code64',
149 # --------------------------------------------------------------------
151 'target_name': 'nonnacl_util64',
152 'type': 'static_library',
157 'sel_ldr_launcher64',