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

Side by Side Diff: sky/services/media/BUILD.gn

Issue 1227973002: Build skyx packages by default (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: typo 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 unified diff | Download patch
« no previous file with comments | « sky/services/engine/BUILD.gn ('k') | sky/services/testing/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 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 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/config.gni")
6 import("//build/config/android/rules.gni")
7 import("//mojo/public/tools/bindings/mojom.gni") 5 import("//mojo/public/tools/bindings/mojom.gni")
8 6
9 group("media") { 7 group("media") {
10 testonly = true 8 testonly = true
11 9
12 deps = [ 10 deps = [
13 ":media_lib",
14 ":interfaces", 11 ":interfaces",
15 ] 12 ]
16 }
17 13
18 android_library("media_lib") { 14 if (is_android) {
19 java_files = [ 15 deps += [ ":media_lib" ]
20 "src/org/domokit/media/MediaPlayerImpl.java", 16 }
21 "src/org/domokit/media/MediaServiceImpl.java",
22 ]
23
24 deps = [
25 "//base:base_java",
26 "//mojo/java",
27 "//mojo/public/java:bindings",
28 "//mojo/public/java:system",
29 ":interfaces_java",
30 ]
31 } 17 }
32 18
33 mojom("interfaces") { 19 mojom("interfaces") {
34 sources = [ 20 sources = [
35 "media.mojom", 21 "media.mojom",
36 ] 22 ]
37 } 23 }
24
25 if (is_android) {
26 import("//build/config/android/config.gni")
27 import("//build/config/android/rules.gni")
28
29 android_library("media_lib") {
30 java_files = [
31 "src/org/domokit/media/MediaPlayerImpl.java",
32 "src/org/domokit/media/MediaServiceImpl.java",
33 ]
34
35 deps = [
36 "//base:base_java",
37 "//mojo/java",
38 "//mojo/public/java:bindings",
39 "//mojo/public/java:system",
40 ":interfaces_java",
41 ]
42 }
43 }
OLDNEW
« no previous file with comments | « sky/services/engine/BUILD.gn ('k') | sky/services/testing/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698