Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / remoting / remoting_client.gypi
index abfc4dc..3da83ae 100644 (file)
@@ -14,6 +14,7 @@
       'dependencies': [
         '../net/net.gyp:net',
         '../ppapi/ppapi.gyp:ppapi_cpp_objects',
+        '../ppapi/ppapi.gyp:ppapi_internal_module',
         '../third_party/webrtc/modules/modules.gyp:desktop_capture',
         '../ui/events/events.gyp:dom4_keycode_converter',
         'remoting_base',
             '--js', '<@(remoting_webapp_wcs_sandbox_html_js_files)',
           ],
         },
+        {
+          'action_name': 'Build Remoting Webapp background.html',
+          'inputs': [
+            'webapp/build-html.py',
+            '<(remoting_webapp_template_background)',
+          ],
+          'outputs': [
+            '<(SHARED_INTERMEDIATE_DIR)/background.html',
+          ],
+          'action': [
+            'python', 'webapp/build-html.py',
+            '<(SHARED_INTERMEDIATE_DIR)/background.html',
+            '<(remoting_webapp_template_background)',
+            '--js', '<@(remoting_webapp_background_js_files)',
+          ],
+        },
       ],
     },  # end of target 'remoting_webapp_html'
 
       'variables': {
         'output_dir': '<(PRODUCT_DIR)/remoting/remoting.webapp.v2',
         'zip_path': '<(PRODUCT_DIR)/remoting-webapp.v2.zip',
-        'extra_files': [ 'webapp/background.js' ],
       },
       'conditions': [
         ['disable_nacl==0 and disable_nacl_untrusted==0', {