| 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/public/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 "//mojo/public/cpp/application:standalone", |
| 14 "//mojo/public/cpp/bindings", | 14 "//mojo/public/cpp/bindings", |
| 15 "//mojo/public/cpp/environment:standalone", | 15 "//mojo/public/cpp/environment:standalone", |
| 16 "//mojo/public/cpp/utility", | 16 "//mojo/public/cpp/utility", |
| 17 "//mojo/public/interfaces/bindings/tests:test_interfaces", | 17 "//mojo/public/interfaces/bindings/tests:test_interfaces", |
| 18 "//mojo/public/sky", | 18 "//mojo/public/sky", |
| 19 ] | 19 ] |
| 20 | 20 |
| 21 if (is_linux) { | 21 if (is_linux) { |
| 22 deps += [ | 22 deps += [ "//mojo/public/python" ] |
| 23 "//mojo/public/python", | |
| 24 ] | |
| 25 } | 23 } |
| 26 | 24 |
| 27 if (mojo_use_dart) { | 25 if (mojo_use_dart) { |
| 28 deps += [ | 26 deps += [ "//mojo/public/dart" ] |
| 29 "//mojo/public/dart", | |
| 30 ] | |
| 31 } | 27 } |
| 32 | 28 |
| 33 if (is_android) { | 29 if (is_android) { |
| 34 deps += [ | 30 deps += [ |
| 35 "//mojo/public/java:system", | 31 "//mojo/public/java:system", |
| 36 "//mojo/public/java:bindings", | 32 "//mojo/public/java:bindings", |
| 37 ] | 33 ] |
| 38 } | 34 } |
| 39 } | 35 } |
| 40 | 36 |
| 41 group("sdk") { | 37 group("sdk") { |
| 42 deps = [ | 38 deps = [ |
| 43 "//mojo/public/c/system", | 39 "//mojo/public/c/system", |
| 44 "//mojo/public/cpp/application:standalone", | 40 "//mojo/public/cpp/application:standalone", |
| 45 "//mojo/public/cpp/bindings", | 41 "//mojo/public/cpp/bindings", |
| 46 "//mojo/public/cpp/environment:standalone", | 42 "//mojo/public/cpp/environment:standalone", |
| 47 "//mojo/public/cpp/utility", | 43 "//mojo/public/cpp/utility", |
| 48 "//mojo/public/interfaces/application", | 44 "//mojo/public/interfaces/application", |
| 49 "//mojo/public/js", | 45 "//mojo/public/js", |
| 50 ] | 46 ] |
| 51 } | 47 } |
| 52 | 48 |
| 53 static_library("libmojo_sdk") { | 49 static_library("libmojo_sdk") { |
| 54 complete_static_lib = true | 50 complete_static_lib = true |
| 55 deps = [ ":sdk" ] | 51 deps = [ |
| 52 ":sdk", |
| 53 ] |
| 56 } | 54 } |
| OLD | NEW |