OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 if (is_android) { | 5 if (is_android) { |
6 import("//build/config/android/rules.gni") | 6 import("//build/config/android/rules.gni") |
7 } | 7 } |
8 | 8 |
9 static_library("navigation_interception") { | 9 static_library("navigation_interception") { |
10 sources = [ | 10 sources = [ |
(...skipping 19 matching lines...) Expand all Loading... |
30 "intercept_navigation_delegate.h", | 30 "intercept_navigation_delegate.h", |
31 "navigation_params_android.h", | 31 "navigation_params_android.h", |
32 "navigation_params_android.cc", | 32 "navigation_params_android.cc", |
33 ] | 33 ] |
34 deps += [ ":jni_headers" ] | 34 deps += [ ":jni_headers" ] |
35 } | 35 } |
36 } | 36 } |
37 | 37 |
38 if (is_android) { | 38 if (is_android) { |
39 | 39 |
40 # TODO(GYP): navigation_interception_java target | 40 # GYP: //components/navigation_interception.gypi:navigation_interception_jni_h
eaders |
41 | |
42 generate_jni("jni_headers") { | 41 generate_jni("jni_headers") { |
43 sources = [ | 42 sources = [ |
44 "android/java/src/org/chromium/components/navigation_interception/Intercep
tNavigationDelegate.java", | 43 "android/java/src/org/chromium/components/navigation_interception/Intercep
tNavigationDelegate.java", |
45 "android/java/src/org/chromium/components/navigation_interception/Navigati
onParams.java", | 44 "android/java/src/org/chromium/components/navigation_interception/Navigati
onParams.java", |
46 ] | 45 ] |
47 jni_package = "navigation_interception" | 46 jni_package = "navigation_interception" |
48 } | 47 } |
49 } | 48 } |
OLD | NEW |