blob: 3f88717e961ce219c6d87d996386a97e4a185d78 [file] [log] [blame]
Henrik Kjellander73e21802017-06-20 08:38:58 +02001# Copyright (c) 2017 The WebRTC project authors. All Rights Reserved.
2#
3# Use of this source code is governed by a BSD-style license
4# that can be found in the LICENSE file in the root of the source
5# tree. An additional intellectual property rights grant can be found
6# in the file PATENTS. All contributing project authors may
7# be found in the AUTHORS file in the root of the source tree.
8
9import("../webrtc.gni")
10
11if (is_android) {
12 import("//build/config/android/config.gni")
13 import("//build/config/android/rules.gni")
14}
15
16group("rtc_base") {
17 public_deps = []
18 if (is_android) {
19 public_deps += [ ":base_java" ]
20 }
21}
22
23if (is_android) {
24 android_library("base_java") {
25 # TODO(kjellander): android_library hits an assert during GN generation
26 # unless java_files is set and contains at least one file.
27 # This will be cleaned up after the rename migration is completed.
28 # This target currently exists only so downstream projects can migrate
29 # to depend on both the old and the new target.
30 # See https://bugs.webrtc.org/7634 for more details.
31 java_files = [ "Dummy.java" ]
32 }
33}