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 'conditions': [ | |
7 # Blimp Client Targets | |
8 ['OS=="android"', { | |
9 'targets': [ | |
10 { | |
11 'target_name': 'libblimp_client', | |
12 'type': 'shared_library', | |
13 'dependencies': [ | |
14 'blimp_client_jni_headers', | |
15 '../base/base.gyp:base', | |
16 '../ui/gfx/gfx.gyp:gfx_geometry', | |
17 '../ui/gl/gl.gyp:gl', | |
18 '../cc/cc.gyp:cc', | |
nyquist
2015/08/19 07:48:06
Nit: lexicographic sort
David Trainor- moved to gerrit
2015/08/21 00:49:46
Done.
| |
19 '../gpu/gpu.gyp:gl_in_process_context', | |
20 '../gpu/command_buffer/command_buffer.gyp:gles2_utils', | |
21 '../gpu/skia_bindings/skia_bindings.gyp:gpu_skia_bindings', | |
22 '<(DEPTH)/skia/skia.gyp:skia', | |
23 '../net/net.gyp:net', | |
24 ], | |
25 'include_dirs': [ | |
26 '<(INTERMEDIATE_DIR)', | |
27 ], | |
28 'sources': [ | |
29 'client/android/blimp_jni_registrar.cc', | |
30 'client/android/blimp_jni_registrar.h', | |
31 'client/android/blimp_library_loader.cc', | |
32 'client/android/blimp_library_loader.h', | |
33 'client/android/blimp_view.cc', | |
34 'client/android/blimp_view.h', | |
35 'client/android/compositor/blimp_compositor.cc', | |
36 'client/android/compositor/blimp_compositor.h', | |
37 'client/android/compositor/blimp_context_provider.cc', | |
38 'client/android/compositor/blimp_context_provider.h', | |
39 'client/android/compositor/blimp_output_surface.cc', | |
40 'client/android/compositor/blimp_output_surface.h', | |
41 # TODO(dtrainor): For Chromium Compositor Settings. This should be | |
42 # eventually removed. | |
43 '../content/public/common/content_switches.cc', | |
44 ], | |
45 }, | |
46 { | |
47 'target_name': 'blimp_client_jni_headers', | |
48 'type': 'none', | |
49 'sources': [ | |
50 'client/android/java/src/org/chromium/blimp/BlimpLibraryLoader.java' , | |
51 'client/android/java/src/org/chromium/blimp/BlimpView.java', | |
52 ], | |
53 'variables': { | |
54 'jni_gen_package': 'blimp', | |
55 }, | |
56 'includes': [ '../build/jni_generator.gypi' ], | |
57 }, | |
58 { | |
59 'target_name': 'blimp_client_manifest', | |
60 'type': 'none', | |
61 'variables': { | |
62 'jinja_inputs': [ 'client/android/AndroidManifest.xml.jinja2' ], | |
63 'jinja_output': '<(SHARED_INTERMEDIATE_DIR)/blimp_manifest/AndroidMa nifest.xml', | |
64 }, | |
65 'includes': [ '../build/android/jinja_template.gypi' ], | |
66 }, | |
67 { | |
68 'target_name': 'blimp_apk', | |
69 'type': 'none', | |
70 'dependencies': [ | |
71 'blimp_client_manifest', | |
72 'libblimp_client', | |
73 '../base/base.gyp:base_java', | |
74 ], | |
75 'variables': { | |
76 'apk_name': 'Blimp', | |
Wez
2015/08/27 02:01:50
nit: Do we want the APK name capitalized in this w
David Trainor- moved to gerrit
2015/09/03 06:33:20
Ah sorry I missed this comment earlier. I took a
| |
77 'manifest_package_name': 'org.chromium.blimp', | |
78 'android_manifest_path': '<(SHARED_INTERMEDIATE_DIR)/blimp_manifest/ AndroidManifest.xml', | |
79 'java_in_dir': 'client/android/java', | |
80 'resource_dir': 'client/android/java/res', | |
81 'native_lib_target': 'libblimp_client', | |
82 }, | |
83 'includes': [ '../build/java_apk.gypi' ], | |
84 }, | |
85 ], | |
86 }], # OS=="android" | |
87 ] | |
88 } | |
OLD | NEW |