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

Side by Side Diff: device/generic_sensor/public/cpp/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 component("cpp") { 5 component("cpp") {
6 sources = [ 6 sources = [
7 "platform_sensor_configuration.cc", 7 "platform_sensor_configuration.cc",
8 "platform_sensor_configuration.h", 8 "platform_sensor_configuration.h",
9 "sensor_reading.cc", 9 "sensor_reading.cc",
10 "sensor_reading.h", 10 "sensor_reading.h",
11 ] 11 ]
12 12
13 defines = [ "DEVICE_GENERIC_SENSOR_IMPLEMENTATION" ] 13 defines = [ "DEVICE_GENERIC_SENSOR_PUBLIC_IMPLEMENTATION" ]
14
15 public_deps = [
16 "//device/generic_sensor/public/interfaces",
17 ]
14 18
15 deps = [ 19 deps = [
16 "//base", 20 "//base",
17 "//device/base/synchronization", 21 "//device/base/synchronization",
18 "//device/generic_sensor/public/interfaces",
19 ] 22 ]
20 } 23 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698