Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(280)

Unified Diff: remoting/remoting_client.gypi

Issue 865363002: Disable PNaCl for V2 app (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@xmpp_assert
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/remoting_client.gypi
diff --git a/remoting/remoting_client.gypi b/remoting/remoting_client.gypi
index 59da6980c9516fee5fc3666378f81a4dd5d8d30b..cf54377dc3631abb41356e2b6f0dc530e3ddbd47 100644
--- a/remoting/remoting_client.gypi
+++ b/remoting/remoting_client.gypi
@@ -116,6 +116,13 @@
'remoting_webapp_v1',
'remoting_webapp_v2',
],
+ 'conditions': [
+ ['disable_nacl==0 and disable_nacl_untrusted==0', {
Jamie 2015/01/23 00:47:16 Do we need the "untrusted" variable? As it is, set
Sergey Ulanov 2015/01/23 01:00:16 This is the condition that's used in other places
+ 'dependencies': [
+ 'remoting_webapp_v2_pnacl',
+ ],
+ }]
+ ],
}, # end of target 'remoting_webapp'
{
@@ -135,26 +142,33 @@
'variables': {
'output_dir': '<(PRODUCT_DIR)/remoting/remoting.webapp.v2',
'zip_path': '<(PRODUCT_DIR)/remoting-webapp.v2.zip',
+ 'webapp_type': 'v2',
},
- 'conditions': [
- ['disable_nacl==0 and disable_nacl_untrusted==0', {
- 'dependencies': [
- 'remoting_nacl.gyp:remoting_client_plugin_nacl',
- ],
+ 'includes': [ 'remoting_webapp.gypi', ],
+ }, # end of target 'remoting_webapp_v2'
+ ], # end of targets
+
+ 'conditions': [
+ ['disable_nacl==0 and disable_nacl_untrusted==0', {
+ 'targets': [
+ {
+ 'target_name': 'remoting_webapp_v2_pnacl',
+ 'type': 'none',
'variables': {
+ 'output_dir': '<(PRODUCT_DIR)/remoting/remoting.webapp.v2_pnacl',
+ 'zip_path': '<(PRODUCT_DIR)/remoting-webapp.v2_pnacl.zip',
'webapp_type': 'v2_pnacl',
'extra_files': [
'webapp/crd/remoting_client_pnacl.nmf',
'<(PRODUCT_DIR)/remoting_client_plugin_newlib.pexe',
],
},
- }, {
- 'variables': {
- 'webapp_type': 'v2',
- },
- }],
+ 'dependencies': [
+ 'remoting_nacl.gyp:remoting_client_plugin_nacl',
+ ],
+ 'includes': [ 'remoting_webapp.gypi', ],
+ }, # end of target 'remoting_webapp_v2_pnacl'
],
- 'includes': [ 'remoting_webapp.gypi', ],
- }, # end of target 'remoting_webapp_v2'
- ], # end of targets
+ }],
+ ],
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698