]> khamidou — GitHub mirrors - electron.git/commitdiff
Use "R" and "D" as short names for config
authorCheng Zhao <zcbenz@gmail.com>
Fri, 3 Apr 2015 03:59:14 +0000 (11:59 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Fri, 3 Apr 2015 03:59:14 +0000 (11:59 +0800)
script/build.py
script/create-dist.py
script/lib/util.py
script/test.py
script/upload-node-headers.py
script/upload-windows-pdb.py
script/upload.py
vendor/brightray

index 52d4cc5fd80c790a0affdffb865ac5b45e21f6eb..9935c1b2d5de8068e83355b33d38da0b8af97c9d 100755 (executable)
@@ -19,7 +19,7 @@ def main():
 
   args = parse_args()
   for config in args.configuration:
-    build_path = os.path.join('out', 'Real' + config)
+    build_path = os.path.join('out', config[0])
     ret = subprocess.call([ninja, '-C', build_path, args.target])
     if ret != 0:
       sys.exit(ret)
index 49b186edb670b556a0e6203f225012e689e16a95..36cc61e59393299215357e59416d3efe514150b9 100755 (executable)
@@ -17,7 +17,7 @@ ATOM_SHELL_VERSION = get_atom_shell_version()
 
 SOURCE_ROOT = os.path.abspath(os.path.dirname(os.path.dirname(__file__)))
 DIST_DIR = os.path.join(SOURCE_ROOT, 'dist')
-OUT_DIR = os.path.join(SOURCE_ROOT, 'out', 'Release')
+OUT_DIR = os.path.join(SOURCE_ROOT, 'out', 'R')
 
 SYMBOL_NAME = {
   'darwin': 'libchromiumcontent.dylib.dSYM',
@@ -162,7 +162,7 @@ def create_version():
 def download_libchromiumcontent_symbols(url):
   brightray_dir = os.path.join(SOURCE_ROOT, 'vendor', 'brightray', 'vendor')
   target_dir = os.path.join(brightray_dir, 'download', 'libchromiumcontent')
-  symbols_path = os.path.join(target_dir, 'Release', SYMBOL_NAME)
+  symbols_path = os.path.join(target_dir, 'R', SYMBOL_NAME)
   if os.path.exists(symbols_path):
     return
 
index 1c4f26b76ad5728d8f1d150d8a1b5f5f765484fc..174c65a83d952ffa3c25e797a4829cb6714c2ed2 100644 (file)
@@ -160,7 +160,7 @@ def get_atom_shell_version():
 
 def get_chromedriver_version():
   SOURCE_ROOT = os.path.abspath(os.path.join(__file__, '..', '..', '..'))
-  chromedriver = os.path.join(SOURCE_ROOT, 'out', 'Release', 'chromedriver')
+  chromedriver = os.path.join(SOURCE_ROOT, 'out', 'R', 'chromedriver')
   output = subprocess.check_output([chromedriver, '-v']).strip()
   return 'v' + output[13:]
 
index c21e52ab548c1ebc2a0c44b4ca57cc996645d747..21a1083cb1e901b354d9c84e945973bb18f1bb93 100755 (executable)
@@ -12,12 +12,12 @@ def main():
   os.chdir(SOURCE_ROOT)
 
   if sys.platform == 'darwin':
-    atom_shell = os.path.join(SOURCE_ROOT, 'out', 'Debug', 'Atom.app',
+    atom_shell = os.path.join(SOURCE_ROOT, 'out', 'D', 'Atom.app',
                               'Contents', 'MacOS', 'Atom')
   elif sys.platform == 'win32':
-    atom_shell = os.path.join(SOURCE_ROOT, 'out', 'Debug', 'atom.exe')
+    atom_shell = os.path.join(SOURCE_ROOT, 'out', 'D', 'atom.exe')
   else:
-    atom_shell = os.path.join(SOURCE_ROOT, 'out', 'Debug', 'atom')
+    atom_shell = os.path.join(SOURCE_ROOT, 'out', 'D', 'atom')
 
   subprocess.check_call([atom_shell, 'spec'] + sys.argv[1:])
 
index 6734929c10e7b1eeb51443eba6c450cb27f0870a..c8998a80054cbabbc57b99dbc441912f5c878575 100755 (executable)
@@ -14,7 +14,7 @@ from lib.util import execute, safe_mkdir, scoped_cwd, s3_config, s3put
 SOURCE_ROOT = os.path.abspath(os.path.dirname(os.path.dirname(__file__)))
 DIST_DIR    = os.path.join(SOURCE_ROOT, 'dist')
 NODE_DIR    = os.path.join(SOURCE_ROOT, 'vendor', 'node')
-OUT_DIR     = os.path.join(SOURCE_ROOT, 'out', 'Release')
+OUT_DIR     = os.path.join(SOURCE_ROOT, 'out', 'R')
 
 HEADERS_SUFFIX = [
   '.h',
index e03e2bcfac7c81bed6ca3051ba50138d6cd49ff3..99dc410134281b286d5df25dabdddcdf8e5bd8f4 100755 (executable)
@@ -10,8 +10,8 @@ SOURCE_ROOT = os.path.abspath(os.path.dirname(os.path.dirname(__file__)))
 SYMBOLS_DIR = 'dist\\symbols'
 DOWNLOAD_DIR = 'vendor\\brightray\\vendor\\download\\libchromiumcontent'
 PDB_LIST = [
-  'out\\Release\\atom.exe.pdb',
-  DOWNLOAD_DIR + '\\Release\\chromiumcontent.dll.pdb',
+  'out\\R\\atom.exe.pdb',
+  DOWNLOAD_DIR + '\\R\\chromiumcontent.dll.pdb',
 ]
 
 
index e066d89423d247e3aa7d4e338f7ce05d5f7d64bc..677247a2e6e75dad127c57eb3afbc494341be273 100755 (executable)
@@ -18,7 +18,7 @@ ATOM_SHELL_VERSION = get_atom_shell_version()
 CHROMEDRIVER_VERSION = get_chromedriver_version()
 
 SOURCE_ROOT = os.path.abspath(os.path.dirname(os.path.dirname(__file__)))
-OUT_DIR = os.path.join(SOURCE_ROOT, 'out', 'Release')
+OUT_DIR = os.path.join(SOURCE_ROOT, 'out', 'R')
 DIST_DIR = os.path.join(SOURCE_ROOT, 'dist')
 DIST_NAME = 'atom-shell-{0}-{1}-{2}.zip'.format(ATOM_SHELL_VERSION,
                                                 TARGET_PLATFORM,
@@ -84,12 +84,12 @@ def parse_args():
 
 def get_atom_shell_build_version():
   if TARGET_PLATFORM == 'darwin':
-    atom_shell = os.path.join(SOURCE_ROOT, 'out', 'Release', 'Atom.app',
+    atom_shell = os.path.join(SOURCE_ROOT, 'out', 'R', 'Atom.app',
                               'Contents', 'MacOS', 'Atom')
   elif TARGET_PLATFORM == 'win32':
-    atom_shell = os.path.join(SOURCE_ROOT, 'out', 'Release', 'atom.exe')
+    atom_shell = os.path.join(SOURCE_ROOT, 'out', 'R', 'atom.exe')
   else:
-    atom_shell = os.path.join(SOURCE_ROOT, 'out', 'Release', 'atom')
+    atom_shell = os.path.join(SOURCE_ROOT, 'out', 'R', 'atom')
 
   return subprocess.check_output([atom_shell, '--version']).strip()
 
index ca993560286e14aa936d3cff415e2b317ba8faf0..f89e3f633ec0c9ead422d0a39f7f42e693544d08 160000 (submodule)
@@ -1 +1 @@
-Subproject commit ca993560286e14aa936d3cff415e2b317ba8faf0
+Subproject commit f89e3f633ec0c9ead422d0a39f7f42e693544d08