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

Side by Side Diff: android_webview/test/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 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 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/rules.gni") 5 import("//build/config/android/rules.gni")
6 import("//testing/test.gni") 6 import("//testing/test.gni")
7 7
8 # Mark all targets as test only. 8 # Mark all targets as test only.
9 testonly = true 9 testonly = true
10 10
11 group("test") { 11 group("test") {
12 deps = [ 12 deps = [
13 ":android_webview_test_apk", 13 ":android_webview_test_apk",
14 ":android_webview_unittests", 14 ":android_webview_unittests",
15 ] 15 ]
16 } 16 }
17 17
18 # GYP: //android_webview/android_webview_tests.gypi:android_webview_apk 18 # GYP: //android_webview/android_webview_tests.gypi:android_webview_apk
19 android_apk("android_webview_apk") { 19 android_apk("android_webview_apk") {
20 deps = [ 20 deps = [
21 ":android_webview_apk_assets", 21 ":android_webview_apk_assets",
22 ":android_webview_apk_resources", 22 ":android_webview_apk_resources",
23 ":libdrawgl",
24 ":libstandalonelibwebviewchromium",
25 "//android_webview:android_webview_java", 23 "//android_webview:android_webview_java",
26 "//base:base_java", 24 "//base:base_java",
27 "//base:base_java_test_support", 25 "//base:base_java_test_support",
28 "//components/policy/android:policy_java_test_support", 26 "//components/policy/android:policy_java_test_support",
29 "//content/public/android:content_java", 27 "//content/public/android:content_java",
30 "//ui/android:ui_java", 28 "//ui/android:ui_java",
31 ] 29 ]
32 30
33 apk_name = "AndroidWebView" 31 apk_name = "AndroidWebView"
34 android_manifest = "shell/AndroidManifest.xml" 32 android_manifest = "shell/AndroidManifest.xml"
35 java_files = [ 33 java_files = [
36 "shell/src/org/chromium/android_webview/shell/AwShellActivity.java", 34 "shell/src/org/chromium/android_webview/shell/AwShellActivity.java",
37 "shell/src/org/chromium/android_webview/shell/AwShellApplication.java", 35 "shell/src/org/chromium/android_webview/shell/AwShellApplication.java",
38 "shell/src/org/chromium/android_webview/shell/AwShellResourceProvider.java", 36 "shell/src/org/chromium/android_webview/shell/AwShellResourceProvider.java",
39 "shell/src/org/chromium/android_webview/shell/AwShellSwitches.java", 37 "shell/src/org/chromium/android_webview/shell/AwShellSwitches.java",
40 "shell/src/org/chromium/android_webview/shell/DrawGL.java", 38 "shell/src/org/chromium/android_webview/shell/DrawGL.java",
41 "shell/src/org/chromium/android_webview/test/AwInstrumentationTestRunner.jav a", 39 "shell/src/org/chromium/android_webview/test/AwInstrumentationTestRunner.jav a",
42 "shell/src/org/chromium/android_webview/test/AwTestContainerView.java", 40 "shell/src/org/chromium/android_webview/test/AwTestContainerView.java",
43 "shell/src/org/chromium/android_webview/test/AwTestRunnerActivity.java", 41 "shell/src/org/chromium/android_webview/test/AwTestRunnerActivity.java",
44 "shell/src/org/chromium/android_webview/test/NullContentsClient.java", 42 "shell/src/org/chromium/android_webview/test/NullContentsClient.java",
45 "shell/src/org/chromium/android_webview/test/SecondBrowserProcess.java", 43 "shell/src/org/chromium/android_webview/test/SecondBrowserProcess.java",
46 "shell/src/org/chromium/android_webview/test/TestContentProvider.java", 44 "shell/src/org/chromium/android_webview/test/TestContentProvider.java",
47 ] 45 ]
48 native_libs = [ 46 shared_libraries = [
49 "libdrawgl.so", 47 ":libdrawgl",
50 "libstandalonelibwebviewchromium.so", 48 ":libstandalonelibwebviewchromium",
51 ] 49 ]
52 50
53 native_lib_version_rule = "//build/util:chrome_version_json" 51 native_lib_version_rule = "//build/util:chrome_version_json"
54 _native_lib_file = 52 _native_lib_file =
55 rebase_path("$root_gen_dir/CHROME_VERSION.json", root_build_dir) 53 rebase_path("$root_gen_dir/CHROME_VERSION.json", root_build_dir)
56 native_lib_version_arg = "@FileArg($_native_lib_file:full-quoted)" 54 native_lib_version_arg = "@FileArg($_native_lib_file:full-quoted)"
57 55
58 extensions_to_not_compress = ".dat,.bin,.pak,.lpak" 56 extensions_to_not_compress = ".dat,.bin,.pak,.lpak"
59 } 57 }
60 58
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
277 ] 275 ]
278 } 276 }
279 277
280 # GYP: //android_webview/android_webview_tests.gypi:libdrawgl 278 # GYP: //android_webview/android_webview_tests.gypi:libdrawgl
281 shared_library("libdrawgl") { 279 shared_library("libdrawgl") {
282 sources = [ 280 sources = [
283 "shell/src/draw_gl/draw_gl.cc", 281 "shell/src/draw_gl/draw_gl.cc",
284 ] 282 ]
285 configs -= [ "//build/config/android:hide_native_jni_exports" ] 283 configs -= [ "//build/config/android:hide_native_jni_exports" ]
286 } 284 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698