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 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
224 "//testing/gtest", | 224 "//testing/gtest", |
225 "//third_party/libjingle", | 225 "//third_party/libjingle", |
226 "//third_party/webrtc/modules/desktop_capture", | 226 "//third_party/webrtc/modules/desktop_capture", |
227 ] | 227 ] |
228 | 228 |
229 if (enable_webrtc) { | 229 if (enable_webrtc) { |
230 deps += [ "//third_party/libjingle:libjingle_webrtc" ] | 230 deps += [ "//third_party/libjingle:libjingle_webrtc" ] |
231 } | 231 } |
232 } | 232 } |
233 } | 233 } |
OLD | NEW |