| OLD | NEW |
| (Empty) |
| 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 | |
| 3 # found in the LICENSE file. | |
| 4 | |
| 5 import("mojo.gni") | |
| 6 | |
| 7 group("public") { | |
| 8 # Meta-target, don't link into production code. | |
| 9 testonly = true | |
| 10 deps = [ | |
| 11 ":libmojo_sdk", | |
| 12 ":sdk", | |
| 13 "cpp/application:standalone", | |
| 14 "cpp/bindings", | |
| 15 "cpp/environment:standalone", | |
| 16 "cpp/utility", | |
| 17 "interfaces/bindings/tests:test_interfaces", | |
| 18 ] | |
| 19 | |
| 20 if (is_linux && !is_fnl) { | |
| 21 deps += [ | |
| 22 "python", | |
| 23 "tools/bindings", | |
| 24 ] | |
| 25 } | |
| 26 | |
| 27 if (is_android) { | |
| 28 deps += [ | |
| 29 "java:application", | |
| 30 "java:bindings", | |
| 31 "java:system", | |
| 32 ] | |
| 33 } | |
| 34 } | |
| 35 | |
| 36 group("sdk") { | |
| 37 deps = [ | |
| 38 "c:system", | |
| 39 "cpp/application:standalone", | |
| 40 "cpp/bindings", | |
| 41 "cpp/environment:standalone", | |
| 42 "cpp/utility", | |
| 43 "interfaces/application", | |
| 44 "interfaces/bindings", | |
| 45 "js", | |
| 46 ] | |
| 47 | |
| 48 if (mojo_use_network_in_sdk) { | |
| 49 deps += [ "interfaces/network" ] | |
| 50 } | |
| 51 } | |
| 52 | |
| 53 static_library("libmojo_sdk") { | |
| 54 complete_static_lib = true | |
| 55 deps = [ | |
| 56 ":sdk", | |
| 57 ] | |
| 58 } | |
| 59 | |
| 60 # "Forwarding" target, to make it easy to put gtest wherever you want. | |
| 61 # TODO(vtl): Maybe this should be parametrized and made into | |
| 62 # //build/module_args/mojo.gni (but maybe that's overkill). | |
| 63 group("gtest") { | |
| 64 testonly = true | |
| 65 public_deps = [ | |
| 66 "//testing/gtest", | |
| 67 ] | |
| 68 } | |
| OLD | NEW |