Index: remoting/webapp/build-webapp.py |
diff --git a/remoting/webapp/build-webapp.py b/remoting/webapp/build-webapp.py |
index 384aaf1a9fd0e95755f410308f3967c8724d43c1..42e941cf1bf21db74517b90f25e67bb820f52c8a 100755 |
--- a/remoting/webapp/build-webapp.py |
+++ b/remoting/webapp/build-webapp.py |
@@ -279,6 +279,7 @@ def buildWebApp(buildtype, version, mimetype, destination, zip_path, plugin, |
# For overriding the client ID/secret via env vars, see google_api_keys.py. |
apiClientId = google_api_keys.GetClientID('REMOTING') |
apiClientSecret = google_api_keys.GetClientSecret('REMOTING') |
+ apiClientIdV2 = google_api_keys.GetClientID('REMOTING_IDENTITY_API') |
Jói
2013/08/15 09:26:08
It would be good to also add this to the debugging
Jamie
2013/08/15 18:29:59
Done.
|
findAndReplace(os.path.join(destination, 'plugin_settings.js'), |
"'API_CLIENT_ID'", |
@@ -286,6 +287,9 @@ def buildWebApp(buildtype, version, mimetype, destination, zip_path, plugin, |
findAndReplace(os.path.join(destination, 'plugin_settings.js'), |
"'API_CLIENT_SECRET'", |
"'" + apiClientSecret + "'") |
+ findAndReplace(os.path.join(destination, 'manifest.json'), |
+ '"REMOTING_IDENTITY_API_CLIENT_ID"', |
+ '"' + apiClientIdV2 + '"') |
# Use a consistent extension id for unofficial builds. |
if buildtype != 'Official': |