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

Unified Diff: mojo/edk/embedder/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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « examples/device_name/BUILD.gn ('k') | mojo/services/network/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/edk/embedder/BUILD.gn
diff --git a/mojo/edk/embedder/BUILD.gn b/mojo/edk/embedder/BUILD.gn
index 3d808d82ef62373f0e23c671a179b32699fc5ded..d9a6e69f1e7653944e37043dc5442a21b3b9548b 100644
--- a/mojo/edk/embedder/BUILD.gn
+++ b/mojo/edk/embedder/BUILD.gn
@@ -38,9 +38,7 @@ mojo_edk_source_set("embedder") {
":platform",
]
- mojo_sdk_public_deps = [
- "mojo/public/cpp/system",
- ]
+ mojo_sdk_public_deps = [ "mojo/public/cpp/system" ]
deps = [
"//base",
@@ -50,13 +48,9 @@ mojo_edk_source_set("embedder") {
mojo_edk_source_set("platform") {
# This isn't really a standalone target; it must be linked into the
# mojo_system_impl component.
- visibility = [
- ":embedder",
- ]
+ visibility = [ ":embedder" ]
- mojo_edk_visibility = [
- "mojo/edk/system",
- ]
+ mojo_edk_visibility = [ "mojo/edk/system" ]
sources = [
"platform_channel_pair.cc",
@@ -90,6 +84,10 @@ mojo_edk_source_set("platform") {
deps = [
"//base",
]
+
+ if (is_android) {
+ deps += [ "//third_party/ashmem" ]
+ }
}
mojo_edk_source_set("embedder_unittests") {
« no previous file with comments | « examples/device_name/BUILD.gn ('k') | mojo/services/network/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698