summaryrefslogtreecommitdiffstats
path: root/remoting/webapp/build-webapp.py
Commit message (Collapse)AuthorAgeFilesLines
* Build remoting for PNaClsergeyu@chromium.org2014-05-191-0/+5
| | | | | | | | | BUG=276739 R=jamiewalch@chromium.org, rsleevi@chromium.org Review URL: https://codereview.chromium.org/234023003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@271351 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 271343 "Build remoting for PNaCl"sergeyu@chromium.org2014-05-191-5/+0
| | | | | | | | | | | | | | | > Build remoting for PNaCl > > BUG=276739 > R=jamiewalch@chromium.org, rsleevi@chromium.org > > Review URL: https://codereview.chromium.org/234023003 TBR=sergeyu@chromium.org Review URL: https://codereview.chromium.org/285243003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@271344 0039d316-1c4b-4281-b951-d872f2087c98
* Build remoting for PNaClsergeyu@chromium.org2014-05-191-0/+5
| | | | | | | | | BUG=276739 R=jamiewalch@chromium.org, rsleevi@chromium.org Review URL: https://codereview.chromium.org/234023003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@271343 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 267030 "Build remoting for PNaCl"sergeyu@chromium.org2014-04-301-5/+0
| | | | | | | | | | | | | | | > Build remoting for PNaCl > > BUG=276739 > R=jamiewalch@chromium.org > > Review URL: https://codereview.chromium.org/234023003 TBR=sergeyu@chromium.org Review URL: https://codereview.chromium.org/254243002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267064 0039d316-1c4b-4281-b951-d872f2087c98
* Build remoting for PNaClsergeyu@chromium.org2014-04-301-0/+5
| | | | | | | | | BUG=276739 R=jamiewalch@chromium.org Review URL: https://codereview.chromium.org/234023003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267030 0039d316-1c4b-4281-b951-d872f2087c98
* Use jinja to generate remoting webapp manifest.sergeyu@chromium.org2014-03-011-72/+61
| | | | | | | | BUG=276739 Review URL: https://codereview.chromium.org/185163002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@254355 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup remoting.gyp around the remoting_webapp targetsergeyu@chromium.org2014-02-271-5/+9
| | | | | | | | | | | | | | | | | | 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 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=253800 R=jamiewalch@chromium.org Review URL: https://codereview.chromium.org/181473008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@253885 0039d316-1c4b-4281-b951-d872f2087c98
* Revert of Cleanup remoting.gyp around the remoting_webapp target ↵erikwright@chromium.org2014-02-271-9/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (https://codereview.chromium.org/181473008/) Reason for revert: Appears to have broken the build: http://build.chromium.org/p/chromium/builders/Linux/builds/47807 ... adding: chrome-linux/chrome (deflated 58%) Traceback (most recent call last): File "../../../scripts/slave/chromium/archive_build.py", line 760, in <module> chromium_utils.CopyFileToDir(src/out/Release/remoting-webapp.v2.zip, /b/build/slave/Linux/chrome_staging/, dest_fn=remoting-webapp.v2.zip) sys.exit(main(None)) File "../../../scripts/slave/chromium/archive_build.py", line 756, in main return s.ArchiveBuild() File "../../../scripts/slave/chromium/archive_build.py", line 571, in ArchiveBuild os.path.join(self._staging_dir, stage_subdir), dest_fn=stage_fn) File "/b/build/scripts/common/chromium_utils.py", line 485, in CopyFileToDir raise PathNotFound('Unable to find file %s' % src_path) common.chromium_utils.PathNotFound: Unable to find file src/out/Release/remoting-webapp.v2.zip Original issue's description: > 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 > > Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=253800 TBR=jamiewalch@chromium.org,garykac@chromium.org,sergeyu@chromium.org NOTREECHECKS=true NOTRY=true BUG=276739 Review URL: https://codereview.chromium.org/180783007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@253819 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup remoting.gyp around the remoting_webapp targetsergeyu@chromium.org2014-02-271-5/+9
| | | | | | | | | | | | | | 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
* Move remoting identity API client id into src-internal.jamiewalch@chromium.org2013-08-171-0/+4
| | | | | | | | This CL removes the client id from the apps V2 patch. There is a separate (not public) CL that adds a new one. Review URL: https://chromiumcodereview.appspot.com/22901007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@218132 0039d316-1c4b-4281-b951-d872f2087c98
* Localized Chromoting Host on Mac and Linux.alexeypa@chromium.org2013-07-311-14/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Re-landing r214379. Two additional fixes: - HOST_PLUGIN_MIME_TYPE is passed unquoted making the code the uses it responsible for stringizing it. - msvs_cygwin_shell is set to 0 to avoid cygpath changing "remoting_locales\nl.pak" to "remoting_ocales\nl.pak". This CL implements generation of localizable strings from remoting_strings.grd file. Depending on the platform the localized resources are placed to: - Mac: localized .string and .pak resources are added to each application bundle under 'Resources/<locale>.lproj' - Linux: localized .pak files are placed under 'remoting_locales' directory next to the binary locading them. - Windows: .rc resources are generated from .jinja2 templates and embedded into a relevant binary. Chrome l10n and i18n APIs are used to retrieve the current locale and RTL flag (Mac & Linux). The it2me plugin sets the locale to match the locale of the browser. Collateral changes: - UiString is not used any more. - Increased width of disconnect window message on Mac. - The host plugin version is correctly reported on Mac. - Dialogs use RTL templates in case of RTL languages. No more updating the templates dynamically (Windows). - remoting_unittests.ResourcesTest now runs on Mac, LInux and Windows. - '@' is used for variable substitutions by remoting_localize.py. - HOST_PLUGIN_MIME_TYPE is defined in one place now. - Deleted unused commong_resources.grd. Mac installer and preference panel are not localized yet. BUG=155204 Review URL: https://chromiumcodereview.appspot.com/21059003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@214855 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 214379 "Localized Chromoting Host on Mac and Linux."alexeypa@google.com2013-07-301-16/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The CL broke "Google Chrome Win" in a strange way: http://build.chromium.org/p/chromium.chrome/builders/Google%20Chrome%20Win/builds/19799/steps/compile/logs/stdio 671> Traceback (most recent call last): 671> File "webapp/build-webapp.py", line 331, in <module> 671> sys.exit(main()) 671> File "webapp/build-webapp.py", line 327, in main 671> sys.argv[5], sys.argv[6], files, locales, patches) 671> File "webapp/build-webapp.py", line 141, in buildWebApp 671> shutil.copy2(current_locale, destination_file) 671> File "c:\b\build\slave\google-chrome-rel-win\build\src\third_party\python_26\lib\shutil.py", line 99, in copy2 671> copyfile(src, dst) 671> File "c:\b\build\slave\google-chrome-rel-win\build\src\third_party\python_26\lib\shutil.py", line 52, in copyfile 671> fsrc = open(src, 'rb') 671> IOError: [Errno 2] No such file or directory: 'c:/b/build/slave/google-chrome-rel-win/build/src/build/Release/\\remoting_ocales\\nl.pak' 671>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(151,5): error MSB6006: "cmd.exe" exited with code 1. > Localized Chromoting Host on Mac and Linux. > > Re-landing r213997. TBR because this is a trivial, mechanical fix. > > This CL implements generation of localizable strings from remoting_strings.grd file. Depending on the platform the localized resources are placed to: > - Mac: localized .string and .pak resources are added to each application bundle under 'Resources/<locale>.lproj' > - Linux: localized .pak files are placed under 'remoting_locales' directory next to the binary locading them. > - Windows: .rc resources are generated from .jinja2 templates and embedded into a relevant binary. > > Chrome l10n and i18n APIs are used to retrieve the current locale and RTL flag (Mac & Linux). The it2me plugin sets the locale to match the locale of the browser. > > Collateral changes: > - UiString is not used any more. > - Increased width of disconnect window message on Mac. > - The host plugin version is correctly reported on Mac. > - Dialogs use RTL templates in case of RTL languages. No more updating the templates dynamically (Windows). > - remoting_unittests.ResourcesTest now runs on Mac, LInux and Windows. > - '@' is used for variable substitutions by remoting_localize.py. > - HOST_PLUGIN_MIME_TYPE is defined in one place now. > - Deleted unused commong_resources.grd. > > Mac installer and preference panel are not localized yet. > > TBR=garykac@chromium.org > BUG=155204 > > Review URL: https://codereview.chromium.org/20985002 TBR=alexeypa@chromium.org Review URL: https://codereview.chromium.org/21090006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@214401 0039d316-1c4b-4281-b951-d872f2087c98
* Localized Chromoting Host on Mac and Linux.alexeypa@chromium.org2013-07-301-14/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Re-landing r213997. TBR because this is a trivial, mechanical fix. This CL implements generation of localizable strings from remoting_strings.grd file. Depending on the platform the localized resources are placed to: - Mac: localized .string and .pak resources are added to each application bundle under 'Resources/<locale>.lproj' - Linux: localized .pak files are placed under 'remoting_locales' directory next to the binary locading them. - Windows: .rc resources are generated from .jinja2 templates and embedded into a relevant binary. Chrome l10n and i18n APIs are used to retrieve the current locale and RTL flag (Mac & Linux). The it2me plugin sets the locale to match the locale of the browser. Collateral changes: - UiString is not used any more. - Increased width of disconnect window message on Mac. - The host plugin version is correctly reported on Mac. - Dialogs use RTL templates in case of RTL languages. No more updating the templates dynamically (Windows). - remoting_unittests.ResourcesTest now runs on Mac, LInux and Windows. - '@' is used for variable substitutions by remoting_localize.py. - HOST_PLUGIN_MIME_TYPE is defined in one place now. - Deleted unused commong_resources.grd. Mac installer and preference panel are not localized yet. TBR=garykac@chromium.org BUG=155204 Review URL: https://codereview.chromium.org/20985002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@214379 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 213997 "Localized Chromoting Host on Mac and Linux."alexeypa@google.com2013-07-261-16/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It passed CQ but broke Linux Builder. I'm filing a bug agains CQ. > Localized Chromoting Host on Mac and Linux. > > This CL implements generation of localizable strings from remoting_strings.grd file. Depending on the platform the localized resources are placed to: > - Mac: localized .string and .pak resources are added to each application bundle under 'Resources/<locale>.lproj' > - Linux: localized .pak files are placed under 'remoting_locales' directory next to the binary locading them. > - Windows: .rc resources are generated from .jinja2 templates and embedded into a relevant binary. > > Chrome l10n and i18n APIs are used to retrieve the current locale and RTL flag (Mac & Linux). The it2me plugin sets the locale to match the locale of the browser. > > Collateral changes: > - UiString is not used any more. > - Increased width of disconnect window message on Mac. > - The host plugin version is correctly reported on Mac. > - Dialogs use RTL templates in case of RTL languages. No more updating the templates dynamically (Windows). > - remoting_unittests.ResourcesTest row runs on Mac, LInux and Windows. > - '@' is used for variable substitutions by remoting_localize.py. > - HOST_PLUGIN_MIME_TYPE is defined in one place now. > - Deleted unused commong_resources.grd. > > Mac installer and preference panel are not localized yet. > > BUG=155204 > > Review URL: https://chromiumcodereview.appspot.com/19803010 TBR=alexeypa@chromium.org Review URL: https://codereview.chromium.org/20854002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@213998 0039d316-1c4b-4281-b951-d872f2087c98
* Localized Chromoting Host on Mac and Linux.alexeypa@chromium.org2013-07-261-14/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | This CL implements generation of localizable strings from remoting_strings.grd file. Depending on the platform the localized resources are placed to: - Mac: localized .string and .pak resources are added to each application bundle under 'Resources/<locale>.lproj' - Linux: localized .pak files are placed under 'remoting_locales' directory next to the binary locading them. - Windows: .rc resources are generated from .jinja2 templates and embedded into a relevant binary. Chrome l10n and i18n APIs are used to retrieve the current locale and RTL flag (Mac & Linux). The it2me plugin sets the locale to match the locale of the browser. Collateral changes: - UiString is not used any more. - Increased width of disconnect window message on Mac. - The host plugin version is correctly reported on Mac. - Dialogs use RTL templates in case of RTL languages. No more updating the templates dynamically (Windows). - remoting_unittests.ResourcesTest row runs on Mac, LInux and Windows. - '@' is used for variable substitutions by remoting_localize.py. - HOST_PLUGIN_MIME_TYPE is defined in one place now. - Deleted unused commong_resources.grd. Mac installer and preference panel are not localized yet. BUG=155204 Review URL: https://chromiumcodereview.appspot.com/19803010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@213997 0039d316-1c4b-4281-b951-d872f2087c98
* Use a consistent extension id for unofficial builds.jamiewalch@chromium.org2013-06-071-1/+9
| | | | | | | | | | | | | | This will make it easier to test the apps v2 and native messaging implementations, both of which require a known extension id for the white-list. Official builds are not affected, since they all end up with a consistent extension id anyway, via the web-store or the canary script. BUG=222855 Review URL: https://chromiumcodereview.appspot.com/16233003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204742 0039d316-1c4b-4281-b951-d872f2087c98
* Make patch silent.jamiewalch@chromium.org2013-06-061-1/+1
| | | | | | | | BUG=247008 Review URL: https://chromiumcodereview.appspot.com/16438009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204404 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed patch and updated script to be stricter.jamiewalch@chromium.org2013-06-051-1/+1
| | | | | | | | The -F0 option tells patch not to apply fuzzing when trying to match. This will probably result in the patch getting broken more often, but now that the apps v2 version is built by default, that should be noticed and fixed by the person who breaks it, rather than someone much later on. Review URL: https://chromiumcodereview.appspot.com/16391002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204229 0039d316-1c4b-4281-b951-d872f2087c98
* Webapp changes to support third party authenticationrmsousa@chromium.org2013-04-261-0/+8
| | | | | | | | | | | | | | | | | | This uses an OAuth flow on the server to fetch the token and shared secret. There are two implementations for this: * The current one manually opens a tab and asks for a redirect to a blank page in talkgadget, which we content-script to sendmessage the token/secret back to the extension (fairly similar to our OAuth trampoline) * Once we're running on appsv2, and identity is out of experimental, we can use launchWebAuthFlow to do this. This includes an interstitial to ask for an optional permission to the given host. The window.open method doesn't actually need this, but the identity API one does, so I thought I'd leave it in to make its behavior match closely the one of the identity API, which is the one we'll use in the future. Most of the code is shared between these two versions, the only different pieces are the mechanics to open the window/launchWebFlow, and to send the redirectedUrl back to the webapp for parsing. BUG=115899 Review URL: https://chromiumcodereview.appspot.com/12905012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@196580 0039d316-1c4b-4281-b951-d872f2087c98
* Fix build failure of remoting in linux_chromeos + Official.kinaba@chromium.org2013-04-011-3/+3
| | | | | | | | BUG=none Review URL: https://chromiumcodereview.appspot.com/13251006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191602 0039d316-1c4b-4281-b951-d872f2087c98
* Make host/url references configurable.rmsousa@chromium.org2013-02-051-14/+78
| | | | | | | | | | | | | | | | | | In C++, they're all passed as optional command line parameters (like google_apis/gaia already allows us to do with the gaia oauth urls). So one can start the host with a monstrosity such as: out/Debug/remoting_me2me_host out/Debug/remoting_start_host --gaia-host=accounts.google.com --oauth-user-info-url=https://www.googleapis.com/oauth2/v1/userinfo --chromoting-bot-jid=remoting@bot.talk.google.com --chromoting-base-url=https://www.googleapis.com/chromoting/v1 --talk-server-host=talk.google.com --talk-server-port=5222 -[-disable-talk-server-tls] --oauth2-token-url=https://accounts.google.com/o/oauth2/token In Javascript and IT2Me, unfortunately we don't have a command line, so instead we put all these settings in plugin_settings.js, and the javascript passes them all into the it2me plugin as appropriate. They can then be changed by manually hacking plugin_settings.js and manifest.json in the build output, changing the remoting.settings object at runtime (although any new hosts you configure that are not in the manifest's CSP won't work), or, preferrably, by passing them via environment variables to the build, and letting build-webapp.py do its magic - for example, like with this: GOOGLE_CLIENT_ID_REMOTING=<clientid> GOOGLE_CLIENT_SECRET_REMOTING=<secret> OAUTH2_ACCOUNTS_HOST=https://accounts.google.com OAUTH2_API_HOST=https://www.googleapis.com CHROMOTING_BOT_JID=remoting@bot.talk.google.com CHROMOTING_API_HOST=https://www.googleapis.com TALK_SERVER_HOST=talk.google.com TALK_SERVER_PORT=5222 TALK_SERVER_USE_TLS=true TALK_GADGET_HOST_SUFFIX=talkgadget.google.com OAUTH2_REDIRECT_HOST_PREFIX=https://chromoting-oauth. TALK_GADGET_HOST_PREFIX=https://chromoting-client. ninja -C out/Debug remoting_webapp I've tested with me2me (host and client) and it2me (share and access), and verified both that the defaults work as before (without command line parameters), and that I can substitute test server hostnames in all of those parameters. BUG= Review URL: https://chromiumcodereview.appspot.com/11346040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180622 0039d316-1c4b-4281-b951-d872f2087c98
* Allow an AppsV2 build to be configured using GYP.jamiewalch@google.com2013-01-161-9/+28
| | | | | | | | | BUG=134213 TEST=Use GYP_DEFINES="remoting_use_apps_v2=1" Review URL: https://codereview.chromium.org/11875021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@177217 0039d316-1c4b-4281-b951-d872f2087c98
* Disable Chromoting host compilation on ChromeOSsergeyu@chromium.org2012-12-071-8/+9
| | | | | | | | | | | Chromoting host is not supported on ChromeOS and many targets in remoting.gyp fail to compile for ChromeOS. Disable these targets. BUG=164591 Review URL: https://codereview.chromium.org/11471009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@171680 0039d316-1c4b-4281-b951-d872f2087c98
* Allow wildcard matching for redirect URL.jamiewalch@google.com2012-11-271-7/+8
| | | | | | | | BUG=None Review URL: https://codereview.chromium.org/11421084 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@169696 0039d316-1c4b-4281-b951-d872f2087c98
* Move Chromoting strings to string_resources.grd and simplify ↵sergeyu@chromium.org2012-11-061-10/+5
| | | | | | | | | | | | | | | | | | remoting_resources target. Previously all strings were in messages.json files. Moving them to GRD file will allow to share them with native components. Also simplified how resources are generated: 1. Now <if> is used to handle branded strings instead of generating grd file in build time 2. Removed resource_ids - ids are now specified in grd files. BUG=158995 Review URL: https://chromiumcodereview.appspot.com/11275101 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166127 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Move Chromoting strings to string_resources.grd and simplify ↵phajdan.jr@chromium.org2012-11-051-5/+10
| | | | | | | | remoting_resources target." This reverts commit f5dfed801f9358411900c4f9ca58ef0a11cce9ae. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166069 0039d316-1c4b-4281-b951-d872f2087c98
* Move Chromoting strings to string_resources.grd and simplify ↵sergeyu@chromium.org2012-11-051-10/+5
| | | | | | | | | | | | | | | | | remoting_resources target. Previously all strings were in messages.json files. Moving them to GRD file will allow to share them with native components. Also simplified how resources are generated: 1. Now <if> is used to handle branded strings instead of generating grd file in build time 2. Removed resource_ids - ids are now specified in grd files. BUG=158995 Review URL: https://codereview.chromium.org/11275101 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166068 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 166003 - Move Chromoting strings to string_resources.grd and simplify ↵sergeyu@chromium.org2012-11-051-5/+10
| | | | | | | | | | | | | | | | | | | | remoting_resources target. Previously all strings were in messages.json files. Moving them to GRD file will allow to share them with native components. Also simplified how resources are generated: 1. Now <if> is used to handle branded strings instead of generating grd file in build time 2. Removed resource_ids - ids are now specified in grd files. BUG=158995 Review URL: https://codereview.chromium.org/11275101 TBR=sergeyu@chromium.org Review URL: https://codereview.chromium.org/11365095 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166013 0039d316-1c4b-4281-b951-d872f2087c98
* Move Chromoting strings to string_resources.grd and simplify ↵sergeyu@chromium.org2012-11-051-10/+5
| | | | | | | | | | | | | | | | | remoting_resources target. Previously all strings were in messages.json files. Moving them to GRD file will allow to share them with native components. Also simplified how resources are generated: 1. Now <if> is used to handle branded strings instead of generating grd file in build time 2. Removed resource_ids - ids are now specified in grd files. BUG=158995 Review URL: https://codereview.chromium.org/11275101 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166003 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 165041 (caused http://crbug.com/158995, which is apparently somewhatthakis@chromium.org2012-11-051-5/+10
| | | | | | | | | | | | | | | | | | tricky to fix -- this can reland with the fix) - Move Chromoting strings to string_resources.grd. Previously all strings were in messages.json files. Moving them to GRD file will allow to share them with native components. Also added script that I used to convert translations - to make it easier to review this CL and just in case we need it again in the future. Review URL: https://chromiumcodereview.appspot.com/11150008 TBR=sergeyu@chromium.org Review URL: https://codereview.chromium.org/11312087 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@165953 0039d316-1c4b-4281-b951-d872f2087c98
* Move Chromoting strings to string_resources.grd.sergeyu@chromium.org2012-10-301-10/+5
| | | | | | | | | | | | Previously all strings were in messages.json files. Moving them to GRD file will allow to share them with native components. Also added script that I used to convert translations - to make it easier to review this CL and just in case we need it again in the future. Review URL: https://chromiumcodereview.appspot.com/11150008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@165041 0039d316-1c4b-4281-b951-d872f2087c98
* Always use google_apis to get the client ID.alexeypa@chromium.org2012-10-101-5/+0
| | | | | | | | | BUG=150042 Review URL: https://chromiumcodereview.appspot.com/11087057 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@161191 0039d316-1c4b-4281-b951-d872f2087c98
* Remove API keys from source.jamiewalch@chromium.org2012-09-181-10/+13
| | | | | | | | | | | Also fixes a bug in google_api_keys that made it fail when used as a module. BUG= Review URL: https://chromiumcodereview.appspot.com/10939005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157405 0039d316-1c4b-4281-b951-d872f2087c98
* [Chromoting] Use different talkgadget prefixes for client and oauth.garykac@chromium.org2012-08-031-1/+1
| | | | | | | | | | | | | | | | | | With this change, Chromoting will use chromoting-oauth.talkgadget.google.com to talk to the talkgadget during the auth phase and will use chromoting-client.talkgadget.google.com when the client is interacting with the talkgadget. Host interactions with the talkgadget will be controlled by policy and will be handled in a separate cl. BUG=132345 TEST=None Review URL: https://chromiumcodereview.appspot.com/10837106 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149975 0039d316-1c4b-4281-b951-d872f2087c98
* [Chromoting] Add wildcard to talkgadget in manifest permissions.garykac@chromium.org2012-07-311-1/+2
| | | | | | | | | | | | | | | | This grants permission to <anything>.talkgadget.google.com as well as allowing simply talkgadget.google.com. This is to prepare for (1) changing the default talkgadget name to something specific to chromoting and (2) adding a policy setting that allows the talkgadget name to be changed. BUG=108448 TEST=none Review URL: https://chromiumcodereview.appspot.com/10789054 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149105 0039d316-1c4b-4281-b951-d872f2087c98
* Remoting daemon process to support unofficial client IDhclam@chromium.org2012-04-241-0/+5
| | | | | | | | | | | | | | Allow the use of unofficial client for the daemon process even if it is an official build. Which client ID to be used is chosen by the webapp. BUG=123693 TEST=Run a dev build webapp with an official daemon Review URL: http://codereview.chromium.org/10116040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@133582 0039d316-1c4b-4281-b951-d872f2087c98
* Source major & minor versions from remoting, build & patch versions from Chrome.wez@chromium.org2012-04-151-18/+9
| | | | | | | | | | | | | | | The version number now follows the form major.minor.build.patch. Major & minor versions come from remoting/VERSION. Build & patch versions come from chrome/VERSION. BUG=122721 TEST=Remoting web-app, plugins and host component executables & DLLs have matching versions in the above form, if versioned. Review URL: http://codereview.chromium.org/10075002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@132353 0039d316-1c4b-4281-b951-d872f2087c98
* The Chromium and Google Chrome builds of the chromoting webapp use differentsimonmorris@chromium.org2012-02-071-0/+16
| | | | | | | | | | keys to access Google services. BUG=112889 Review URL: https://chromiumcodereview.appspot.com/9343001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@120782 0039d316-1c4b-4281-b951-d872f2087c98
* Use different redirect URLs for beta, dev and open-source.jamiewalch@google.com2012-01-121-2/+19
| | | | | | | | | BUG=None TEST=Manual Review URL: http://codereview.chromium.org/8510029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117528 0039d316-1c4b-4281-b951-d872f2087c98
* Fix many* python scripts in src/maruel@chromium.org2011-11-231-3/+4
| | | | | | | | | | | | | | | | | | | | Make sure that: - shebang is only present for executable files - shebang is #!/usr/bin/env python - __main__ is only present for executable files - file's executable bit is coherent Also fix EOF LF to be only one. * Do not fix them all at once otherwise the CL would be too large. TBR=jamiewalch@chromium.org BUG=105108 TEST= Review URL: http://codereview.chromium.org/8665013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111427 0039d316-1c4b-4281-b951-d872f2087c98
* Strip linux symbols from official remoting builds.dmaclach@chromium.org2011-09-221-4/+4
| | | | | | | | | BUG=87300 TEST=Build official linux build Review URL: http://codereview.chromium.org/7967015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@102388 0039d316-1c4b-4281-b951-d872f2087c98
* Work towards single build of chromoting.dmaclach@chromium.org2011-09-151-17/+30
| | | | | | | | | | | | | | | - Clean up gyp file - Change manifest to single version - Fix up extension on linux32 vs linux 64. BUG=91840 TEST=Build Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=101326 Review URL: http://codereview.chromium.org/7872004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@101412 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 101326 - Work towards single build of chromoting.dmaclach@chromium.org2011-09-151-30/+17
| | | | | | | | | | | | | | | | - Clean up gyp file - Change manifest to single version - Fix up extension on linux32 vs linux 64. BUG=91840 TEST=Build Review URL: http://codereview.chromium.org/7872004 TBR=dmaclach@chromium.org Review URL: http://codereview.chromium.org/7894002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@101328 0039d316-1c4b-4281-b951-d872f2087c98
* Work towards single build of chromoting.dmaclach@chromium.org2011-09-151-17/+30
| | | | | | | | | | | | | - Clean up gyp file - Change manifest to single version - Fix up extension on linux32 vs linux 64. BUG=91840 TEST=Build Review URL: http://codereview.chromium.org/7872004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@101326 0039d316-1c4b-4281-b951-d872f2087c98
* Changes for l10n in official build.jamiewalch@google.com2011-09-081-2/+8
| | | | | | | | | BUG=87821 TEST=Try the app in another language. Review URL: http://codereview.chromium.org/7795063 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@100191 0039d316-1c4b-4281-b951-d872f2087c98
* Add i18n support to it2me web-app.jamiewalch@google.com2011-08-021-3/+36
| | | | | | | | | BUG=None TEST=Check the javascript console after loading the app and make sure there are no error messages. Review URL: http://codereview.chromium.org/7530032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95146 0039d316-1c4b-4281-b951-d872f2087c98
* Use system time instead of SVN revision for Remoting version.lambroslambrou@chromium.org2011-07-221-16/+8
| | | | | | | | | | | | | The revision-getting code is broken on Mac, so this is a workaround. BUG=None TEST=Manual Review URL: http://codereview.chromium.org/7485009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93546 0039d316-1c4b-4281-b951-d872f2087c98
* Add unique version number to manifest.json version.lambroslambrou@chromium.org2011-07-211-0/+24
| | | | | | | | | | | | | Version number is based on the SVN revision, but formatted as 1.0.N.N to work with Chrome. BUG=None TEST=Manual Review URL: http://codereview.chromium.org/7410011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93443 0039d316-1c4b-4281-b951-d872f2087c98
* Add OS-specific suffix to webapp title.lambroslambrou@chromium.org2011-07-211-2/+9
| | | | | | | | | | BUG=None TEST=Manual Review URL: http://codereview.chromium.org/7410002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93342 0039d316-1c4b-4281-b951-d872f2087c98
* Generate zip file for the remoting it2me webapp, and use symlinks when ↵ajwong@chromium.org2011-06-161-53/+106
| | | | | | | | | | | possible in target. BUG=none TEST=manual on linux Review URL: http://codereview.chromium.org/7171008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@89365 0039d316-1c4b-4281-b951-d872f2087c98