commit
6b68847a0d
2 changed files with 16 additions and 4 deletions
|
@ -2,6 +2,9 @@
|
||||||
'includes': [
|
'includes': [
|
||||||
'brightray.gypi',
|
'brightray.gypi',
|
||||||
],
|
],
|
||||||
|
'variables': {
|
||||||
|
'brightray_source_root': '<!(python tools/brightray_source_root.py)',
|
||||||
|
},
|
||||||
'targets': [
|
'targets': [
|
||||||
{
|
{
|
||||||
'target_name': 'brightray',
|
'target_name': 'brightray',
|
||||||
|
@ -70,7 +73,7 @@
|
||||||
['OS=="mac"', {
|
['OS=="mac"', {
|
||||||
'link_settings': {
|
'link_settings': {
|
||||||
'libraries': [
|
'libraries': [
|
||||||
'libchromiumcontent.dylib',
|
'<(brightray_source_root)/<(libchromiumcontent_library_dir)/libchromiumcontent.dylib',
|
||||||
'$(SDKROOT)/System/Library/Frameworks/AppKit.framework',
|
'$(SDKROOT)/System/Library/Frameworks/AppKit.framework',
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
@ -78,9 +81,9 @@
|
||||||
['OS=="win"', {
|
['OS=="win"', {
|
||||||
'link_settings': {
|
'link_settings': {
|
||||||
'libraries': [
|
'libraries': [
|
||||||
'<(libchromiumcontent_library_dir)/base_static.lib',
|
'<(brightray_source_root)/<(libchromiumcontent_library_dir)/base_static.lib',
|
||||||
'<(libchromiumcontent_library_dir)/chromiumcontent.dll.lib',
|
'<(brightray_source_root)/<(libchromiumcontent_library_dir)/chromiumcontent.dll.lib',
|
||||||
'<(libchromiumcontent_library_dir)/sandbox_static.lib',
|
'<(brightray_source_root)/<(libchromiumcontent_library_dir)/sandbox_static.lib',
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
}],
|
}],
|
||||||
|
|
9
brightray/tools/brightray_source_root.py
Normal file
9
brightray/tools/brightray_source_root.py
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
#!/usr/bin/env python
|
||||||
|
|
||||||
|
import os
|
||||||
|
|
||||||
|
"""Prints the absolute path of the root of brightray's source tree.
|
||||||
|
"""
|
||||||
|
|
||||||
|
|
||||||
|
print os.path.abspath(os.path.dirname(os.path.dirname(__file__)))
|
Loading…
Add table
Add a link
Reference in a new issue