Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(123)

Side by Side Diff: device/generic_sensor/public/interfaces/BUILD.gn

Issue 2587883002: Fix ODR violations caused by mojoms being included in multiple components. (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 export_class_attribute = "DEVICE_GENERIC_SENSOR_EXPORT" 8 export_class_attribute = "DEVICE_GENERIC_SENSOR_PUBLIC_EXPORT"
9 export_define = "DEVICE_GENERIC_SENSOR_IMPLEMENTATION=1" 9 export_define = "DEVICE_GENERIC_SENSOR_PUBLIC_IMPLEMENTATION=1"
10 export_header = "device/generic_sensor/generic_sensor_export.h" 10 export_header =
11 "device/generic_sensor/public/cpp/generic_sensor_public_export.h"
11 sources = [ 12 sources = [
12 "sensor.mojom", 13 "sensor.mojom",
13 "sensor_provider.mojom", 14 "sensor_provider.mojom",
14 ] 15 ]
15 } 16 }
OLDNEW
« no previous file with comments | « device/generic_sensor/public/cpp/sensor_reading.h ('k') | third_party/WebKit/Source/core/offscreencanvas/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698