Commit f2891d45 authored by dcaiafa's avatar dcaiafa Committed by Commit bot

Add support for internal overrides for Mac

BUG=302704

Review URL: https://codereview.chromium.org/798173002

Cr-Commit-Position: refs/heads/master@{#308246}
parent fc1bdb4f
......@@ -9,6 +9,7 @@ include_rules = [
"+remoting/codec",
"+remoting/protocol",
"+remoting/signaling",
"+remoting/tools",
"+third_party/jsoncpp",
"+third_party/modp_b64",
"+third_party/skia",
......
......@@ -104,6 +104,10 @@
using remoting::protocol::PairingRegistry;
using remoting::protocol::NetworkSettings;
#if defined(USE_REMOTING_MACOSX_INTERNAL)
#include "remoting/tools/internal/internal_mac-inl.h"
#endif
namespace {
// This is used for tagging system event logs.
......
......@@ -133,6 +133,21 @@
'dependencies': [
'../third_party/google_toolbox_for_mac/google_toolbox_for_mac.gyp:google_toolbox_for_mac',
],
'variables': {
# Include internal_mac-inl.h only if it exists.
'use_remoting_macosx_internal%':
'<!(python -c "import os; print 1 if os.path.exists(\'tools/internal/internal_mac-inl.h\') else 0")'
},
'conditions': [
['use_remoting_macosx_internal==1', {
'sources': [
'internal/internal_mac-inl.h'
],
'defines': [
'USE_REMOTING_MACOSX_INTERNAL'
]
}]
],
'link_settings': {
'libraries': [
'$(SDKROOT)/System/Library/Frameworks/OpenGL.framework',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment