| 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 'includes': [ |
| 10 'mojo_variables.gypi', | 10 'mojo_variables.gypi', |
| 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. |
| 22 'mojo_common_lib', | 22 'mojo_common_lib', |
| 23 'mojo_common_unittests', | 23 'mojo_common_unittests', |
| 24 'mojo_message_generator', | |
| 25 ], | 24 ], |
| 26 'conditions': [ | 25 'conditions': [ |
| 27 ['OS == "android"', { | 26 ['OS == "android"', { |
| 28 'dependencies': [ | 27 'dependencies': [ |
| 29 'public/mojo_public.gyp:mojo_bindings_java', | 28 'public/mojo_public.gyp:mojo_bindings_java', |
| 30 'public/mojo_public.gyp:mojo_public_java', | 29 'public/mojo_public.gyp:mojo_public_java', |
| 31 ], | 30 ], |
| 32 }], | 31 }], |
| 33 ] | 32 ] |
| 34 }, | 33 }, |
| (...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 179 'bindings/js/drain_data.h', | 178 'bindings/js/drain_data.h', |
| 180 'bindings/js/handle.cc', | 179 'bindings/js/handle.cc', |
| 181 'bindings/js/handle.h', | 180 'bindings/js/handle.h', |
| 182 'bindings/js/handle_close_observer.h', | 181 'bindings/js/handle_close_observer.h', |
| 183 'bindings/js/support.cc', | 182 'bindings/js/support.cc', |
| 184 'bindings/js/support.h', | 183 'bindings/js/support.h', |
| 185 'bindings/js/waiting_callback.cc', | 184 'bindings/js/waiting_callback.cc', |
| 186 'bindings/js/waiting_callback.h', | 185 'bindings/js/waiting_callback.h', |
| 187 ], | 186 ], |
| 188 }, | 187 }, |
| 189 { | |
| 190 # GN version: //mojo/tools:message_generator | |
| 191 'target_name': 'mojo_message_generator', | |
| 192 'type': 'executable', | |
| 193 'dependencies': [ | |
| 194 '../base/base.gyp:base', | |
| 195 '../testing/gtest.gyp:gtest', | |
| 196 'edk/mojo_edk.gyp:mojo_system_impl', | |
| 197 'mojo_common_lib', | |
| 198 'mojo_environment_chromium', | |
| 199 'public/mojo_public.gyp:mojo_cpp_bindings', | |
| 200 ], | |
| 201 'sources': [ | |
| 202 'tools/message_generator.cc', | |
| 203 ], | |
| 204 }, | |
| 205 ], | 188 ], |
| 206 'conditions': [ | 189 'conditions': [ |
| 207 ['OS=="android"', { | 190 ['OS=="android"', { |
| 208 'targets': [ | 191 'targets': [ |
| 209 { | 192 { |
| 210 'target_name': 'mojo_jni_headers', | 193 'target_name': 'mojo_jni_headers', |
| 211 'type': 'none', | 194 'type': 'none', |
| 212 'dependencies': [ | 195 'dependencies': [ |
| 213 'mojo_java_set_jni_headers', | 196 'mojo_java_set_jni_headers', |
| 214 ], | 197 ], |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 257 ], | 240 ], |
| 258 'variables': { | 241 'variables': { |
| 259 'java_in_dir': '<(DEPTH)/mojo/android/system', | 242 'java_in_dir': '<(DEPTH)/mojo/android/system', |
| 260 }, | 243 }, |
| 261 'includes': [ '../build/java.gypi' ], | 244 'includes': [ '../build/java.gypi' ], |
| 262 }, | 245 }, |
| 263 ] | 246 ] |
| 264 }] | 247 }] |
| 265 ] | 248 ] |
| 266 } | 249 } |
| OLD | NEW |