Home | History | Annotate | Download | only in mojo
      1 # Copyright 2016 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/public/tools/bindings/mojom.gni")
      6 
      7 # This target does NOT depend on skia. One can depend on this target to avoid
      8 # picking up a dependency on skia.
      9 mojom("mojo") {
     10   sources = [
     11     "range.mojom",
     12   ]
     13 }
     14 
     15 mojom("test_interfaces") {
     16   sources = [
     17     "range_traits_test_service.mojom",
     18   ]
     19 
     20   public_deps = [
     21     ":mojo",
     22   ]
     23 }
     24 
     25 source_set("unit_test") {
     26   testonly = true
     27 
     28   sources = [
     29     "range_struct_traits_unittest.cc",
     30   ]
     31 
     32   deps = [
     33     ":test_interfaces",
     34     "//base",
     35     "//mojo/public/cpp/bindings",
     36     "//testing/gtest",
     37     "//ui/gfx/range",
     38   ]
     39 }
     40 
     41 source_set("struct_traits") {
     42   sources = [
     43     "range_struct_traits.h",
     44   ]
     45   public_deps = [
     46     ":mojo_shared_cpp_sources",
     47     "//ui/gfx/range",
     48   ]
     49 }
     50