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

Side by Side Diff: mojo/services/network/BUILD.gn

Issue 808703005: Run gn check for an android build on presubmit (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Rebase Created 6 years 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 | « mojo/edk/embedder/BUILD.gn ('k') | no next file » | 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 import("//mojo/public/mojo_application.gni") 5 import("//mojo/public/mojo_application.gni")
6 6
7 if (is_android) { 7 if (is_android) {
8 import("//build/config/android/rules.gni") 8 import("//build/config/android/rules.gni")
9 9
10 java_library_path = "$target_out_dir/java_library.dex.jar" 10 java_library_path = "$target_out_dir/java_library.dex.jar"
11 11
12 mojo_android_application("network") { 12 mojo_android_application("network") {
13 output_name = "network_service" 13 output_name = "network_service"
14 input_so = "$root_out_dir/lib.stripped/libnetwork_service.so" 14 input_so = "$root_out_dir/lib.stripped/libnetwork_service.so"
15 input_dex_jar = java_library_path 15 input_dex_jar = java_library_path
16 } 16 }
17 17
18 shared_library("native_library") { 18 shared_library("native_library") {
19 output_name = "network_service" 19 output_name = "network_service"
20 20
21 sources = [ 21 sources = [
22 "android_hooks.cc", 22 "android_hooks.cc",
23 ] 23 ]
24 24
25 deps = [ 25 deps = [
26 ":sources", 26 ":sources",
27 "//base",
28 "//net",
27 ] 29 ]
28 } 30 }
29 31
30 android_standalone_library("java_library") { 32 android_standalone_library("java_library") {
31 dex_path = java_library_path 33 dex_path = java_library_path
32 34
33 deps = [ 35 deps = [
34 "//net/android:net_java", 36 "//net/android:net_java",
35 ] 37 ]
36 } 38 }
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 "//mojo/common", 121 "//mojo/common",
120 "//mojo/public/cpp/bindings", 122 "//mojo/public/cpp/bindings",
121 "//mojo/public/cpp/bindings:callback", 123 "//mojo/public/cpp/bindings:callback",
122 "//mojo/services/network/public/cpp", 124 "//mojo/services/network/public/cpp",
123 "//mojo/services/network/public/interfaces", 125 "//mojo/services/network/public/interfaces",
124 "//net", 126 "//net",
125 "//net:test_support", 127 "//net:test_support",
126 "//testing/gtest", 128 "//testing/gtest",
127 ] 129 ]
128 } 130 }
OLDNEW
« no previous file with comments | « mojo/edk/embedder/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698