From 1bb622236f623d2a606362b5ae4194ee8a2043c3 Mon Sep 17 00:00:00 2001 From: "sergeyu@chromium.org" Date: Thu, 27 Feb 2014 14:13:21 +0000 Subject: Cleanup remoting.gyp around the remoting_webapp target Added two new targets remoting_webapp_v1 and remoting_webapp_v2. Both include the new remoting_webapp.gypi. remoting_webapp target depends on both. Also moved these targets to remoting_client.gypi. remoting_webapp.gypi will also be reused for webapp version that uses PNaCl plugin. BUG=276739 Review URL: https://codereview.chromium.org/181473008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@253800 0039d316-1c4b-4281-b951-d872f2087c98 --- remoting/remoting.gyp | 208 +--------------------------------------- remoting/remoting_client.gypi | 85 ++++++++++++++++ remoting/remoting_webapp.gypi | 103 ++++++++++++++++++++ remoting/webapp/build-webapp.py | 14 ++- 4 files changed, 198 insertions(+), 212 deletions(-) create mode 100644 remoting/remoting_webapp.gypi (limited to 'remoting') diff --git a/remoting/remoting.gyp b/remoting/remoting.gyp index e0f45f4..478ccdf 100644 --- a/remoting/remoting.gyp +++ b/remoting/remoting.gyp @@ -79,7 +79,7 @@ 'ro', 'ru', 'sk', 'sl', 'sr', 'sv', 'th', 'tr', 'uk', 'vi', 'zh-CN', 'zh-TW', ], - 'remoting_locale_files': [ + 'remoting_host_locale_files': [ # Build the list of .pak files generated from remoting_strings.grd. ' ' - ' [--patches ] ' + ' ' + ' [--plugin ] [--patches ] ' '[--locales ]') return 1 @@ -317,18 +317,22 @@ def main(): files = [] locales = [] patches = [] + plugin = "" for arg in sys.argv[7:]: - if arg == '--locales' or arg == '--patches': + if arg in ['--locales', '--patches', '--plugin']: arg_type = arg elif arg_type == '--locales': locales.append(arg) elif arg_type == '--patches': patches.append(arg) + elif arg_type == '--plugin': + plugin = arg + arg_type = '' else: files.append(arg) return buildWebApp(sys.argv[1], sys.argv[2], sys.argv[3], sys.argv[4], - sys.argv[5], sys.argv[6], files, locales, patches) + sys.argv[5], plugin, files, locales, patches) if __name__ == '__main__': -- cgit v1.1