Rename source_root to atom_source_root to avoid conflicts.
authorCheng Zhao <zcbenz@gmail.com>
Tue, 2 Jul 2013 04:10:14 +0000 (12:10 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Tue, 2 Jul 2013 04:10:14 +0000 (12:10 +0800)
atom.gyp
common.gypi
tools/atom_source_root.py [moved from tools/mac/source_root.py with 50% similarity, mode: 0644]

index b53bbfc..7f031b9 100644 (file)
--- a/atom.gyp
+++ b/atom.gyp
       '@rpath/Quincy.framework/Versions/A/Quincy',
       '${BUILT_PRODUCTS_DIR}/${EXECUTABLE_PATH}'
     ],
+    'atom_source_root': '<!(python tools/atom_source_root.py)',
   },
   'target_defaults': {
     'mac_framework_dirs': [
-      '<(source_root)/frameworks',
+      '<(atom_source_root)/frameworks',
     ],
   },
   'targets': [
index 658068d..8efe92b 100644 (file)
@@ -1,7 +1,6 @@
 {
   'variables': {
     'clang': 0,
-    'source_root': '<!(python tools/mac/source_root.py)',
     'conditions': [
       ['OS=="mac"', {
         'clang': 1,
old mode 100755 (executable)
new mode 100644 (file)
similarity index 50%
rename from tools/mac/source_root.py
rename to tools/atom_source_root.py
index 73ac5eb..93de124
@@ -6,5 +6,4 @@ import os
 """
 
 
-relative_source_root = os.path.join(__file__, '..', '..', '..')
-print os.path.abspath(relative_source_root)
+print os.path.abspath(os.path.dirname(os.path.dirname(__file__)))