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

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

Issue 2308813002: Moving CRD Windows targets to subdirectories. (Closed)
Patch Set: Correcting format. Created 4 years, 3 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
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 8
8 # TODO(nicholss): Move this and other defines to version.h.in. 9 # TODO(nicholss): Move this and other defines to version.h.in.
9 # Various remoting targets need this version definition. 10 # Various remoting targets need this version definition.
10 config("version") { 11 config("version") {
11 defines = [ "VERSION=$chrome_version_full" ] 12 defines = [ "VERSION=$chrome_version_full" ]
12 } 13 }
13 14
14 config("enable_webrtc_remoting_client") { 15 config("enable_webrtc_remoting_client") {
15 if (!is_official_build && !is_nacl) { 16 if (!is_official_build && !is_nacl) {
16 defines = [ "ENABLE_WEBRTC_REMOTING_CLIENT=1" ] 17 defines = [ "ENABLE_WEBRTC_REMOTING_CLIENT=1" ]
17 } 18 }
18 } 19 }
20
21 config("remoting_me2me_host") {
22 defines = []
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) {
29 defines += [ "REMOTING_RDP_SESSION" ]
30 }
31
32 if (remoting_multi_process != 0) {
33 defines += [ "REMOTING_MULTI_PROCESS" ]
34 }
35 }
OLDNEW
« no previous file with comments | « remoting/BUILD.gn ('k') | remoting/host/BUILD.gn » ('j') | remoting/host/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698