| OLD | NEW |
| 1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 2013 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 'target_defaults': { | 9 'target_defaults': { |
| 10 'defines': ['MOJO_IMPLEMENTATION'], | 10 'defines': ['MOJO_IMPLEMENTATION'], |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 '../testing/gtest.gyp:gtest', | 56 '../testing/gtest.gyp:gtest', |
| 57 'mojo_public_test_support', | 57 'mojo_public_test_support', |
| 58 'mojo_system', | 58 'mojo_system', |
| 59 ], | 59 ], |
| 60 'sources': [ | 60 'sources': [ |
| 61 'public/tests/system_core_perftest.cc', | 61 'public/tests/system_core_perftest.cc', |
| 62 ], | 62 ], |
| 63 }, | 63 }, |
| 64 { | 64 { |
| 65 'target_name': 'mojo_system', | 65 'target_name': 'mojo_system', |
| 66 # TODO(vtl): This should probably be '<(component)'; make it work. | |
| 67 'type': '<(component)', | 66 'type': '<(component)', |
| 68 'dependencies': [ | 67 'dependencies': [ |
| 69 '../base/base.gyp:base', | 68 '../base/base.gyp:base', |
| 70 ], | 69 ], |
| 71 'defines': [ | 70 'defines': [ |
| 72 'MOJO_SYSTEM_IMPLEMENTATION', | 71 'MOJO_SYSTEM_IMPLEMENTATION', |
| 73 ], | 72 ], |
| 74 'sources': [ | 73 'sources': [ |
| 75 'system/core.cc', | 74 'system/core.cc', |
| 76 'system/core_impl.cc', | 75 'system/core_impl.cc', |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 132 ], | 131 ], |
| 133 }, | 132 }, |
| 134 { | 133 { |
| 135 'target_name': 'mojo_shell_lib', | 134 'target_name': 'mojo_shell_lib', |
| 136 'type': 'static_library', | 135 'type': 'static_library', |
| 137 'dependencies': [ | 136 'dependencies': [ |
| 138 '../base/base.gyp:base', | 137 '../base/base.gyp:base', |
| 139 '../net/net.gyp:net', | 138 '../net/net.gyp:net', |
| 140 '../url/url.gyp:url_lib', | 139 '../url/url.gyp:url_lib', |
| 141 'mojo_system', | 140 'mojo_system', |
| 141 'native_viewport', |
| 142 ], | 142 ], |
| 143 'sources': [ | 143 'sources': [ |
| 144 'shell/app_container.cc', | 144 'shell/app_container.cc', |
| 145 'shell/app_container.h', | 145 'shell/app_container.h', |
| 146 'shell/context.cc', | 146 'shell/context.cc', |
| 147 'shell/context.h', | 147 'shell/context.h', |
| 148 'shell/loader.cc', | 148 'shell/loader.cc', |
| 149 'shell/loader.h', | 149 'shell/loader.h', |
| 150 'shell/network_delegate.cc', | 150 'shell/network_delegate.cc', |
| 151 'shell/network_delegate.h', | 151 'shell/network_delegate.h', |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 187 'msvs_disabled_warnings': [ | 187 'msvs_disabled_warnings': [ |
| 188 4267, | 188 4267, |
| 189 ], | 189 ], |
| 190 }], | 190 }], |
| 191 ], | 191 ], |
| 192 }, | 192 }, |
| 193 { | 193 { |
| 194 'target_name': 'sample_app', | 194 'target_name': 'sample_app', |
| 195 'type': 'shared_library', | 195 'type': 'shared_library', |
| 196 'dependencies': [ | 196 'dependencies': [ |
| 197 '../base/base.gyp:base', | |
| 198 'mojo_system', | 197 'mojo_system', |
| 199 ], | 198 ], |
| 200 'sources': [ | 199 'sources': [ |
| 201 'examples/sample_app/sample_app.cc', | 200 'examples/sample_app/sample_app.cc', |
| 202 ], | 201 ], |
| 203 }, | 202 }, |
| 204 { | 203 { |
| 205 'target_name': 'mojo_bindings', | 204 'target_name': 'mojo_bindings', |
| 206 'type': 'static_library', | 205 'type': 'static_library', |
| 207 'include_dirs': [ | 206 'include_dirs': [ |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 239 'public/bindings/sample/generated/sample_foo_serialization.cc', | 238 'public/bindings/sample/generated/sample_foo_serialization.cc', |
| 240 'public/bindings/sample/generated/sample_foo_serialization.h', | 239 'public/bindings/sample/generated/sample_foo_serialization.h', |
| 241 'public/bindings/sample/generated/sample_service.h', | 240 'public/bindings/sample/generated/sample_service.h', |
| 242 'public/bindings/sample/generated/sample_service_proxy.cc', | 241 'public/bindings/sample/generated/sample_service_proxy.cc', |
| 243 'public/bindings/sample/generated/sample_service_serialization.cc', | 242 'public/bindings/sample/generated/sample_service_serialization.cc', |
| 244 'public/bindings/sample/generated/sample_service_serialization.h', | 243 'public/bindings/sample/generated/sample_service_serialization.h', |
| 245 'public/bindings/sample/generated/sample_service_stub.cc', | 244 'public/bindings/sample/generated/sample_service_stub.cc', |
| 246 'public/bindings/sample/sample_test.cc', | 245 'public/bindings/sample/sample_test.cc', |
| 247 ], | 246 ], |
| 248 }, | 247 }, |
| 248 { |
| 249 'target_name': 'native_viewport', |
| 250 'type': 'static_library', |
| 251 'dependencies': [ |
| 252 '../base/base.gyp:base', |
| 253 '../ui/gfx/gfx.gyp:gfx', |
| 254 '../ui/events/events.gyp:events' |
| 255 ], |
| 256 'sources': [ |
| 257 'services/native_viewport/native_viewport.h', |
| 258 'services/native_viewport/native_viewport_android.cc', |
| 259 'services/native_viewport/native_viewport_controller.cc', |
| 260 'services/native_viewport/native_viewport_controller.h', |
| 261 'services/native_viewport/native_viewport_stub.cc', |
| 262 'services/native_viewport/native_viewport_win.cc', |
| 263 'services/native_viewport/native_viewport_x11.cc', |
| 264 ], |
| 265 'conditions': [ |
| 266 ['OS=="win" or OS=="android" or OS=="linux"', { |
| 267 'sources!': [ |
| 268 'services/native_viewport/native_viewport_stub.cc', |
| 269 ], |
| 270 }] |
| 271 ], |
| 272 }, |
| 249 ], | 273 ], |
| 250 'conditions': [ | 274 'conditions': [ |
| 251 ['OS=="android"', { | 275 ['OS=="android"', { |
| 252 'targets': [ | 276 'targets': [ |
| 253 { | 277 { |
| 254 'target_name': 'java_set_jni_headers', | 278 'target_name': 'java_set_jni_headers', |
| 255 'type': 'none', | 279 'type': 'none', |
| 256 'variables': { | 280 'variables': { |
| 257 'jni_gen_package': 'mojo', | 281 'jni_gen_package': 'mojo', |
| 258 'input_java_class': 'java/util/HashSet.class', | 282 'input_java_class': 'java/util/HashSet.class', |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 311 'java_in_dir': '<(DEPTH)/mojo/shell/android/apk', | 335 'java_in_dir': '<(DEPTH)/mojo/shell/android/apk', |
| 312 'resource_dir': '<(DEPTH)/mojo/shell/android/apk/res', | 336 'resource_dir': '<(DEPTH)/mojo/shell/android/apk/res', |
| 313 'native_lib_target': 'libmojo_shell', | 337 'native_lib_target': 'libmojo_shell', |
| 314 }, | 338 }, |
| 315 'includes': [ '../build/java_apk.gypi' ], | 339 'includes': [ '../build/java_apk.gypi' ], |
| 316 } | 340 } |
| 317 ], | 341 ], |
| 318 }], | 342 }], |
| 319 ], | 343 ], |
| 320 } | 344 } |
| OLD | NEW |