Home | History | Annotate | Download | only in common
      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 mojom = "//mojo/common/time.mojom"
      6 public_headers = [ "//base/time/time.h" ]
      7 traits_headers = [
      8   "//ipc/ipc_message_utils.h",
      9   "//mojo/common/common_custom_types_struct_traits.h",
     10 ]
     11 public_deps = [
     12   "//ipc",
     13   "//mojo/common:struct_traits",
     14 ]
     15 
     16 type_mappings = [
     17   "mojo.common.mojom.Time=base::Time[copyable_pass_by_value]",
     18   "mojo.common.mojom.TimeDelta=base::TimeDelta[copyable_pass_by_value]",
     19   "mojo.common.mojom.TimeTicks=base::TimeTicks[copyable_pass_by_value]",
     20 ]
     21