Commit 5e963c0c authored by Ken Rockot's avatar Ken Rockot Committed by Commit Bot

Migrate //cc typemap to GN

Bug: 1059389
Change-Id: I8989970d5f39444a615bd84267aea7e8641caa65
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2108607Reviewed-by: default avatardanakj <danakj@chromium.org>
Reviewed-by: default avatarTom Sepez <tsepez@chromium.org>
Commit-Queue: Ken Rockot <rockot@google.com>
Cr-Commit-Position: refs/heads/master@{#751453}
parent 8ce3e451
...@@ -9,4 +9,18 @@ mojom("mojom") { ...@@ -9,4 +9,18 @@ mojom("mojom") {
sources = [ "touch_action.mojom" ] sources = [ "touch_action.mojom" ]
public_deps = [ "//mojo/public/mojom/base" ] public_deps = [ "//mojo/public/mojom/base" ]
touch_action_typemap = {
types = [
{
mojom = "cc.mojom.TouchAction"
cpp = "::cc::TouchAction"
},
]
traits_headers = [ "//cc/ipc/cc_param_traits_macros.h" ]
traits_public_deps = [ "//cc/ipc" ]
}
cpp_typemaps = [ touch_action_typemap ]
blink_cpp_typemaps = [ touch_action_typemap ]
} }
per-file *.mojom=set noparent per-file *.mojom=set noparent
per-file *.mojom=file://ipc/SECURITY_OWNERS per-file *.mojom=file://ipc/SECURITY_OWNERS
per-file *.typemap=set noparent
per-file *.typemap=file://ipc/SECURITY_OWNERS
# Copyright 2019 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
mojom = "//cc/mojom/touch_action.mojom"
public_headers = [ "//cc/input/touch_action.h" ]
traits_headers = [ "//cc/ipc/cc_param_traits_macros.h" ]
public_deps = [
"//cc",
"//cc/ipc",
]
type_mappings = [ "cc.mojom.TouchAction=::cc::TouchAction" ]
# Copyright 2019 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
typemaps = [ "//cc/mojom/touch_action.typemap" ]
...@@ -7,7 +7,6 @@ variant = "blink" ...@@ -7,7 +7,6 @@ variant = "blink"
for_blink = true for_blink = true
_typemap_imports = [ _typemap_imports = [
"//cc/typemaps.gni",
"//device/gamepad/public/cpp/typemaps.gni", "//device/gamepad/public/cpp/typemaps.gni",
"//device/vr/public/mojom/blink_typemaps.gni", "//device/vr/public/mojom/blink_typemaps.gni",
"//media/learning/mojo/public/cpp/typemaps.gni", "//media/learning/mojo/public/cpp/typemaps.gni",
......
...@@ -3,7 +3,6 @@ ...@@ -3,7 +3,6 @@
# found in the LICENSE file. # found in the LICENSE file.
_typemap_imports = [ _typemap_imports = [
"//cc/typemaps.gni",
"//chrome/chrome_cleaner/mojom/typemaps/typemaps.gni", "//chrome/chrome_cleaner/mojom/typemaps/typemaps.gni",
"//chrome/common/importer/typemaps.gni", "//chrome/common/importer/typemaps.gni",
"//chrome/common/media_router/mojom/typemaps.gni", "//chrome/common/media_router/mojom/typemaps.gni",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment