Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 { | 5 { |
| 6 'includes': [ | |
| 7 'remoting_host_linux.gypi', | |
| 8 'remoting_host_mac.gypi', | |
| 9 'remoting_host_win.gypi', | |
| 10 ], | |
| 11 | |
| 12 'variables': { | 6 'variables': { |
| 13 'conditions': [ | 7 'conditions': [ |
| 14 # Remoting host is supported only on Windows, OSX and Linux (with X11). | 8 # Remoting host is supported only on Windows, OSX and Linux (with X11). |
| 15 ['OS=="win" or OS=="mac" or (OS=="linux" and use_x11==1)', { | 9 ['OS=="win" or OS=="mac" or (OS=="linux" and use_x11==1)', { |
|
kelvinp
2015/02/04 20:51:22
should we consolidate this variables with those in
garykac
2015/02/06 02:18:41
Done.
| |
| 16 'enable_me2me_host': 1, | 10 'enable_me2me_host': 1, |
| 17 'enable_it2me_host': 1, | 11 'enable_it2me_host': 1, |
| 18 'enable_remoting_host': 1, | 12 'enable_remoting_host': 1, |
| 19 }, { | 13 }, { |
| 20 'enable_me2me_host': 0, | 14 'enable_me2me_host': 0, |
| 21 'enable_it2me_host': 0, | 15 'enable_it2me_host': 0, |
| 22 'enable_remoting_host': 0, | 16 'enable_remoting_host': 0, |
| 23 }], | 17 }], |
| 24 ['chromeos==1', { | 18 ['chromeos==1', { |
| 25 'enable_remoting_host': 1, | 19 'enable_remoting_host': 1, |
| 26 'enable_me2me_host': 0, | 20 'enable_me2me_host': 0, |
| 27 'enable_it2me_host': 1, | 21 'enable_it2me_host': 1, |
| 28 }], | 22 }], |
| 29 ], | 23 ], |
| 30 }, | 24 }, |
| 31 | 25 |
| 32 'conditions': [ | 26 'conditions': [ |
| 27 ['OS=="mac"', { | |
| 28 'includes': [ | |
| 29 'remoting_host_mac.gypi', | |
| 30 ], | |
| 31 }], | |
| 32 ['OS=="win"', { | |
| 33 'includes': [ | |
| 34 'remoting_host_win.gypi', | |
| 35 ], | |
| 36 }], | |
| 37 ['OS=="linux"', { | |
| 38 'includes': [ | |
| 39 'remoting_host_linux.gypi', | |
| 40 ], | |
| 41 }], | |
| 42 | |
| 33 ['enable_remoting_host==1', { | 43 ['enable_remoting_host==1', { |
| 34 'targets': [ | 44 'targets': [ |
| 35 { | 45 { |
| 36 # GN version: //remoting/host | 46 # GN version: //remoting/host |
| 37 'target_name': 'remoting_host', | 47 'target_name': 'remoting_host', |
| 38 'type': 'static_library', | 48 'type': 'static_library', |
| 39 'variables': { | 49 'variables': { |
| 40 'enable_wexit_time_destructors': 1, | 50 'enable_wexit_time_destructors': 1, |
| 41 'host_bundle_name': '<!(python <(version_py_path) -f <(branding_path ) -t "@MAC_HOST_BUNDLE_NAME@")', | 51 'host_bundle_name': '<!(python <(version_py_path) -f <(branding_path ) -t "@MAC_HOST_BUNDLE_NAME@")', |
| 42 'prefpane_bundle_name': '<!(python <(version_py_path) -f <(branding_ path) -t "@MAC_PREFPANE_BUNDLE_NAME@")', | 52 'prefpane_bundle_name': '<!(python <(version_py_path) -f <(branding_ path) -t "@MAC_PREFPANE_BUNDLE_NAME@")', |
| (...skipping 693 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 736 }], # mac_breakpad==1 | 746 }], # mac_breakpad==1 |
| 737 ], # conditions | 747 ], # conditions |
| 738 }], # OS=mac | 748 }], # OS=mac |
| 739 ], | 749 ], |
| 740 }, # end of target 'remoting_it2me_native_messaging_host' | 750 }, # end of target 'remoting_it2me_native_messaging_host' |
| 741 ], # end of 'targets' | 751 ], # end of 'targets' |
| 742 }], # # end of OS!="win" and enable_it2me_host==1 | 752 }], # # end of OS!="win" and enable_it2me_host==1 |
| 743 | 753 |
| 744 ], # end of 'conditions' | 754 ], # end of 'conditions' |
| 745 } | 755 } |
| OLD | NEW |