OLD | NEW |
| (Empty) |
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 | |
3 # found in the LICENSE file. | |
4 | |
5 { | |
6 'targets': [ | |
7 { | |
8 'target_name': 'devtools_bridge_jni_headers', | |
9 'type': 'none', | |
10 'sources': [ | |
11 'devtools_bridge/android/java/src/org/chromium/components/devtools_bridg
e/SessionDependencyFactoryNative.java', | |
12 'devtools_bridge/android/java/src/org/chromium/components/devtools_bridg
e/apiary/ApiaryClientFactory.java', | |
13 ], | |
14 'variables': { | |
15 'jni_gen_package': 'devtools_bridge', | |
16 }, | |
17 'includes': [ '../build/jni_generator.gypi' ], | |
18 }, | |
19 { | |
20 'target_name': 'devtools_bridge', | |
21 'type': 'static_library', | |
22 'sources': [ | |
23 'devtools_bridge/android/apiary_client_factory.cc', | |
24 'devtools_bridge/android/apiary_client_factory.h', | |
25 'devtools_bridge/android/session_dependency_factory_android.cc', | |
26 'devtools_bridge/android/session_dependency_factory_android.h', | |
27 'devtools_bridge/session_dependency_factory.cc', | |
28 'devtools_bridge/session_dependency_factory.h', | |
29 'devtools_bridge/socket_tunnel_connection.cc', | |
30 'devtools_bridge/socket_tunnel_connection.h', | |
31 'devtools_bridge/socket_tunnel_packet_handler.cc', | |
32 'devtools_bridge/socket_tunnel_packet_handler.h', | |
33 'devtools_bridge/socket_tunnel_server.cc', | |
34 'devtools_bridge/socket_tunnel_server.h', | |
35 ], | |
36 'dependencies': [ | |
37 '../base/base.gyp:base', | |
38 '../google_apis/google_apis.gyp:google_apis', | |
39 '../third_party/libjingle/libjingle.gyp:libjingle_webrtc', | |
40 '../third_party/libjingle/libjingle.gyp:libpeerconnection', | |
41 '../third_party/webrtc/base/base.gyp:rtc_base', | |
42 'devtools_bridge_jni_headers', | |
43 ], | |
44 }, | |
45 { | |
46 'target_name': 'devtools_bridge_javalib', | |
47 'type': 'none', | |
48 'variables': { | |
49 'java_in_dir': 'devtools_bridge/android/java', | |
50 }, | |
51 'includes': [ '../build/java.gypi' ], | |
52 'dependencies': [ | |
53 '../base/base.gyp:base_java', | |
54 '../sync/sync.gyp:sync_java', | |
55 '../third_party/android_tools/android_tools.gyp:android_support_v13_java
lib', | |
56 ], | |
57 }, | |
58 { | |
59 'target_name': 'libdevtools_bridge_natives_so', | |
60 'type': 'shared_library', | |
61 'sources': [ | |
62 'devtools_bridge/test/android/javatests/jni/jni_onload.cc', | |
63 ], | |
64 'dependencies': [ | |
65 '../base/base.gyp:base', | |
66 'devtools_bridge', | |
67 ], | |
68 }, | |
69 { | |
70 'target_name': 'devtools_bridge_testutils', | |
71 'type': 'none', | |
72 'variables': { | |
73 'java_in_dir': 'devtools_bridge/test/android/javatests', | |
74 }, | |
75 'includes': [ '../build/java.gypi' ], | |
76 'dependencies': [ | |
77 'devtools_bridge_javalib', | |
78 ], | |
79 }, | |
80 { | |
81 'target_name': 'devtools_bridge_tests_apk', | |
82 'type': 'none', | |
83 'dependencies': [ | |
84 'devtools_bridge_javalib', | |
85 'devtools_bridge_testutils', | |
86 'libdevtools_bridge_natives_so', | |
87 ], | |
88 'variables': { | |
89 'apk_name': 'DevToolsBridgeTest', | |
90 'test_suite_name': 'devtools_bridge_tests', | |
91 'java_in_dir': 'devtools_bridge/android/javatests', | |
92 'native_lib_target': 'libdevtools_bridge_natives_so', | |
93 'is_test_apk': 1, | |
94 }, | |
95 'includes': [ '../build/java_apk.gypi' ], | |
96 }, | |
97 ], | |
98 } | |
OLD | NEW |