diff options
author | bbudge@chromium.org <bbudge@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-08-15 14:43:24 +0000 |
---|---|---|
committer | bbudge@chromium.org <bbudge@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-08-15 14:43:24 +0000 |
commit | 23e554e0da8d2dbf4f1ea43649b60d61ce103027 (patch) | |
tree | 4aface84e3e33f278386aa7815a8a9c751cab002 /ppapi/native_client/native_client.gyp | |
parent | 1e46ff627152c5b9cdbcbf62074de66a0baea86c (diff) | |
download | chromium_src-23e554e0da8d2dbf4f1ea43649b60d61ce103027.zip chromium_src-23e554e0da8d2dbf4f1ea43649b60d61ce103027.tar.gz chromium_src-23e554e0da8d2dbf4f1ea43649b60d61ce103027.tar.bz2 |
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
TBR=bbudge@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10831316
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151693 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/native_client/native_client.gyp')
-rw-r--r-- | ppapi/native_client/native_client.gyp | 22 |
1 files changed, 6 insertions, 16 deletions
diff --git a/ppapi/native_client/native_client.gyp b/ppapi/native_client/native_client.gyp index 36f2564..d0d02e7 100644 --- a/ppapi/native_client/native_client.gyp +++ b/ppapi/native_client/native_client.gyp @@ -53,12 +53,6 @@ }, ], }, - ], - }], - # TODO(bbudge) Remove the build_ppapi_ipc_proxy_untrusted flag, factor out common - # properties from both IRT flavors, and build them side by side. - ['disable_nacl==0 and disable_nacl_untrusted==0 and build_ppapi_ipc_proxy_untrusted==0', { - 'targets': [ { 'target_name': 'nacl_irt', 'type': 'none', @@ -183,20 +177,16 @@ '../../native_client/src/shared/gio/gio.gyp:gio_lib', ], }, - ], - }], - ['disable_nacl==0 and disable_nacl_untrusted==0 and build_ppapi_ipc_proxy_untrusted==1', { - 'targets': [ { - 'target_name': 'nacl_irt', + 'target_name': 'nacl_ipc_irt', 'type': 'none', 'variables': { - 'nexe_target': 'nacl_irt', + 'nexe_target': 'nacl_ipc_irt', # These out_* fields override the default filenames, which # include a "_newlib" suffix. - 'out_newlib64': '<(PRODUCT_DIR)/nacl_irt_x86_64.nexe', - 'out_newlib32': '<(PRODUCT_DIR)/nacl_irt_x86_32.nexe', - 'out_newlib_arm': '<(PRODUCT_DIR)/nacl_irt_arm.nexe', + 'out_newlib64': '<(PRODUCT_DIR)/nacl_ipc_irt_x86_64.nexe', + 'out_newlib32': '<(PRODUCT_DIR)/nacl_ipc_irt_x86_32.nexe', + 'out_newlib_arm': '<(PRODUCT_DIR)/nacl_ipc_irt_arm.nexe', 'build_glibc': 0, 'build_newlib': 1, 'include_dirs': [ @@ -375,7 +365,7 @@ ], }, 'dependencies': [ - '../ppapi_proxy_untrusted.gyp:ppapi_proxy_untrusted', + '../ppapi_ipc_proxy_untrusted.gyp:ppapi_proxy_untrusted', '../ppapi_shared_untrusted.gyp:ppapi_shared_untrusted', '../../gpu/command_buffer/command_buffer_untrusted.gyp:gles2_utils_untrusted', '../../gpu/gpu_untrusted.gyp:command_buffer_client_untrusted', |