| OLD | NEW |
| 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") | 5 import("mojo.gni") |
| 6 | 6 |
| 7 group("public") { | 7 group("public") { |
| 8 # Meta-target, don't link into production code. | 8 # Meta-target, don't link into production code. |
| 9 testonly = true | 9 testonly = true |
| 10 deps = [ | 10 deps = [ |
| 11 ":libmojo_sdk", | 11 ":libmojo_sdk", |
| 12 ":sdk", | 12 ":sdk", |
| 13 "//mojo/public/cpp/application:standalone", | 13 "cpp/application:standalone", |
| 14 "//mojo/public/cpp/bindings", | 14 "cpp/bindings", |
| 15 "//mojo/public/cpp/environment:standalone", | 15 "cpp/environment:standalone", |
| 16 "//mojo/public/cpp/utility", | 16 "cpp/utility", |
| 17 "//mojo/public/interfaces/bindings/tests:test_interfaces", | 17 "interfaces/bindings/tests:test_interfaces", |
| 18 "//mojo/public/sky", | 18 "sky", |
| 19 ] | 19 ] |
| 20 | 20 |
| 21 if (is_linux) { | 21 if (is_linux) { |
| 22 deps += [ "//mojo/public/python" ] | 22 deps += [ "python" ] |
| 23 } | |
| 24 | |
| 25 if (mojo_use_dart) { | |
| 26 deps += [ "//mojo/public/dart" ] | |
| 27 } | 23 } |
| 28 | 24 |
| 29 if (is_android) { | 25 if (is_android) { |
| 30 deps += [ | 26 deps += [ |
| 31 "//mojo/public/java:system", | 27 "java:system", |
| 32 "//mojo/public/java:bindings", | 28 "java:bindings", |
| 33 ] | 29 ] |
| 34 } | 30 } |
| 35 } | 31 } |
| 36 | 32 |
| 37 group("sdk") { | 33 group("sdk") { |
| 38 deps = [ | 34 deps = [ |
| 39 "//mojo/public/c/system", | 35 "c/system", |
| 40 "//mojo/public/cpp/application:standalone", | 36 "cpp/application:standalone", |
| 41 "//mojo/public/cpp/bindings", | 37 "cpp/bindings", |
| 42 "//mojo/public/cpp/environment:standalone", | 38 "cpp/environment:standalone", |
| 43 "//mojo/public/cpp/utility", | 39 "cpp/utility", |
| 44 "//mojo/public/interfaces/application", | 40 "interfaces/application", |
| 45 "//mojo/public/js", | 41 "js", |
| 46 ] | 42 ] |
| 47 } | 43 } |
| 48 | 44 |
| 49 static_library("libmojo_sdk") { | 45 static_library("libmojo_sdk") { |
| 50 complete_static_lib = true | 46 complete_static_lib = true |
| 51 deps = [ | 47 deps = [ |
| 52 ":sdk", | 48 ":sdk", |
| 53 ] | 49 ] |
| 54 } | 50 } |
| OLD | NEW |