Henrik Kjellander | 73e2180 | 2017-06-20 08:38:58 +0200 | [diff] [blame^] | 1 | # 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 | |
| 9 | import("../webrtc.gni") |
| 10 | |
| 11 | if (is_android) { |
| 12 | import("//build/config/android/config.gni") |
| 13 | import("//build/config/android/rules.gni") |
| 14 | } |
| 15 | |
| 16 | group("rtc_base") { |
| 17 | public_deps = [] |
| 18 | if (is_android) { |
| 19 | public_deps += [ ":base_java" ] |
| 20 | } |
| 21 | } |
| 22 | |
| 23 | if (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 | } |