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 'targets': [ | 6 'targets': [ |
7 { | 7 { |
8 # GN version: //content/common:mojo_bindings | 8 # GN version: //content/common:mojo_bindings |
9 'target_name': 'content_common_mojo_bindings_mojom', | 9 'target_name': 'content_common_mojo_bindings_mojom', |
10 'type': 'none', | 10 'type': 'none', |
(...skipping 15 matching lines...) Expand all Loading... | |
26 | 26 |
27 # NOTE: Sources duplicated in | 27 # NOTE: Sources duplicated in |
28 # //content/public/common/BUILD.gn:mojo_bindings. | 28 # //content/public/common/BUILD.gn:mojo_bindings. |
29 'public/common/background_sync.mojom', | 29 'public/common/background_sync.mojom', |
30 'public/common/mojo_geoposition.mojom', | 30 'public/common/mojo_geoposition.mojom', |
31 'public/common/permission_status.mojom', | 31 'public/common/permission_status.mojom', |
32 'public/common/service_worker_event_status.mojom', | 32 'public/common/service_worker_event_status.mojom', |
33 ], | 33 ], |
34 }, | 34 }, |
35 'includes': [ '../third_party/mojo/mojom_bindings_generator_explicit.gypi' ], | 35 'includes': [ '../third_party/mojo/mojom_bindings_generator_explicit.gypi' ], |
36 'conditions': [ | |
37 ['OS!="ios"', { | |
38 'dependencies': [ | |
39 'content_web_usb_permission_request_mojo_bindings_mojom', | |
40 ], | |
41 }], | |
42 ], | |
36 }, | 43 }, |
37 { | 44 { |
38 'target_name': 'content_common_mojo_bindings', | 45 'target_name': 'content_common_mojo_bindings', |
39 'type': 'static_library', | 46 'type': 'static_library', |
40 'variables': { 'enable_wexit_time_destructors': 1, }, | 47 'variables': { 'enable_wexit_time_destructors': 1, }, |
41 'dependencies': [ | 48 'dependencies': [ |
42 'content_common_mojo_bindings_mojom', | 49 'content_common_mojo_bindings_mojom', |
43 '../mojo/mojo_base.gyp:mojo_application_bindings', | 50 '../mojo/mojo_base.gyp:mojo_application_bindings', |
44 '../mojo/mojo_base.gyp:mojo_environment_chromium', | 51 '../mojo/mojo_base.gyp:mojo_environment_chromium', |
45 '../skia/skia.gyp:skia_mojo', | 52 '../skia/skia.gyp:skia_mojo', |
46 '../third_party/mojo/mojo_public.gyp:mojo_cpp_bindings', | 53 '../third_party/mojo/mojo_public.gyp:mojo_cpp_bindings', |
47 '../ui/mojo/geometry/mojo_bindings.gyp:mojo_geometry_bindings', | 54 '../ui/mojo/geometry/mojo_bindings.gyp:mojo_geometry_bindings', |
48 ] | 55 ], |
56 'conditions': [ | |
57 ['OS!="ios"', { | |
58 'dependencies': [ | |
59 'content_web_usb_permission_request_mojo_bindings', | |
60 ], | |
61 }], | |
62 ], | |
63 }, | |
64 { | |
65 'target_name': 'content_web_usb_permission_request_mojo_bindings_mojom', | |
jam
2016/01/29 17:58:53
why are you adding new targets instead of using th
jam
2016/02/26 21:40:11
just add a comment that says you're adding this on
| |
66 'type': 'none', | |
67 'conditions': [ | |
68 ['OS!="ios"', { | |
69 'variables': { | |
70 'mojom_files': [ | |
71 'public/common/web_usb_permission_request.mojom', | |
72 ], | |
73 'dependencies': [ | |
74 '../device/devices_app/devices_app.gyp:device_usb_mojo_bindings', | |
75 ], | |
76 }, | |
77 'includes': [ | |
78 '../third_party/mojo/mojom_bindings_generator_explicit.gypi', | |
79 ], | |
80 }], | |
81 ], | |
82 }, | |
83 { | |
84 'target_name': 'content_web_usb_permission_request_mojo_bindings', | |
85 'type': 'static_library', | |
86 'conditions': [ | |
87 ['OS!="ios"', { | |
88 'dependencies': [ | |
89 'content_web_usb_permission_request_mojo_bindings_mojom', | |
90 '../device/devices_app/devices_app.gyp:device_usb_mojo_bindings_lib' , | |
91 ], | |
92 }], | |
93 ], | |
49 }, | 94 }, |
50 ] | 95 ] |
51 } | 96 } |
OLD | NEW |