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

Side by Side Diff: net/android/BUILD.gn

Issue 2082453003: 🎅 Use GN's dependency info for native libraries in write_build_config.py (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix osmesa on non-android Created 4 years, 6 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 import("//build/config/android/config.gni") 5 import("//build/config/android/config.gni")
6 import("//build/config/android/rules.gni") 6 import("//build/config/android/rules.gni")
7 7
8 android_library("net_java") { 8 android_library("net_java") {
9 java_files = [ 9 java_files = [
10 "java/src/org/chromium/net/AndroidCertVerifyResult.java", 10 "java/src/org/chromium/net/AndroidCertVerifyResult.java",
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 testonly = true 89 testonly = true
90 deps = [ 90 deps = [
91 ":java_test_native_support", 91 ":java_test_native_support",
92 "//net:test_support", 92 "//net:test_support",
93 ] 93 ]
94 } 94 }
95 95
96 android_apk("net_test_support_apk") { 96 android_apk("net_test_support_apk") {
97 testonly = true 97 testonly = true
98 deps = [ 98 deps = [
99 ":net_java_test_native_support",
100 ":net_java_test_support", 99 ":net_java_test_support",
101 "//base:base_java", 100 "//base:base_java",
102 ] 101 ]
103 android_manifest = "../test/android/javatests/AndroidManifest.xml" 102 android_manifest = "../test/android/javatests/AndroidManifest.xml"
104 apk_name = "ChromiumNetTestSupport" 103 apk_name = "ChromiumNetTestSupport"
105 native_libs = [ "libnet_java_test_native_support.so" ] 104 shared_libraries = [ ":net_java_test_native_support" ]
106 } 105 }
107 106
108 android_resources("net_unittests_apk_resources") { 107 android_resources("net_unittests_apk_resources") {
109 resource_dirs = [ "unittest_support/res" ] 108 resource_dirs = [ "unittest_support/res" ]
110 custom_package = "org.chromium.native_test" 109 custom_package = "org.chromium.native_test"
111 } 110 }
112 111
113 android_library("net_javatests") { 112 android_library("net_javatests") {
114 testonly = true 113 testonly = true
115 java_files = [ 114 java_files = [
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 java_files = 157 java_files =
159 [ "junit/src/org/chromium/net/HttpNegotiateAuthenticatorTest.java" ] 158 [ "junit/src/org/chromium/net/HttpNegotiateAuthenticatorTest.java" ]
160 deps = [ 159 deps = [
161 ":net_java", 160 ":net_java",
162 "//base:base_java", 161 "//base:base_java",
163 "//base:base_java_test_support", 162 "//base:base_java_test_support",
164 "//base:base_junit_test_support", 163 "//base:base_junit_test_support",
165 "//third_party/junit:hamcrest", 164 "//third_party/junit:hamcrest",
166 ] 165 ]
167 } 166 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698