Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / device / serial / serial.gyp
index f2110da..1e0d05e 100644 (file)
@@ -18,8 +18,9 @@
         '../../mojo/public/tools/bindings/mojom_bindings_generator.gypi',
       ],
       'sources': [
-        'serial.mojom',
         'data_stream.mojom',
+        'data_stream_serialization.mojom',
+        'serial.mojom',
       ],
     },
     {
       'target_name': 'device_serial',
       'type': 'static_library',
       'conditions': [
-        ['OS=="linux"', {
+        ['use_udev == 1', {
           'dependencies': [
             '../../build/linux/system.gyp:udev',
           ],
+        }, {
+          'sources!': [
+            'serial_device_enumerator_linux.cc',
+            'serial_device_enumerator_linux.h',
+          ],
         }],
       ],
       'dependencies': [
@@ -45,6 +51,8 @@
       'sources': [
         '<(SHARED_INTERMEDIATE_DIR)/device/serial/data_stream.mojom.cc',
         '<(SHARED_INTERMEDIATE_DIR)/device/serial/data_stream.mojom.h',
+        '<(SHARED_INTERMEDIATE_DIR)/device/serial/data_stream_serialization.mojom.cc',
+        '<(SHARED_INTERMEDIATE_DIR)/device/serial/data_stream_serialization.mojom.h',
         '<(SHARED_INTERMEDIATE_DIR)/device/serial/serial.mojom.cc',
         '<(SHARED_INTERMEDIATE_DIR)/device/serial/serial.mojom.h',
         'async_waiter.cc',
         'buffer.h',
         'data_receiver.cc',
         'data_receiver.h',
+        'data_sender.cc',
+        'data_sender.h',
+        'data_sink_receiver.cc',
+        'data_sink_receiver.h',
         'data_source_sender.cc',
         'data_source_sender.h',
         'serial_connection.cc',