1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
7 '../native_client/build/untrusted.gypi',
12 'protoc': '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)protoc<(EXECUTABLE_SUFFIX)',
13 'proto_out_base': '<(SHARED_INTERMEDIATE_DIR)/protoc_out',
14 'proto_out_dir': '<(proto_out_base)/remoting/proto',
16 'nacl_untrusted_build': 1,
22 'target_name': 'remoting_webrtc_nacl',
25 'nacl_untrusted_build': 1,
26 'nlib_target': 'libremoting_webrtc_nacl.a',
29 'build_pnacl_newlib': 1,
33 '../third_party/webrtc',
36 '../third_party/webrtc/modules/desktop_capture/desktop_frame.cc',
37 '../third_party/webrtc/modules/desktop_capture/desktop_frame.h',
38 '../third_party/webrtc/modules/desktop_capture/desktop_geometry.cc',
39 '../third_party/webrtc/modules/desktop_capture/desktop_geometry.h',
40 '../third_party/webrtc/modules/desktop_capture/desktop_region.cc',
41 '../third_party/webrtc/modules/desktop_capture/desktop_region.h',
42 '../third_party/webrtc/modules/desktop_capture/shared_desktop_frame.cc',
43 '../third_party/webrtc/modules/desktop_capture/shared_desktop_frame.h',
45 'direct_dependent_settings': {
48 '../third_party/webrtc',
51 }, # end of target 'remoting_webrtc_nacl'
54 'target_name': 'remoting_proto_nacl',
57 'nacl_untrusted_build': 1,
58 'nlib_target': 'libremoting_proto_nacl.a',
61 'build_pnacl_newlib': 1,
63 '<(proto_out_dir)/audio.pb.cc',
64 '<(proto_out_dir)/control.pb.cc',
65 '<(proto_out_dir)/event.pb.cc',
66 '<(proto_out_dir)/internal.pb.cc',
67 '<(proto_out_dir)/video.pb.cc',
68 '<(proto_out_dir)/mux.pb.cc',
70 'extra_deps': [ '<@(files_list)' ],
71 'extra_args': [ '<@(files_list)' ],
74 'GOOGLE_PROTOBUF_HOST_ARCH_64_BIT=1'
77 '../native_client/tools.gyp:prep_toolchain',
78 '../third_party/protobuf/protobuf_nacl.gyp:protobuf_lite_nacl',
79 'proto/chromotocol.gyp:chromotocol_proto_lib',
81 'export_dependent_settings': [
82 '../third_party/protobuf/protobuf_nacl.gyp:protobuf_lite_nacl',
84 'direct_dependent_settings': {
89 }, # end of target 'remoting_proto_nacl'
92 'target_name': 'remoting_client_plugin_lib_nacl',
95 'nacl_untrusted_build': 1,
96 'nlib_target': 'libremoting_client_plugin_lib_nacl.a',
99 'build_pnacl_newlib': 1,
102 '../base/base_nacl.gyp:base_nacl',
103 '../jingle/jingle_nacl.gyp:jingle_glue_nacl',
104 '../native_client/tools.gyp:prep_toolchain',
105 '../native_client_sdk/native_client_sdk_untrusted.gyp:nacl_io_untrusted',
106 '../net/net_nacl.gyp:net_nacl',
107 '../third_party/libjingle/libjingle_nacl.gyp:libjingle_nacl',
108 '../third_party/libvpx/libvpx_nacl.gyp:libvpx_nacl',
109 '../third_party/libwebm/libwebm_nacl.gyp:libwebm_nacl',
110 '../third_party/libyuv/libyuv_nacl.gyp:libyuv_nacl',
111 '../third_party/openssl/openssl_nacl.gyp:openssl_nacl',
112 '../third_party/opus/opus_nacl.gyp:opus_nacl',
113 'remoting_proto_nacl',
114 'remoting_webrtc_nacl',
117 '../ui/events/keycodes/dom4/keycode_converter.cc',
118 '<@(remoting_base_sources)',
119 '<@(remoting_client_plugin_sources)',
120 '<@(remoting_client_sources)',
121 '<@(remoting_protocol_sources)',
124 'base/url_request_context_getter.cc',
125 'protocol/chromium_socket_factory.cc',
128 # Include normalizing_input_filter_mac.cc excluded by the filename
129 # exclusion rules. Must be in target_conditions to make sure it's
130 # evaluated after the filename rules.
131 'target_conditions': [
134 [ 'include', 'client/plugin/normalizing_input_filter_mac.cc' ],
138 }, # end of target 'remoting_client_plugin_lib_nacl'
141 'target_name': 'remoting_client_plugin_nacl',
144 'nacl_untrusted_build': 1,
145 'nexe_target': 'remoting_client_plugin',
148 'build_pnacl_newlib': 1,
151 'extra_deps_pnacl_newlib': [
152 '>(tc_lib_dir_pnacl_newlib)/libbase_i18n_nacl.a',
153 '>(tc_lib_dir_pnacl_newlib)/libbase_nacl.a',
154 '>(tc_lib_dir_pnacl_newlib)/libexpat_nacl.a',
155 '>(tc_lib_dir_pnacl_newlib)/libicudata_nacl.a',
156 '>(tc_lib_dir_pnacl_newlib)/libcrypto_nacl.a',
157 '>(tc_lib_dir_pnacl_newlib)/libicui18n_nacl.a',
158 '>(tc_lib_dir_pnacl_newlib)/libicuuc_nacl.a',
159 '>(tc_lib_dir_pnacl_newlib)/libjingle_nacl.a',
160 '>(tc_lib_dir_pnacl_newlib)/libjingle_p2p_constants_nacl.a',
161 '>(tc_lib_dir_pnacl_newlib)/libmedia_yuv_nacl.a',
162 '>(tc_lib_dir_pnacl_newlib)/libmodp_b64_nacl.a',
163 '>(tc_lib_dir_pnacl_newlib)/libopenssl_nacl.a',
164 '>(tc_lib_dir_pnacl_newlib)/libopus_nacl.a',
165 '>(tc_lib_dir_pnacl_newlib)/libppapi.a',
166 '>(tc_lib_dir_pnacl_newlib)/libppapi_cpp.a',
167 '>(tc_lib_dir_pnacl_newlib)/libprotobuf_lite_nacl.a',
168 '>(tc_lib_dir_pnacl_newlib)/libjingle_glue_nacl.a',
169 '>(tc_lib_dir_pnacl_newlib)/libnet_nacl.a',
170 '>(tc_lib_dir_pnacl_newlib)/libremoting_client_plugin_lib_nacl.a',
171 '>(tc_lib_dir_pnacl_newlib)/libremoting_proto_nacl.a',
172 '>(tc_lib_dir_pnacl_newlib)/libremoting_webrtc_nacl.a',
173 '>(tc_lib_dir_pnacl_newlib)/liburl_nacl.a',
174 '>(tc_lib_dir_pnacl_newlib)/libvpx_nacl.a',
175 '>(tc_lib_dir_pnacl_newlib)/libwebm_nacl.a',
176 '>(tc_lib_dir_pnacl_newlib)/libyuv_nacl.a',
180 '../base/base_nacl.gyp:base_i18n_nacl',
181 '../base/base_nacl.gyp:base_nacl',
182 '../crypto/crypto_nacl.gyp:crypto_nacl',
183 '../jingle/jingle_nacl.gyp:jingle_glue_nacl',
184 '../media/media_nacl.gyp:media_yuv_nacl',
185 '../native_client/tools.gyp:prep_toolchain',
186 '../native_client_sdk/native_client_sdk_untrusted.gyp:nacl_io_untrusted',
187 '../net/net_nacl.gyp:net_nacl',
188 '../ppapi/native_client/native_client.gyp:nacl_irt',
189 '../ppapi/native_client/native_client.gyp:ppapi_lib',
190 '../ppapi/ppapi_nacl.gyp:ppapi_cpp_lib',
191 '../third_party/expat/expat_nacl.gyp:expat_nacl',
192 '../third_party/icu/icu_nacl.gyp:icudata_nacl',
193 '../third_party/icu/icu_nacl.gyp:icui18n_nacl',
194 '../third_party/icu/icu_nacl.gyp:icuuc_nacl',
195 '../third_party/libjingle/libjingle_nacl.gyp:libjingle_nacl',
196 '../third_party/libwebm/libwebm_nacl.gyp:libwebm_nacl',
197 '../third_party/libyuv/libyuv_nacl.gyp:libyuv_nacl',
198 '../third_party/modp_b64/modp_b64_nacl.gyp:modp_b64_nacl',
199 '../third_party/openssl/openssl_nacl.gyp:openssl_nacl',
200 '../url/url_nacl.gyp:url_nacl',
201 'remoting_client_plugin_lib_nacl',
202 'remoting_proto_nacl',
203 'remoting_webrtc_nacl',
209 '-lremoting_client_plugin_lib_nacl',
210 '-lremoting_proto_nacl',
212 # Chromium libraries.
213 '-ljingle_glue_nacl',
221 # Third-party libraries.
222 '-lremoting_webrtc_nacl',
225 '-ljingle_p2p_constants_nacl',
234 '-lprotobuf_lite_nacl',
237 # Base NaCl libraries.
243 'client/plugin/pepper_module.cc',
245 }, # end of target 'remoting_client_plugin_nacl'