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

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

Issue 1410053006: Move third_party/mojo/src/mojo/public to mojo/public (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge Created 5 years, 1 month 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 | « mojo/platform_handle/platform_handle_functions.h ('k') | mojo/public/DEPS » ('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("//mojo/public/mojo.gni")
6
7 group("public") { 5 group("public") {
8 # Meta-target, don't link into production code. 6 # Meta-target, don't link into production code.
9 testonly = true 7 testonly = true
10 deps = [ 8 deps = [
11 ":libmojo_sdk", 9 ":libmojo_sdk",
12 ":sdk", 10 ":sdk",
13 "cpp/bindings", 11 "cpp/bindings",
14 "cpp/environment:standalone", 12 "cpp/environment:standalone",
15 "cpp/utility", 13 "cpp/utility",
16 "interfaces/bindings/tests:test_interfaces", 14 "interfaces/bindings/tests:test_interfaces",
17 ] 15 ]
18 16
19 if (mojo_use_application_in_sdk) {
20 deps += [ "cpp/application:standalone" ]
21 }
22
23 if (is_android) { 17 if (is_android) {
24 deps += [ 18 deps += [
25 "java:system", 19 "java:system",
26 "java:bindings", 20 "java:bindings",
27 ] 21 ]
28 } 22 }
29
30 if (is_android && mojo_use_application_in_sdk) {
31 deps += [ "java:application" ]
32 }
33 } 23 }
34 24
35 group("sdk") { 25 group("sdk") {
36 deps = [ 26 deps = [
37 "c/system", 27 "c/system",
38 "cpp/bindings", 28 "cpp/bindings",
39 "cpp/environment:standalone", 29 "cpp/environment:standalone",
40 "cpp/utility", 30 "cpp/utility",
41 "interfaces/bindings", 31 "interfaces/bindings",
42 "js", 32 "js",
43 ] 33 ]
44
45 if (mojo_use_application_in_sdk) {
46 deps += [
47 "cpp/application:standalone",
48 "interfaces/application",
49 ]
50 }
51
52 if (mojo_use_network_in_sdk) {
53 deps += [ "interfaces/network" ]
54 }
55 } 34 }
56 35
57 static_library("libmojo_sdk") { 36 static_library("libmojo_sdk") {
58 complete_static_lib = true 37 complete_static_lib = true
59 deps = [ 38 deps = [
60 ":sdk", 39 ":sdk",
61 ] 40 ]
62 } 41 }
OLDNEW
« no previous file with comments | « mojo/platform_handle/platform_handle_functions.h ('k') | mojo/public/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698