I found myself trying to add API's for Chromium, but I've encountered a problem that I'm not sure how to wrap my head around. This all started cos I wanted to watch Netflix, but apparently those plugins aren't available in Chromium. Anyway, I found this article titled API Keys here. I did everything up to the point where it says "Providing Keys at Build TIme", but I'm unable to find or create the file called .gyp as it either doesn't exist or I duo how to find it.
I ran this command
Code:
sudo gksudo gedit ~/.gyp/include.gypi
Code:
{ 'variables': { 'google_api_key': 'your_api_key', 'google_default_client_id': 'your_client_id', 'google_default_client_secret': 'your_client_secret', # … other variables you may have ... }, }
برچسب:
نویسنده: استخدام کار