diff options
author | bbudge@chromium.org <bbudge@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-08-14 22:29:02 +0000 |
---|---|---|
committer | bbudge@chromium.org <bbudge@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-08-14 22:29:02 +0000 |
commit | f8ac9201779081a0774af8c30809bda9e770013b (patch) | |
tree | bb08783419ef53185ef133ddb23a82d215359a79 /ppapi/ppapi_proxy_untrusted.gyp | |
parent | 59dc4a7caa3d4cc0b6f08532aa67e94fb1a9a435 (diff) | |
download | chromium_src-f8ac9201779081a0774af8c30809bda9e770013b.zip chromium_src-f8ac9201779081a0774af8c30809bda9e770013b.tar.gz chromium_src-f8ac9201779081a0774af8c30809bda9e770013b.tar.bz2 |
Revert 151581 - Eliminate the 'build_ppapi_ipc_proxy_untrusted' build flag for untrusted PPAPI proxy builds.
This CL removes our custom GYP flag and modifies the build so both the SRPC and IPC proxies are built side by side. In addition, NaClBrowser now checks the '--enable-nacl-ipc-proxy' flag to determine which IRT to load. The IPC proxy's name is of the form 'nacl_ipc_irt_*'.
BUG=116317
TEST=builds and runs NaCl apps with --enable-nacl-ipc-proxy
Review URL: https://chromiumcodereview.appspot.com/10836220
TBR=bbudge@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10825351
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151584 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/ppapi_proxy_untrusted.gyp')
-rw-r--r-- | ppapi/ppapi_proxy_untrusted.gyp | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/ppapi/ppapi_proxy_untrusted.gyp b/ppapi/ppapi_proxy_untrusted.gyp new file mode 100644 index 0000000..baaa3cf --- /dev/null +++ b/ppapi/ppapi_proxy_untrusted.gyp @@ -0,0 +1,49 @@ +# Copyright (c) 2012 The Chromium Authors. All rights reserved. +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. + +{ + 'variables': { + 'chromium_code': 1, + }, + 'includes': [ + '../native_client/build/untrusted.gypi', + 'ppapi_proxy.gypi', + ], + 'conditions': [ + ['disable_nacl==0 and disable_nacl_untrusted==0', { + 'targets': [ + { + 'target_name': 'ppapi_proxy_untrusted', + 'type': 'none', + 'variables': { + 'ppapi_proxy_target': 1, + 'nacl_untrusted_build': 1, + 'nlib_target': 'libppapi_proxy_untrusted.a', + 'build_glibc': 0, + 'build_newlib': 1, + }, + 'defines': [ + 'NACL_PPAPI_IPC_PROXY', + ], + 'include_dirs': [ + '..', + '../third_party/khronos', + ], + 'dependencies': [ + '../native_client/tools.gyp:prep_toolchain', + '../base/base_untrusted.gyp:base_untrusted', + '../gpu/command_buffer/command_buffer_untrusted.gyp:gles2_utils_untrusted', + '../gpu/gpu_untrusted.gyp:command_buffer_client_untrusted', + '../gpu/gpu_untrusted.gyp:command_buffer_common_untrusted', + '../gpu/gpu_untrusted.gyp:gles2_implementation_untrusted', + '../gpu/gpu_untrusted.gyp:gles2_cmd_helper_untrusted', + '../gpu/gpu_untrusted.gyp:gpu_ipc_untrusted', + '../ipc/ipc_untrusted.gyp:ipc_untrusted', + '../ppapi/ppapi_shared_untrusted.gyp:ppapi_shared_untrusted', + ], + }, + ], + }], + ], +} |