chore: stop using electron.gyp for branding and version (#14559)

* chore: stop using electron.gyp for version info

* chore: remove branding info from electron.gyp

* Use get_electron_branding instead of gn read

* Flip project_name/product_name
This commit is contained in:
Jeremy Apthorp 2018-09-27 13:53:08 -05:00 committed by John Kleinschmidt
parent 6be69048e6
commit 77fb9cf416
12 changed files with 60 additions and 86 deletions

View file

@ -8,8 +8,8 @@ import subprocess
import sys
from lib.config import enable_verbose_mode
from lib.util import get_electron_branding, execute_stdout, rm_rf
import lib.dbus_mock
from lib.util import electron_gyp, execute_stdout, rm_rf
if sys.platform == 'linux2':
@ -29,8 +29,8 @@ if sys.platform == 'linux2':
SOURCE_ROOT = os.path.abspath(os.path.dirname(os.path.dirname(__file__)))
PROJECT_NAME = electron_gyp()['project_name%']
PRODUCT_NAME = electron_gyp()['product_name%']
PROJECT_NAME = get_electron_branding()['project_name']
PRODUCT_NAME = get_electron_branding()['product_name']
def main():