| Index: blimp/blimp.gyp
|
| diff --git a/blimp/blimp.gyp b/blimp/blimp.gyp
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..b5715b51975d9d9546cea201a6223ce183c2f2b5
|
| --- /dev/null
|
| +++ b/blimp/blimp.gyp
|
| @@ -0,0 +1,117 @@
|
| +# Copyright 2015 The Chromium Authors. All rights reserved.
|
| +# Use of this source code is governed by a BSD-style license that can be
|
| +# found in the LICENSE file.
|
| +
|
| +{
|
| + 'targets': [
|
| + {
|
| + 'target_name': 'libblimp_common',
|
| + 'type': '<(component)',
|
| + 'dependencies': [
|
| + '<(DEPTH)/base/base.gyp:base',
|
| + '<(DEPTH)/cc/cc.gyp:cc',
|
| + '<(DEPTH)/skia/skia.gyp:skia',
|
| + '<(DEPTH)/ui/gfx/gfx.gyp:gfx_geometry',
|
| + '<(DEPTH)/ui/gl/gl.gyp:gl',
|
| + ],
|
| + 'include_dirs': [
|
| + '<(INTERMEDIATE_DIR)',
|
| + ],
|
| + 'defines': [
|
| + 'BLIMP_COMMON_IMPLEMENTATION=1',
|
| + ],
|
| + 'sources': [
|
| + 'common/blimp_common_export.h',
|
| + 'common/compositor/blimp_layer_tree_settings.cc',
|
| + 'common/compositor/blimp_layer_tree_settings.h',
|
| + # TODO(dtrainor): Remove this once the LayerTreeHost settings for Blimp
|
| + # are finalized or are pushed from the server component.
|
| + '../content/public/common/content_switches.cc',
|
| + ],
|
| + },
|
| + {
|
| + 'target_name': 'libblimp_client',
|
| + 'type': 'shared_library',
|
| + 'dependencies': [
|
| + 'blimp_client_jni_headers',
|
| + 'libblimp_common',
|
| + '<(DEPTH)/base/base.gyp:base',
|
| + '<(DEPTH)/cc/cc.gyp:cc',
|
| + '<(DEPTH)/gpu/gpu.gyp:gl_in_process_context',
|
| + '<(DEPTH)/gpu/command_buffer/command_buffer.gyp:gles2_utils',
|
| + '<(DEPTH)/gpu/skia_bindings/skia_bindings.gyp:gpu_skia_bindings',
|
| + '<(DEPTH)/skia/skia.gyp:skia',
|
| + '<(DEPTH)/ui/gfx/gfx.gyp:gfx_geometry',
|
| + '<(DEPTH)/ui/gl/gl.gyp:gl',
|
| + ],
|
| + 'include_dirs': [
|
| + '<(INTERMEDIATE_DIR)',
|
| + ],
|
| + 'sources': [
|
| + 'client/android/blimp_jni_registrar.cc',
|
| + 'client/android/blimp_jni_registrar.h',
|
| + 'client/android/blimp_library_loader.cc',
|
| + 'client/android/blimp_library_loader.h',
|
| + 'client/android/blimp_view.cc',
|
| + 'client/android/blimp_view.h',
|
| + 'client/compositor/blimp_compositor.cc',
|
| + 'client/compositor/blimp_compositor.h',
|
| + 'client/compositor/blimp_compositor_android.cc',
|
| + 'client/compositor/blimp_compositor_android.h',
|
| + 'client/compositor/blimp_context_provider.cc',
|
| + 'client/compositor/blimp_context_provider.h',
|
| + 'client/compositor/blimp_output_surface.cc',
|
| + 'client/compositor/blimp_output_surface.h',
|
| + 'client/compositor/blimp_task_graph_runner.cc',
|
| + 'client/compositor/blimp_task_graph_runner.h',
|
| + 'client/compositor/test/dummy_layer_driver.cc',
|
| + 'client/compositor/test/dummy_layer_driver.h',
|
| + ],
|
| + },
|
| + ],
|
| + 'conditions': [
|
| + ['OS=="android"', {
|
| + 'targets': [
|
| + {
|
| + 'target_name': 'blimp_client_jni_headers',
|
| + 'type': 'none',
|
| + 'sources': [
|
| + 'client/android/java/src/org/chromium/blimp/BlimpLibraryLoader.java',
|
| + 'client/android/java/src/org/chromium/blimp/BlimpView.java',
|
| + ],
|
| + 'variables': {
|
| + 'jni_gen_package': 'blimp',
|
| + },
|
| + 'includes': [ '../build/jni_generator.gypi' ],
|
| + },
|
| + {
|
| + 'target_name': 'blimp_client_manifest',
|
| + 'type': 'none',
|
| + 'variables': {
|
| + 'jinja_inputs': [ 'client/android/AndroidManifest.xml.jinja2' ],
|
| + 'jinja_output': '<(SHARED_INTERMEDIATE_DIR)/blimp_manifest/AndroidManifest.xml',
|
| + },
|
| + 'includes': [ '../build/android/jinja_template.gypi' ],
|
| + },
|
| + {
|
| + 'target_name': 'blimp_apk',
|
| + 'type': 'none',
|
| + 'dependencies': [
|
| + 'blimp_client_manifest',
|
| + 'libblimp_client',
|
| + '../base/base.gyp:base_java',
|
| + ],
|
| + 'variables': {
|
| + 'apk_name': 'Blimp',
|
| + 'manifest_package_name': 'org.chromium.blimp',
|
| + 'android_manifest_path': '<(SHARED_INTERMEDIATE_DIR)/blimp_manifest/AndroidManifest.xml',
|
| + 'java_in_dir': 'client/android/java',
|
| + 'resource_dir': 'client/android/java/res',
|
| + 'native_lib_target': 'libblimp_client',
|
| + },
|
| + 'includes': [ '../build/java_apk.gypi' ],
|
| + },
|
| + ],
|
| + }], # OS=="android"
|
| + ]
|
| +}
|
|
|