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

Issue 895523004: [Chromoting] Add ability to enable/disable GDrive support per-app in gyp. (Closed)

Created:
5 years, 10 months ago by garykac
Modified:
5 years, 10 months ago
Reviewers:
Jamie
CC:
chromium-reviews, chromoting-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Chromoting] Add ability to enable/disable GDrive support per-app in gyp. Since not all AppRemoting apps will want or need GDrive support to be enabled, we need to be able to control which apps enable this feature. This cl adds 'app_features' to the AppRemoting gyp targets and passes the list of features into the build_webapp script (so the manifest can have the correct oauth scopes) and the webapp. Also, because the 'cast' capability was "in the way" for these changes, it has been converted into a feature as well (default: disabled). BUG= Committed: https://crrev.com/12564e898915dd71a082b1082d72a5f9521e778c Cr-Commit-Position: refs/heads/master@{#314408}

Patch Set 1 #

Total comments: 11

Patch Set 2 : Review comments: rename -> Capability everywhere #

Patch Set 3 : Add Application.hasCapability #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+81 lines, -51 lines) Patch
M remoting/app_remoting_webapp.gyp View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M remoting/app_remoting_webapp_build.gypi View 1 1 chunk +2 lines, -0 lines 0 comments Download
M remoting/remoting_webapp_files.gypi View 1 1 chunk +1 line, -0 lines 0 comments Download
M remoting/webapp/app_remoting/js/app_remoting.js View 1 chunk +0 lines, -13 lines 0 comments Download
M remoting/webapp/app_remoting/js/ar_main.js View 1 1 chunk +1 line, -1 line 0 comments Download
M remoting/webapp/app_remoting/manifest_common.json.jinja2 View 1 chunk +1 line, -1 line 0 comments Download
A remoting/webapp/base/js/app_capabilities.js View 1 1 chunk +18 lines, -0 lines 0 comments Download
M remoting/webapp/base/js/application.js View 1 2 5 chunks +33 lines, -8 lines 1 comment Download
M remoting/webapp/build-webapp.py View 1 9 chunks +20 lines, -4 lines 0 comments Download
M remoting/webapp/crd/js/client_session.js View 1 2 2 chunks +2 lines, -8 lines 0 comments Download
M remoting/webapp/crd/js/crd_main.js View 1 1 chunk +1 line, -1 line 0 comments Download
M remoting/webapp/crd/js/desktop_remoting.js View 1 chunk +0 lines, -15 lines 0 comments Download

Messages

Total messages: 9 (2 generated)
garykac
5 years, 10 months ago (2015-02-02 22:20:22 UTC) #2
Jamie
https://codereview.chromium.org/895523004/diff/1/remoting/app_remoting_webapp.gyp File remoting/app_remoting_webapp.gyp (right): https://codereview.chromium.org/895523004/diff/1/remoting/app_remoting_webapp.gyp#newcode72 remoting/app_remoting_webapp.gyp:72: # Sample app with no features enabled. Is there ...
5 years, 10 months ago (2015-02-02 22:57:47 UTC) #3
garykac
ptal https://codereview.chromium.org/895523004/diff/1/remoting/app_remoting_webapp.gyp File remoting/app_remoting_webapp.gyp (right): https://codereview.chromium.org/895523004/diff/1/remoting/app_remoting_webapp.gyp#newcode72 remoting/app_remoting_webapp.gyp:72: # Sample app with no features enabled. On ...
5 years, 10 months ago (2015-02-03 01:50:21 UTC) #4
Jamie
lgtm https://codereview.chromium.org/895523004/diff/1/remoting/webapp/build-webapp.py File remoting/webapp/build-webapp.py (right): https://codereview.chromium.org/895523004/diff/1/remoting/webapp/build-webapp.py#newcode78 remoting/webapp/build-webapp.py:78: I think this blank line should stay, because ...
5 years, 10 months ago (2015-02-03 18:06:24 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/895523004/40001
5 years, 10 months ago (2015-02-03 21:42:05 UTC) #7
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 10 months ago (2015-02-03 21:45:49 UTC) #8
commit-bot: I haz the power
5 years, 10 months ago (2015-02-03 21:46:59 UTC) #9
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/12564e898915dd71a082b1082d72a5f9521e778c
Cr-Commit-Position: refs/heads/master@{#314408}

Powered by Google App Engine
This is Rietveld 408576698