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 component("mojo") {
      6   sources = [
      7     "ipc_channel_mojo.cc",
      8     "ipc_channel_mojo.h",
      9     "ipc_channel_mojo_host.cc",
     10     "ipc_channel_mojo_host.h",
     11     "ipc_channel_mojo_readers.cc",
     12     "ipc_channel_mojo_readers.h",
     13     "ipc_mojo_bootstrap.cc",
     14     "ipc_mojo_bootstrap.h",
     15     "ipc_message_pipe_reader.cc",
     16     "ipc_message_pipe_reader.h",
     17   ]
     18 
     19   defines = [ "IPC_MOJO_IMPLEMENTATION" ]
     20 
     21   deps = [
     22     "//base",
     23     "//base/third_party/dynamic_annotations",
     24     "//ipc",
     25     "//mojo/environment:chromium",
     26     "//mojo/public/cpp/bindings",
     27     "//mojo/system",
     28   ]
     29 }
     30 
     31 test("ipc_mojo_unittests") {
     32   sources = [
     33     "ipc_channel_mojo_unittest.cc",
     34     "ipc_mojo_bootstrap_unittest.cc",
     35     "run_all_unittests.cc",
     36   ]
     37 
     38   deps = [
     39     "//base",
     40     "//base/test:test_support",
     41     "//base/third_party/dynamic_annotations",
     42     "//ipc",
     43     "//ipc:test_support",
     44     "//ipc/mojo",
     45     "//mojo/environment:chromium",
     46     "//mojo/system",
     47     "//url",
     48   ]
     49 }
     50 
     51 test("ipc_mojo_perftests") {
     52   sources = [
     53     "ipc_mojo_perftest.cc",
     54   ]
     55 
     56   deps = [
     57     "//base",
     58     "//base/test:test_support",
     59     "//base/test:test_support_perf",
     60     "//base/third_party/dynamic_annotations",
     61     "//ipc",
     62     "//ipc:test_support",
     63     "//ipc/mojo",
     64     "//mojo/environment:chromium",
     65     "//mojo/system",
     66     "//url",
     67   ]
     68 }
     69