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

Unified Diff: components/navigation_interception/BUILD.gn

Issue 397953005: Add more components to the GN build. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: less android Created 6 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/navigation_interception.gypi ('k') | components/network_time.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/navigation_interception/BUILD.gn
diff --git a/components/navigation_interception/BUILD.gn b/components/navigation_interception/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..7775c2ba985fa650a01a3650c973688b76b2f87f
--- /dev/null
+++ b/components/navigation_interception/BUILD.gn
@@ -0,0 +1,48 @@
+# Copyright 2014 The Chromium Authors. All rights reserved.
+# 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")
+}
+
+static_library("navigation_interception") {
+ sources = [
+ "intercept_navigation_resource_throttle.cc",
+ "intercept_navigation_resource_throttle.h",
+ "navigation_params.h",
+ "navigation_params.cc",
+ ]
+
+ deps = [
+ "//base",
+ "//content/public/browser",
+ "//content/public/common",
+ "//net",
+ ]
+
+ if (is_android) {
+ sources += [
+ "component_jni_registrar.cc",
+ "component_jni_registrar.h",
+ "intercept_navigation_delegate.cc",
+ "intercept_navigation_delegate.h",
+ "navigation_params_android.h",
+ "navigation_params_android.cc",
+ ]
+ deps += [ ":jni_headers" ]
+ }
+}
+
+if (is_android) {
+
+ # TODO(GYP): navigation_interception_java target
+
+ generate_jni("jni_headers") {
+ sources = [
+ "android/java/src/org/chromium/components/navigation_interception/InterceptNavigationDelegate.java",
+ "android/java/src/org/chromium/components/navigation_interception/NavigationParams.java",
+ ]
+ jni_package = "navigation_interception"
+ }
+}
« no previous file with comments | « components/navigation_interception.gypi ('k') | components/network_time.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698