Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 import("//mojo/public/tools/bindings/mojom.gni") | 5 import("//mojo/public/tools/bindings/mojom.gni") |
| 6 | 6 |
| 7 mojom("interfaces") { | 7 mojom("interfaces") { |
| 8 visibility = [ "//device/generic_sensor/public/cpp" ] | |
|
Reilly Grant (use Gerrit)
2017/05/22 20:29:46
The way device/generic_sensor/public/cpp/BUILD.gn
juncai
2017/05/23 02:30:24
Done.
| |
| 9 visibility_blink = [ "//third_party/WebKit/Source/*" ] | 8 visibility_blink = [ "//third_party/WebKit/Source/*" ] |
| 10 component_output_prefix = "generic_sensor_public_interfaces" | 9 component_output_prefix = "generic_sensor_public_interfaces" |
| 11 export_class_attribute = "DEVICE_GENERIC_SENSOR_PUBLIC_EXPORT" | 10 export_class_attribute = "DEVICE_GENERIC_SENSOR_PUBLIC_EXPORT" |
| 12 export_define = "DEVICE_GENERIC_SENSOR_PUBLIC_IMPLEMENTATION=1" | 11 export_define = "DEVICE_GENERIC_SENSOR_PUBLIC_IMPLEMENTATION=1" |
| 13 export_header = | 12 export_header = |
| 14 "device/generic_sensor/public/cpp/generic_sensor_public_export.h" | 13 "device/generic_sensor/public/cpp/generic_sensor_public_export.h" |
| 15 sources = [ | 14 sources = [ |
| 16 "sensor.mojom", | 15 "sensor.mojom", |
| 17 "sensor_provider.mojom", | 16 "sensor_provider.mojom", |
| 18 ] | 17 ] |
| 19 | 18 |
| 20 # TODO(crbug.com/714018): Convert the implementation to use OnceCallback. | 19 # TODO(crbug.com/714018): Convert the implementation to use OnceCallback. |
| 21 use_once_callback = false | 20 use_once_callback = false |
| 22 } | 21 } |
| OLD | NEW |