OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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/config/ui.gni") | 6 import("//build/config/ui.gni") |
7 import("//build/util/version.gni") | 7 import("//build/util/version.gni") |
8 import("//remoting/remoting_enable.gni") | 8 import("//remoting/remoting_enable.gni") |
9 import("//remoting/remoting_options.gni") | 9 import("//remoting/remoting_options.gni") |
10 import("//remoting/remoting_version.gni") | 10 import("//remoting/remoting_version.gni") |
11 import("//testing/test.gni") | 11 import("//testing/test.gni") |
12 | 12 |
13 # TODO(nicholss) Move this and other defines to version.h.in | 13 # TODO(nicholss): Move this and other defines to version.h.in. |
14 # Various remoting targets need this version definition. | 14 # Various remoting targets need this version definition. |
15 config("version") { | 15 config("version") { |
16 defines = [ "VERSION=$chrome_version_full" ] | 16 defines = [ "VERSION=$chrome_version_full" ] |
17 } | 17 } |
18 | 18 |
19 config("enable_webrtc_remoting_client") { | 19 config("enable_webrtc_remoting_client") { |
20 if (!is_official_build && !is_nacl) { | 20 if (!is_official_build && !is_nacl) { |
21 defines = [ "ENABLE_WEBRTC_REMOTING_CLIENT=1" ] | 21 defines = [ "ENABLE_WEBRTC_REMOTING_CLIENT=1" ] |
22 } | 22 } |
23 } | 23 } |
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
218 "//testing/gtest", | 218 "//testing/gtest", |
219 "//third_party/libjingle", | 219 "//third_party/libjingle", |
220 "//third_party/webrtc/modules/desktop_capture", | 220 "//third_party/webrtc/modules/desktop_capture", |
221 ] | 221 ] |
222 | 222 |
223 if (enable_webrtc) { | 223 if (enable_webrtc) { |
224 deps += [ "//third_party/libjingle:libjingle_webrtc" ] | 224 deps += [ "//third_party/libjingle:libjingle_webrtc" ] |
225 } | 225 } |
226 } | 226 } |
227 } | 227 } |
OLD | NEW |