BUILD.gn 550 B

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