OLD | NEW |
(Empty) | |
| 1 # Copyright 2017 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 # This target contains only those files that are shared by the Device Gamepad |
| 6 # implementation and all Device Gamepad clients, including Blink. Add a file |
| 7 # here only if it meets the following constraints: |
| 8 # (1) It is *necessary* to use the file to consume Device Gamepad (the |
| 9 # current files define structs that are used as a consistent interpretation of |
| 10 # shared memory by the Device Gamepad and its clients). |
| 11 # (2) The file has no dependencies on the STL or Chromium code and will not |
| 12 # grow them over time (the current files are POD structs and will necessarily |
| 13 # stay that way due to their above-described purpose). |
| 14 # Consult {platform-architecture-dev, services-dev}@chromium.org in the case |
| 15 # of any uncertainty. |
| 16 source_set("shared_with_blink") { |
| 17 sources = [ |
| 18 "gamepad.cc", |
| 19 "gamepad.h", |
| 20 "gamepads.h", |
| 21 ] |
| 22 # Do not add deps here per the above comment. |
| 23 } |
OLD | NEW |