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

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

Issue 1304163005: Sync more GN unit tests with GYP. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixes Created 5 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
« no previous file with comments | « components/metrics/BUILD.gn ('k') | components/rappor/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 source_set("navigation_interception") {
10 sources = [ 10 sources = [
11 "intercept_navigation_resource_throttle.cc", 11 "intercept_navigation_resource_throttle.cc",
12 "intercept_navigation_resource_throttle.h", 12 "intercept_navigation_resource_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",
(...skipping 18 matching lines...) Expand all
38 if (is_android) { 38 if (is_android) {
39 # GYP: //components/navigation_interception.gypi:navigation_interception_jni_h eaders 39 # GYP: //components/navigation_interception.gypi:navigation_interception_jni_h eaders
40 generate_jni("jni_headers") { 40 generate_jni("jni_headers") {
41 sources = [ 41 sources = [
42 "android/java/src/org/chromium/components/navigation_interception/Intercep tNavigationDelegate.java", 42 "android/java/src/org/chromium/components/navigation_interception/Intercep tNavigationDelegate.java",
43 "android/java/src/org/chromium/components/navigation_interception/Navigati onParams.java", 43 "android/java/src/org/chromium/components/navigation_interception/Navigati onParams.java",
44 ] 44 ]
45 jni_package = "navigation_interception" 45 jni_package = "navigation_interception"
46 } 46 }
47 } 47 }
48
49 source_set("unit_tests") {
50 testonly = true
51 sources = [
52 "intercept_navigation_resource_throttle_unittest.cc",
53 ]
54 deps = [
55 ":navigation_interception",
56 "//content/public/browser",
57 "//testing/gmock",
58 "//testing/gtest",
59 ]
60 }
OLDNEW
« no previous file with comments | « components/metrics/BUILD.gn ('k') | components/rappor/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698