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

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

Issue 757803003: Make gn check //mojo/* pass on linux and android (Closed) Base URL: git@github.com:domokit/mojo.git@gn_check_services
Patch Set: PRESUBMIT.py 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 | « PRESUBMIT.py ('k') | mojo/shell/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 import("//build/config/android/rules.gni") 5 import("//build/config/android/rules.gni")
6 6
7 group("android") { 7 group("android") {
8 testonly = true 8 testonly = true
9 deps = [ 9 deps = [
10 ":system_java", 10 ":system_java",
(...skipping 23 matching lines...) Expand all
34 } 34 }
35 35
36 source_set("libsystem_java") { 36 source_set("libsystem_java") {
37 sources = [ 37 sources = [
38 "system/core_impl.cc", 38 "system/core_impl.cc",
39 "system/core_impl.h", 39 "system/core_impl.h",
40 ] 40 ]
41 41
42 deps = [ 42 deps = [
43 ":system_java_jni_headers", 43 ":system_java_jni_headers",
44 "//base",
44 "//mojo/edk/system", 45 "//mojo/edk/system",
45 "//mojo/environment:chromium", 46 "//mojo/environment:chromium",
47 "//mojo/public/cpp/environment",
46 ] 48 ]
47 } 49 }
48 50
49 android_library("system_java") { 51 android_library("system_java") {
50 java_files = [ 52 java_files = [
51 "system/src/org/chromium/mojo/system/impl/CoreImpl.java", 53 "system/src/org/chromium/mojo/system/impl/CoreImpl.java",
52 "system/src/org/chromium/mojo/system/impl/DataPipeConsumerHandleImpl.java", 54 "system/src/org/chromium/mojo/system/impl/DataPipeConsumerHandleImpl.java",
53 "system/src/org/chromium/mojo/system/impl/DataPipeProducerHandleImpl.java", 55 "system/src/org/chromium/mojo/system/impl/DataPipeProducerHandleImpl.java",
54 "system/src/org/chromium/mojo/system/impl/HandleBase.java", 56 "system/src/org/chromium/mojo/system/impl/HandleBase.java",
55 "system/src/org/chromium/mojo/system/impl/MessagePipeHandleImpl.java", 57 "system/src/org/chromium/mojo/system/impl/MessagePipeHandleImpl.java",
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 shared_library("mojo_java_unittests") { 102 shared_library("mojo_java_unittests") {
101 testonly = true 103 testonly = true
102 104
103 sources = [ 105 sources = [
104 "javatests/mojo_test_case.cc", 106 "javatests/mojo_test_case.cc",
105 "javatests/mojo_test_case.h", 107 "javatests/mojo_test_case.h",
106 "javatests/init_library.cc", 108 "javatests/init_library.cc",
107 "javatests/validation_test_util.cc", 109 "javatests/validation_test_util.cc",
108 "javatests/validation_test_util.h", 110 "javatests/validation_test_util.h",
109 ] 111 ]
112
110 deps = [ 113 deps = [
111 ":jni_headers", 114 ":jni_headers",
112 ":libsystem_java", 115 ":libsystem_java",
113 ":system_java_jni_headers", 116 ":system_java_jni_headers",
114 "//base", 117 "//base",
115 "//base/test/:test_support", 118 "//base/test/:test_support",
119 "//mojo/common",
120 "//mojo/edk/system",
116 "//mojo/public/cpp/bindings/tests:mojo_public_bindings_test_utils", 121 "//mojo/public/cpp/bindings/tests:mojo_public_bindings_test_utils",
117 "//mojo/public/cpp/test_support:test_utils", 122 "//mojo/public/cpp/test_support:test_utils",
123 "//mojo/public/cpp/environment",
118 ] 124 ]
119 defines = [ "UNIT_TEST" ] 125 defines = [ "UNIT_TEST" ]
120 126
121 } 127 }
122 128
123 android_apk("mojo_test_apk") { 129 android_apk("mojo_test_apk") {
124 testonly = true 130 testonly = true
125 deps = [ 131 deps = [
126 ":mojo_javatests", 132 ":mojo_javatests",
127 ":mojo_java_unittests", 133 ":mojo_java_unittests",
128 ":system_java", 134 ":system_java",
129 "//base:base_java", 135 "//base:base_java",
130 "//mojo/public/java:bindings", 136 "//mojo/public/java:bindings",
131 "//mojo/public/interfaces/bindings/tests:test_interfaces", 137 "//mojo/public/interfaces/bindings/tests:test_interfaces",
132 ] 138 ]
133 native_libs = [ "libmojo_java_unittests.so" ] 139 native_libs = [ "libmojo_java_unittests.so" ]
134 apk_name = "MojoTest" 140 apk_name = "MojoTest"
135 android_manifest = "javatests/AndroidManifest.xml" 141 android_manifest = "javatests/AndroidManifest.xml"
136 } 142 }
OLDNEW
« no previous file with comments | « PRESUBMIT.py ('k') | mojo/shell/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698