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

Side by Side Diff: device/serial/serial.gyp

Issue 1410053006: Move third_party/mojo/src/mojo/public to mojo/public (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge Created 5 years, 1 month 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 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 # GN version: //device/serial:serial_mojo 11 # GN version: //device/serial:serial_mojo
12 'target_name': 'device_serial_mojo', 12 'target_name': 'device_serial_mojo',
13 # The type of this target must be none. This is so that resources can 13 # The type of this target must be none. This is so that resources can
14 # depend upon this target for generating the js bindings files. Any 14 # depend upon this target for generating the js bindings files. Any
15 # generated cpp files must be listed explicitly in device_serial 15 # generated cpp files must be listed explicitly in device_serial
16 'type': 'none', 16 'type': 'none',
17 'includes': [ 17 'includes': [
18 '../../third_party/mojo/mojom_bindings_generator.gypi', 18 '../../mojo/mojom_bindings_generator.gypi',
19 ], 19 ],
20 'sources': [ 20 'sources': [
21 'data_stream.mojom', 21 'data_stream.mojom',
22 'data_stream_serialization.mojom', 22 'data_stream_serialization.mojom',
23 'serial.mojom', 23 'serial.mojom',
24 'serial_serialization.mojom', 24 'serial_serialization.mojom',
25 ], 25 ],
26 }, 26 },
27 { 27 {
28 # GN version: //device/serial 28 # GN version: //device/serial
29 'target_name': 'device_serial', 29 'target_name': 'device_serial',
30 'type': 'static_library', 30 'type': 'static_library',
31 'conditions': [ 31 'conditions': [
32 ['use_udev == 1', { 32 ['use_udev == 1', {
33 'dependencies': [ 33 'dependencies': [
34 '../udev_linux/udev.gyp:udev_linux', 34 '../udev_linux/udev.gyp:udev_linux',
35 ], 35 ],
36 }, { 36 }, {
37 'sources!': [ 37 'sources!': [
38 'serial_device_enumerator_linux.cc', 38 'serial_device_enumerator_linux.cc',
39 'serial_device_enumerator_linux.h', 39 'serial_device_enumerator_linux.h',
40 ], 40 ],
41 }], 41 }],
42 ], 42 ],
43 'dependencies': [ 43 'dependencies': [
44 'device_serial_mojo', 44 'device_serial_mojo',
45 '../../net/net.gyp:net', 45 '../../net/net.gyp:net',
46 '../../third_party/mojo/mojo_public.gyp:mojo_cpp_bindings', 46 '../../mojo/mojo_public.gyp:mojo_cpp_bindings',
47 '../../third_party/re2/re2.gyp:re2', 47 '../../third_party/re2/re2.gyp:re2',
48 ], 48 ],
49 'export_dependent_settings': [ 49 'export_dependent_settings': [
50 'device_serial_mojo', 50 'device_serial_mojo',
51 '../../third_party/mojo/mojo_public.gyp:mojo_cpp_bindings', 51 '../../mojo/mojo_public.gyp:mojo_cpp_bindings',
52 ], 52 ],
53 'sources': [ 53 'sources': [
54 '<(SHARED_INTERMEDIATE_DIR)/device/serial/data_stream.mojom.cc', 54 '<(SHARED_INTERMEDIATE_DIR)/device/serial/data_stream.mojom.cc',
55 '<(SHARED_INTERMEDIATE_DIR)/device/serial/data_stream.mojom.h', 55 '<(SHARED_INTERMEDIATE_DIR)/device/serial/data_stream.mojom.h',
56 '<(SHARED_INTERMEDIATE_DIR)/device/serial/data_stream_serialization.mojo m.cc', 56 '<(SHARED_INTERMEDIATE_DIR)/device/serial/data_stream_serialization.mojo m.cc',
57 '<(SHARED_INTERMEDIATE_DIR)/device/serial/data_stream_serialization.mojo m.h', 57 '<(SHARED_INTERMEDIATE_DIR)/device/serial/data_stream_serialization.mojo m.h',
58 '<(SHARED_INTERMEDIATE_DIR)/device/serial/serial.mojom.cc', 58 '<(SHARED_INTERMEDIATE_DIR)/device/serial/serial.mojom.cc',
59 '<(SHARED_INTERMEDIATE_DIR)/device/serial/serial.mojom.h', 59 '<(SHARED_INTERMEDIATE_DIR)/device/serial/serial.mojom.h',
60 '<(SHARED_INTERMEDIATE_DIR)/device/serial/serial_serialization.mojom.cc' , 60 '<(SHARED_INTERMEDIATE_DIR)/device/serial/serial_serialization.mojom.cc' ,
61 '<(SHARED_INTERMEDIATE_DIR)/device/serial/serial_serialization.mojom.h', 61 '<(SHARED_INTERMEDIATE_DIR)/device/serial/serial_serialization.mojom.h',
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 'device_serial', 99 'device_serial',
100 'device_serial_mojo', 100 'device_serial_mojo',
101 ], 101 ],
102 'sources': [ 102 'sources': [
103 'test_serial_io_handler.cc', 103 'test_serial_io_handler.cc',
104 'test_serial_io_handler.h', 104 'test_serial_io_handler.h',
105 ], 105 ],
106 }, 106 },
107 ], 107 ],
108 } 108 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698