summaryrefslogtreecommitdiff
path: root/chromium/net/base/BUILD.gn
blob: 315f921ed4bf420e7c1091cf277f647ac7bbaa95 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Copyright 2022 The Chromium Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

if (is_android) {
  import("//build/config/android/rules.gni")

  java_cpp_features("java_features_srcjar") {
    # External code should depend on ":features_java" instead.
    visibility = [ ":*" ]
    sources = [ "features.cc" ]
    template = "android/java_templates/NetFeatures.java.tmpl"
  }

  android_library("features_java") {
    srcjar_deps = [ ":java_features_srcjar" ]
  }
}