| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 { | 5 { |
| 6 'variables': { | 6 'variables': { |
| 7 'chromium_code': 1, | 7 'chromium_code': 1, |
| 8 }, | 8 }, |
| 9 'targets': [ | 9 'targets': [ |
| 10 { | 10 { |
| 11 'target_name': 'device_serial', | 11 'target_name': 'device_serial', |
| 12 'type': 'static_library', | 12 'type': 'static_library', |
| 13 'include_dirs': [ | 13 'include_dirs': [ |
| 14 '../..', | 14 '../..', |
| 15 ], | 15 ], |
| 16 'conditions': [ | 16 'conditions': [ |
| 17 ['OS=="linux"', { | 17 ['OS=="linux"', { |
| 18 'dependencies': [ | 18 'dependencies': [ |
| 19 '../../build/linux/system.gyp:udev', | 19 '../../build/linux/system.gyp:udev', |
| 20 ], | 20 ], |
| 21 }], | 21 }], |
| 22 ], | 22 ], |
| 23 'variables': { |
| 24 'mojom_base_output_dir': 'device/serial', |
| 25 }, |
| 26 'includes': [ |
| 27 '../../mojo/public/tools/bindings/mojom_bindings_generator.gypi', |
| 28 ], |
| 23 'sources': [ | 29 'sources': [ |
| 30 'serial.mojom', |
| 24 'serial_device_enumerator.cc', | 31 'serial_device_enumerator.cc', |
| 25 'serial_device_enumerator.h', | 32 'serial_device_enumerator.h', |
| 26 'serial_device_enumerator_linux.cc', | 33 'serial_device_enumerator_linux.cc', |
| 27 'serial_device_enumerator_linux.h', | 34 'serial_device_enumerator_linux.h', |
| 28 'serial_device_enumerator_mac.cc', | 35 'serial_device_enumerator_mac.cc', |
| 29 'serial_device_enumerator_mac.h', | 36 'serial_device_enumerator_mac.h', |
| 30 'serial_device_enumerator_win.cc', | 37 'serial_device_enumerator_win.cc', |
| 31 'serial_device_enumerator_win.h', | 38 'serial_device_enumerator_win.h', |
| 32 'serial_device_info.cc', | |
| 33 'serial_device_info.h', | |
| 34 ], | 39 ], |
| 35 }, | 40 }, |
| 36 ], | 41 ], |
| 37 } | 42 } |
| OLD | NEW |