From de55d8c2922bf87e999551d4ac3dab03455be1c5 Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Mon, 29 Dec 2014 09:51:47 -0800 Subject: [PATCH] Make product_name and project_name configurable Now users can make use of GYP_DEFINES to custom application name: export GYP_DEFINES="product_name=MyApp project_name=myapp" ./script/update.py ./script/build.py -C Release -t myapp --- atom.gyp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/atom.gyp b/atom.gyp index 8f0e9b04..0caf2f22 100644 --- a/atom.gyp +++ b/atom.gyp @@ -3,8 +3,8 @@ 'includes': [ 'vendor/native_mate/native_mate_files.gypi', ], - 'project_name': 'atom', - 'product_name': 'Atom', + 'project_name%': 'atom', + 'product_name%': 'Atom', 'app_sources': [ 'atom/app/atom_main.cc', 'atom/app/atom_main.h', -- 2.43.0