Home | History | Annotate | Download | only in mojo
      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("//build/config/ui.gni")
      6 
      7 group("mojo") {
      8   # Meta-target, don't link into production code.
      9   testonly = true
     10   deps = [
     11     ":tests",
     12     "//mojo/common",
     13   ]
     14 
     15   if (!(is_linux && current_cpu == "x86")) {
     16     # TODO(GYP): Figure out if this needs to be supported. Right now
     17     # it won't work on x86 official builds because it needs stuff in the
     18     # sysroot that doesn't exist.
     19     deps += [ "//mojo/public" ]
     20   }
     21 
     22   if (is_android) {
     23     deps += [ "//mojo/android" ]
     24   }
     25 
     26   deps += [ "//services/shell:all" ]
     27 }
     28 
     29 group("tests") {
     30   testonly = true
     31   deps = [
     32     "//ipc:ipc_tests",
     33     "//mojo/common:mojo_common_unittests",
     34     "//mojo/converters/blink:blink_converters_unittests",
     35     "//mojo/edk/js/test:js_integration_tests",
     36     "//mojo/edk/js/test:js_unittests",
     37     "//mojo/edk/system:mojo_message_pipe_perftests",
     38     "//mojo/edk/system:mojo_system_unittests",
     39     "//mojo/edk/test:mojo_public_bindings_perftests",
     40     "//mojo/edk/test:mojo_public_bindings_unittests",
     41     "//mojo/edk/test:mojo_public_system_perftests",
     42     "//mojo/edk/test:mojo_public_system_unittests",
     43     "//services/shell/public/cpp/tests:mojo_public_application_unittests",
     44     "//services/shell/runner/host:mojo_runner_host_unittests",
     45     "//services/shell/tests",
     46   ]
     47 }
     48