base: Change DCHECK_IS_ON to a macro DCHECK_IS_ON().
[chromium-blink-merge.git] / mojo / public / BUILD.gn
blob33e05c62a4b8b5ba0b7e99ac0405d48cc4e7d266
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.
5 import("mojo.gni")
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     "sky",
19   ]
21   if (is_linux) {
22     deps += [ "python" ]
23   }
25   if (is_android) {
26     deps += [
27       "java:system",
28       "java:bindings",
29     ]
30   }
33 group("sdk") {
34   deps = [
35     "c/system",
36     "cpp/application:standalone",
37     "cpp/bindings",
38     "cpp/environment:standalone",
39     "cpp/utility",
40     "interfaces/application",
41     "js",
42   ]
45 static_library("libmojo_sdk") {
46   complete_static_lib = true
47   deps = [
48     ":sdk",
49   ]