Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(784)

Side by Side Diff: components/navigation_interception/BUILD.gn

Issue 2146753002: Android: Remove unneeded RegisterNatives() calls (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Android: Don't require RegisterNatives if there are none Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 = [
11 "intercept_navigation_throttle.cc", 11 "intercept_navigation_throttle.cc",
12 "intercept_navigation_throttle.h", 12 "intercept_navigation_throttle.h",
13 "navigation_params.cc", 13 "navigation_params.cc",
14 "navigation_params.h", 14 "navigation_params.h",
15 ] 15 ]
16 16
17 deps = [ 17 deps = [
18 "//base", 18 "//base",
19 "//content/public/browser", 19 "//content/public/browser",
20 "//content/public/common", 20 "//content/public/common",
21 "//net", 21 "//net",
22 "//ui/base", 22 "//ui/base",
23 ] 23 ]
24 24
25 if (is_android) { 25 if (is_android) {
26 sources += [ 26 sources += [
27 "component_jni_registrar.cc",
28 "component_jni_registrar.h",
29 "intercept_navigation_delegate.cc", 27 "intercept_navigation_delegate.cc",
30 "intercept_navigation_delegate.h", 28 "intercept_navigation_delegate.h",
31 "navigation_params_android.cc", 29 "navigation_params_android.cc",
32 "navigation_params_android.h", 30 "navigation_params_android.h",
33 ] 31 ]
34 deps += [ ":jni_headers" ] 32 deps += [ ":jni_headers" ]
35 } 33 }
36 } 34 }
37 35
38 if (is_android) { 36 if (is_android) {
(...skipping 14 matching lines...) Expand all
53 ] 51 ]
54 deps = [ 52 deps = [
55 ":navigation_interception", 53 ":navigation_interception",
56 "//base", 54 "//base",
57 "//content/public/browser", 55 "//content/public/browser",
58 "//content/test:test_support", 56 "//content/test:test_support",
59 "//testing/gmock", 57 "//testing/gmock",
60 "//testing/gtest", 58 "//testing/gtest",
61 ] 59 ]
62 } 60 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698