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

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

Issue 1350023003: Add a Mojo EDK for Chrome that uses one OS pipe per message pipe. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: move to mojo::edk namespace in preparation for runtim flag Created 5 years, 2 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/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 29 matching lines...) Expand all
40 "system/base_run_loop.h", 40 "system/base_run_loop.h",
41 "system/core_impl.cc", 41 "system/core_impl.cc",
42 "system/core_impl.h", 42 "system/core_impl.h",
43 ] 43 ]
44 44
45 deps = [ 45 deps = [
46 ":system_java_jni_headers", 46 ":system_java_jni_headers",
47 "//base", 47 "//base",
48 "//mojo/environment:chromium", 48 "//mojo/environment:chromium",
49 "//mojo/message_pump", 49 "//mojo/message_pump",
50 "//third_party/mojo/src/mojo/edk/system",
51 "//third_party/mojo/src/mojo/public/cpp/environment", 50 "//third_party/mojo/src/mojo/public/cpp/environment",
52 ] 51 ]
52
53 if (use_chrome_edk) {
54 deps += [ "//mojo/edk/system" ]
55 } else {
56 deps += [ "//third_party/mojo/src/mojo/edk/system" ]
57 }
53 } 58 }
54 59
55 android_library("system_java") { 60 android_library("system_java") {
56 java_files = [ 61 java_files = [
57 "system/src/org/chromium/mojo/system/impl/BaseRunLoop.java", 62 "system/src/org/chromium/mojo/system/impl/BaseRunLoop.java",
58 "system/src/org/chromium/mojo/system/impl/CoreImpl.java", 63 "system/src/org/chromium/mojo/system/impl/CoreImpl.java",
59 "system/src/org/chromium/mojo/system/impl/DataPipeConsumerHandleImpl.java", 64 "system/src/org/chromium/mojo/system/impl/DataPipeConsumerHandleImpl.java",
60 "system/src/org/chromium/mojo/system/impl/DataPipeProducerHandleImpl.java", 65 "system/src/org/chromium/mojo/system/impl/DataPipeProducerHandleImpl.java",
61 "system/src/org/chromium/mojo/system/impl/HandleBase.java", 66 "system/src/org/chromium/mojo/system/impl/HandleBase.java",
62 "system/src/org/chromium/mojo/system/impl/MessagePipeHandleImpl.java", 67 "system/src/org/chromium/mojo/system/impl/MessagePipeHandleImpl.java",
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 ] 125 ]
121 126
122 deps = [ 127 deps = [
123 ":jni_headers", 128 ":jni_headers",
124 ":libsystem_java", 129 ":libsystem_java",
125 ":system_java_jni_headers", 130 ":system_java_jni_headers",
126 "//base", 131 "//base",
127 "//base/test/:test_support", 132 "//base/test/:test_support",
128 "//build/config/sanitizers:deps", 133 "//build/config/sanitizers:deps",
129 "//mojo/message_pump", 134 "//mojo/message_pump",
130 "//third_party/mojo/src/mojo/edk/system",
131 "//third_party/mojo/src/mojo/public/cpp/bindings/tests:mojo_public_bindings_ test_utils", 135 "//third_party/mojo/src/mojo/public/cpp/bindings/tests:mojo_public_bindings_ test_utils",
132 "//third_party/mojo/src/mojo/public/cpp/test_support:test_utils", 136 "//third_party/mojo/src/mojo/public/cpp/test_support:test_utils",
133 "//third_party/mojo/src/mojo/public/cpp/environment", 137 "//third_party/mojo/src/mojo/public/cpp/environment",
134 ] 138 ]
139
140 if (use_chrome_edk) {
141 deps += [ "//mojo/edk/system" ]
142 } else {
143 deps += [ "//third_party/mojo/src/mojo/edk/system" ]
144 }
145
135 defines = [ "UNIT_TEST" ] 146 defines = [ "UNIT_TEST" ]
136 } 147 }
137 148
138 android_apk("mojo_test_apk") { 149 android_apk("mojo_test_apk") {
139 testonly = true 150 testonly = true
140 deps = [ 151 deps = [
141 ":mojo_javatests", 152 ":mojo_javatests",
142 ":mojo_java_unittests", 153 ":mojo_java_unittests",
143 ":system_java", 154 ":system_java",
144 "//base:base_java", 155 "//base:base_java",
145 "//third_party/mojo/src/mojo/public/java:bindings", 156 "//third_party/mojo/src/mojo/public/java:bindings",
146 "//third_party/mojo/src/mojo/public/interfaces/bindings/tests:test_interface s", 157 "//third_party/mojo/src/mojo/public/interfaces/bindings/tests:test_interface s",
147 ] 158 ]
148 native_libs = [ "libmojo_java_unittests.so" ] 159 native_libs = [ "libmojo_java_unittests.so" ]
149 apk_name = "MojoTest" 160 apk_name = "MojoTest"
150 android_manifest = "javatests/AndroidManifest.xml" 161 android_manifest = "javatests/AndroidManifest.xml"
151 } 162 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698