xref: /aosp_15_r20/external/cronet/net/base/BUILD.gn (revision 6777b5387eb2ff775bb5750e3f5d96f37fb7352b)
1# Copyright 2022 The Chromium Authors
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5if (is_android) {
6  import("//build/config/android/rules.gni")
7
8  java_cpp_features("java_features_srcjar") {
9    # External code should depend on ":features_java" instead.
10    visibility = [ ":*" ]
11    sources = [ "features.cc" ]
12    template = "android/java_templates/NetFeatures.java.tmpl"
13  }
14
15  android_library("features_java") {
16    srcjar_deps = [ ":java_features_srcjar" ]
17  }
18}
19