OLD | NEW |
---|---|
(Empty) | |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | |
2 # Use of this source code is governed by a BSD-style license that can be | |
3 # found in the LICENSE file. | |
4 | |
5 { | |
6 'targets': [ | |
7 { | |
8 'target_name': 'libblimp_common', | |
9 'type': 'shared_library', | |
Khushal
2015/08/26 03:30:24
The target should probably be component. We use th
David Trainor- moved to gerrit
2015/08/26 05:50:44
Ah thanks for tracking that down! I'll change the
| |
10 'dependencies': [ | |
11 '<(DEPTH)/base/base.gyp:base', | |
12 '<(DEPTH)/cc/cc.gyp:cc', | |
13 '<(DEPTH)/ui/gfx/gfx.gyp:gfx_geometry', | |
14 '<(DEPTH)/skia/skia.gyp:skia', | |
jbudorick
2015/08/26 18:26:12
nit: ordering
David Trainor- moved to gerrit
2015/08/28 01:23:44
Done.
| |
15 '<(DEPTH)/ui/gl/gl.gyp:gl', | |
16 ], | |
17 'include_dirs': [ | |
18 '<(INTERMEDIATE_DIR)', | |
19 ], | |
20 'defines': [ | |
21 'BLIMP_COMMON_IMPLEMENTATION=1', | |
22 ], | |
23 'sources': [ | |
24 'common/blimp_common_export.h', | |
25 'common/compositor/blimp_layer_tree_settings.cc', | |
26 'common/compositor/blimp_layer_tree_settings.h', | |
27 # TODO(dtrainor): For CC settings. This should be eventually removed. | |
jbudorick
2015/08/26 18:26:12
...eventually?
David Trainor- moved to gerrit
2015/08/28 01:23:44
Turned this into a TODO.
| |
28 '../content/public/common/content_switches.cc', | |
29 ], | |
30 }, | |
31 { | |
32 'target_name': 'libblimp_client', | |
33 'type': 'shared_library', | |
34 'dependencies': [ | |
35 'blimp_client_jni_headers', | |
36 'libblimp_common', | |
37 '<(DEPTH)/base/base.gyp:base', | |
38 '<(DEPTH)/cc/cc.gyp:cc', | |
39 '<(DEPTH)/gpu/gpu.gyp:gl_in_process_context', | |
40 '<(DEPTH)/gpu/command_buffer/command_buffer.gyp:gles2_utils', | |
41 '<(DEPTH)/gpu/skia_bindings/skia_bindings.gyp:gpu_skia_bindings', | |
42 '<(DEPTH)/skia/skia.gyp:skia', | |
43 '<(DEPTH)/ui/gfx/gfx.gyp:gfx_geometry', | |
44 '<(DEPTH)/ui/gl/gl.gyp:gl', | |
45 ], | |
46 'include_dirs': [ | |
47 '<(INTERMEDIATE_DIR)', | |
48 ], | |
49 'sources': [ | |
50 'client/android/blimp_jni_registrar.cc', | |
51 'client/android/blimp_jni_registrar.h', | |
52 'client/android/blimp_library_loader.cc', | |
53 'client/android/blimp_library_loader.h', | |
54 'client/android/blimp_view.cc', | |
55 'client/android/blimp_view.h', | |
56 'client/compositor/blimp_compositor.cc', | |
57 'client/compositor/blimp_compositor.h', | |
58 'client/compositor/blimp_compositor_android.cc', | |
59 'client/compositor/blimp_compositor_android.h', | |
60 'client/compositor/blimp_context_provider.cc', | |
61 'client/compositor/blimp_context_provider.h', | |
62 'client/compositor/blimp_output_surface.cc', | |
63 'client/compositor/blimp_output_surface.h', | |
64 'client/compositor/blimp_task_graph_runner.cc', | |
65 'client/compositor/blimp_task_graph_runner.h', | |
66 'client/compositor/test/dummy_layer_driver.cc', | |
67 'client/compositor/test/dummy_layer_driver.h', | |
68 ], | |
69 }, | |
70 ], | |
71 'conditions': [ | |
72 ['OS=="android"', { | |
73 'targets': [ | |
74 { | |
75 'target_name': 'blimp_client_jni_headers', | |
76 'type': 'none', | |
77 'sources': [ | |
78 'client/android/java/src/org/chromium/blimp/BlimpLibraryLoader.java' , | |
79 'client/android/java/src/org/chromium/blimp/BlimpView.java', | |
80 ], | |
81 'variables': { | |
82 'jni_gen_package': 'blimp', | |
83 }, | |
84 'includes': [ '../build/jni_generator.gypi' ], | |
85 }, | |
86 { | |
87 'target_name': 'blimp_client_manifest', | |
88 'type': 'none', | |
89 'variables': { | |
90 'jinja_inputs': [ 'client/android/AndroidManifest.xml.jinja2' ], | |
91 'jinja_output': '<(SHARED_INTERMEDIATE_DIR)/blimp_manifest/AndroidMa nifest.xml', | |
92 }, | |
93 'includes': [ '../build/android/jinja_template.gypi' ], | |
94 }, | |
95 { | |
96 'target_name': 'blimp_apk', | |
97 'type': 'none', | |
98 'dependencies': [ | |
99 'blimp_client_manifest', | |
100 'libblimp_client', | |
101 '../base/base.gyp:base_java', | |
102 ], | |
103 'variables': { | |
104 'apk_name': 'Blimp', | |
105 'manifest_package_name': 'org.chromium.blimp', | |
106 'android_manifest_path': '<(SHARED_INTERMEDIATE_DIR)/blimp_manifest/ AndroidManifest.xml', | |
107 'java_in_dir': 'client/android/java', | |
108 'resource_dir': 'client/android/java/res', | |
109 'native_lib_target': 'libblimp_client', | |
110 }, | |
111 'includes': [ '../build/java_apk.gypi' ], | |
112 }, | |
113 ], | |
114 }], # OS=="android" | |
115 ] | |
116 } | |
OLD | NEW |