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

Unified Diff: sky/services/intents/BUILD.gn

Issue 1213623008: Back button should be able to close apps (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: fix tests Created 5 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sky/sdk/lib/widgets/widget.dart ('k') | sky/services/intents/intents.mojom » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/services/intents/BUILD.gn
diff --git a/sky/services/intents/BUILD.gn b/sky/services/intents/BUILD.gn
index 50470973cef2ad45a4a5a00c84b30acaaf54af32..52bf6692fbbff7aa8c1536cbf5af3dabf01f86d0 100644
--- a/sky/services/intents/BUILD.gn
+++ b/sky/services/intents/BUILD.gn
@@ -2,28 +2,34 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-import("//build/config/android/config.gni")
-import("//build/config/android/rules.gni")
import("//mojo/public/tools/bindings/mojom.gni")
group("intents") {
testonly = true
deps = [
- ":intents_lib",
":interfaces",
]
+
+ if (is_android) {
+ deps += [ ":intents_lib" ]
+ }
}
-android_library("intents_lib") {
- java_files = [ "src/org/domokit/intents/ActivityManagerImpl.java" ]
+if (is_android) {
+ import("//build/config/android/config.gni")
+ import("//build/config/android/rules.gni")
- deps = [
- "//base:base_java",
- "//mojo/public/java:bindings",
- "//mojo/public/java:system",
- ":interfaces_java",
- ]
+ android_library("intents_lib") {
+ java_files = [ "src/org/domokit/intents/ActivityManagerImpl.java" ]
+
+ deps = [
+ "//base:base_java",
+ "//mojo/public/java:bindings",
+ "//mojo/public/java:system",
+ ":interfaces_java",
+ ]
+ }
}
mojom("interfaces") {
« no previous file with comments | « sky/sdk/lib/widgets/widget.dart ('k') | sky/services/intents/intents.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698