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 # Essential components (and their tests) that are needed to build | 5 # Essential components (and their tests) that are needed to build |
6 # Chrome should be here. Other components that are useful only in | 6 # Chrome should be here. Other components that are useful only in |
7 # Mojo land like mojo_shell should be in mojo.gyp. | 7 # Mojo land like mojo_shell should be in mojo.gyp. |
8 { | 8 { |
9 'includes': [ | 9 'variables': { |
10 'mojo_variables.gypi', | 10 'chromium_code': 1, |
11 ], | 11 }, |
12 'targets': [ | 12 'targets': [ |
13 { | 13 { |
14 'target_name': 'mojo_base', | 14 'target_name': 'mojo_base', |
15 'type': 'none', | 15 'type': 'none', |
16 'dependencies': [ | 16 'dependencies': [ |
17 # NOTE: If adding a new dependency here, please consider whether it | 17 # NOTE: If adding a new dependency here, please consider whether it |
18 # should also be added to the list of Mojo-related dependencies of | 18 # should also be added to the list of Mojo-related dependencies of |
19 # build/all.gyp:All on iOS, as All cannot depend on the mojo_base | 19 # build/all.gyp:All on iOS, as All cannot depend on the mojo_base |
20 # target on iOS due to the presence of the js targets, which cause v8 | 20 # target on iOS due to the presence of the js targets, which cause v8 |
21 # to be built. | 21 # to be built. |
(...skipping 16 matching lines...) Expand all Loading... |
38 { | 38 { |
39 # GN version: //mojo/common | 39 # GN version: //mojo/common |
40 'target_name': 'mojo_common_lib', | 40 'target_name': 'mojo_common_lib', |
41 'type': '<(component)', | 41 'type': '<(component)', |
42 'defines': [ | 42 'defines': [ |
43 'MOJO_COMMON_IMPLEMENTATION', | 43 'MOJO_COMMON_IMPLEMENTATION', |
44 ], | 44 ], |
45 'dependencies': [ | 45 'dependencies': [ |
46 '../base/base.gyp:base', | 46 '../base/base.gyp:base', |
47 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', | 47 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', |
48 '<(mojo_system_for_component)', | 48 '../mojo/mojo_public.gyp:mojo_public_system', |
49 ], | 49 ], |
50 'export_dependent_settings': [ | 50 'export_dependent_settings': [ |
51 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', | 51 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', |
52 ], | 52 ], |
53 'sources': [ | 53 'sources': [ |
54 'common/common_type_converters.cc', | 54 'common/common_type_converters.cc', |
55 'common/common_type_converters.h', | 55 'common/common_type_converters.h', |
56 'common/data_pipe_file_utils.cc', | 56 'common/data_pipe_file_utils.cc', |
57 'common/data_pipe_utils.cc', | 57 'common/data_pipe_utils.cc', |
58 'common/data_pipe_utils.h', | 58 'common/data_pipe_utils.h', |
(...skipping 17 matching lines...) Expand all Loading... |
76 'includes': [ 'mojom_bindings_generator_explicit.gypi' ], | 76 'includes': [ 'mojom_bindings_generator_explicit.gypi' ], |
77 }, | 77 }, |
78 { | 78 { |
79 # GN version: //mojo/common:url_type_converters | 79 # GN version: //mojo/common:url_type_converters |
80 'target_name': 'mojo_url_type_converters', | 80 'target_name': 'mojo_url_type_converters', |
81 'type': 'static_library', | 81 'type': 'static_library', |
82 'dependencies': [ | 82 'dependencies': [ |
83 '../base/base.gyp:base', | 83 '../base/base.gyp:base', |
84 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', | 84 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', |
85 '../url/url.gyp:url_lib', | 85 '../url/url.gyp:url_lib', |
86 '<(mojo_system_for_component)', | 86 '../mojo/mojo_public.gyp:mojo_public_system', |
87 ], | 87 ], |
88 'export_dependent_settings': [ | 88 'export_dependent_settings': [ |
89 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', | 89 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', |
90 ], | 90 ], |
91 'sources': [ | 91 'sources': [ |
92 'common/url_type_converters.cc', | 92 'common/url_type_converters.cc', |
93 'common/url_type_converters.h', | 93 'common/url_type_converters.h', |
94 ], | 94 ], |
95 }, | 95 }, |
96 { | 96 { |
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
207 '../build/isolate.gypi', | 207 '../build/isolate.gypi', |
208 ], | 208 ], |
209 'sources': [ | 209 'sources': [ |
210 'mojo_common_unittests.isolate', | 210 'mojo_common_unittests.isolate', |
211 ], | 211 ], |
212 }, | 212 }, |
213 ], | 213 ], |
214 }], | 214 }], |
215 ] | 215 ] |
216 } | 216 } |
OLD | NEW |