1 # Copyright 2014 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.
6 import("//build/config/android/rules.gni")
9 static_library("navigation_interception") {
11 "intercept_navigation_resource_throttle.cc",
12 "intercept_navigation_resource_throttle.h",
13 "navigation_params.h",
14 "navigation_params.cc",
19 "//content/public/browser",
20 "//content/public/common",
26 "component_jni_registrar.cc",
27 "component_jni_registrar.h",
28 "intercept_navigation_delegate.cc",
29 "intercept_navigation_delegate.h",
30 "navigation_params_android.h",
31 "navigation_params_android.cc",
33 deps += [ ":jni_headers" ]
39 # TODO(GYP): navigation_interception_java target
41 generate_jni("jni_headers") {
43 "android/java/src/org/chromium/components/navigation_interception/InterceptNavigationDelegate.java",
44 "android/java/src/org/chromium/components/navigation_interception/NavigationParams.java",
46 jni_package = "navigation_interception"