OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 | 6 |
7 jingle_includes = exec_script("//build/gypi_to_gn.py", | 7 if (enable_webrtc || !is_android) { |
8 [ rebase_path("jingle.gypi") ], | 8 jingle_includes = exec_script("//build/gypi_to_gn.py", |
9 "scope", | 9 [ rebase_path("jingle.gypi") ], |
10 [ "jingle.gypi" ]) | 10 "scope", |
| 11 [ "jingle.gypi" ]) |
11 | 12 |
12 if (enable_webrtc || !is_android) { | |
13 # GYP version: jingle/jingle.gyp:jingle_glue | 13 # GYP version: jingle/jingle.gyp:jingle_glue |
14 static_library("jingle_glue") { | 14 static_library("jingle_glue") { |
15 sources = jingle_includes.jingle_glue_sources | 15 sources = jingle_includes.jingle_glue_sources |
16 deps = [ | 16 deps = [ |
17 "//base", | 17 "//base", |
18 "//base/third_party/dynamic_annotations", | 18 "//base/third_party/dynamic_annotations", |
19 "//net", | 19 "//net", |
20 # '../third_party/libjingle/libjingle.gyp:libjingle', # TODO(GYP) | 20 # '../third_party/libjingle/libjingle.gyp:libjingle', # TODO(GYP) |
21 ] | 21 ] |
22 # 'export_dependent_settings': [ | 22 # 'export_dependent_settings': [ |
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
192 "notifier/base/notifier_options.h", | 192 "notifier/base/notifier_options.h", |
193 ] | 193 ] |
194 deps = [ | 194 deps = [ |
195 "//base", | 195 "//base", |
196 "//net" | 196 "//net" |
197 ] | 197 ] |
198 } | 198 } |
199 | 199 |
200 source_set("notifier_test_util") { } | 200 source_set("notifier_test_util") { } |
201 } | 201 } |
OLD | NEW |