Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(50)

Side by Side Diff: remoting/build/config/BUILD.gn

Issue 2659823002: Remove dependency on internal_mac-inl.h (Closed)
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | remoting/host/remoting_me2me_host.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 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 import("//build/config/features.gni") 5 import("//build/config/features.gni")
6 import("//build/util/version.gni") 6 import("//build/util/version.gni")
7 import("//remoting/remoting_options.gni") 7 import("//remoting/remoting_options.gni")
8 8
9 # TODO(nicholss): Move this and other defines to version.h.in. 9 # TODO(nicholss): Move this and other defines to version.h.in.
10 # Various remoting targets need this version definition. 10 # Various remoting targets need this version definition.
11 config("version") { 11 config("version") {
12 defines = [ "VERSION=$chrome_version_full" ] 12 defines = [ "VERSION=$chrome_version_full" ]
13 } 13 }
14 14
15 config("enable_webrtc_remoting_client") { 15 config("enable_webrtc_remoting_client") {
16 if (!is_official_build && !is_nacl) { 16 if (!is_official_build && !is_nacl) {
17 defines = [ "ENABLE_WEBRTC_REMOTING_CLIENT=1" ] 17 defines = [ "ENABLE_WEBRTC_REMOTING_CLIENT=1" ]
18 } 18 }
19 } 19 }
20 20
21 config("remoting_me2me_host") { 21 config("remoting_me2me_host") {
22 defines = [] 22 defines = []
23 23
24 if (is_mac && is_official_build) {
25 defines += [ "USE_REMOTING_MACOSX_INTERNAL" ]
26 }
27
28 if (is_win && remoting_multi_process != 0 && remoting_rdp_session != 0) { 24 if (is_win && remoting_multi_process != 0 && remoting_rdp_session != 0) {
29 defines += [ "REMOTING_RDP_SESSION" ] 25 defines += [ "REMOTING_RDP_SESSION" ]
30 } 26 }
31 27
32 if (remoting_multi_process != 0) { 28 if (remoting_multi_process != 0) {
33 defines += [ "REMOTING_MULTI_PROCESS" ] 29 defines += [ "REMOTING_MULTI_PROCESS" ]
34 } 30 }
35 } 31 }
OLDNEW
« no previous file with comments | « no previous file | remoting/host/remoting_me2me_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698