OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 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 'targets': [ | 6 'targets': [ |
7 { | 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 ], |
| 13 'variables': { |
| 14 'jni_gen_package': 'devtools_bridge', |
| 15 }, |
| 16 'includes': [ '../build/jni_generator.gypi' ], |
| 17 }, |
| 18 { |
| 19 'target_name': 'devtools_bridge', |
| 20 'type': 'static_library', |
| 21 'sources': [ |
| 22 'devtools_bridge/android/session_dependency_factory_native.h', |
| 23 'devtools_bridge/android/session_dependency_factory_native.cc', |
| 24 ], |
| 25 'dependencies': [ |
| 26 '../base/base.gyp:base', |
| 27 '../third_party/libjingle/libjingle.gyp:libjingle_webrtc', |
| 28 '../third_party/libjingle/libjingle.gyp:libpeerconnection', |
| 29 '../third_party/webrtc/base/base.gyp:webrtc_base', |
| 30 'devtools_bridge_jni_headers', |
| 31 ], |
| 32 }, |
| 33 { |
8 'target_name': 'devtools_bridge_javalib', | 34 'target_name': 'devtools_bridge_javalib', |
9 'type': 'none', | 35 'type': 'none', |
10 'variables': { | 36 'variables': { |
11 'java_in_dir': 'devtools_bridge/android/java', | 37 'java_in_dir': 'devtools_bridge/android/java', |
12 }, | 38 }, |
13 'includes': [ '../build/java.gypi' ], | 39 'includes': [ '../build/java.gypi' ], |
14 'dependencies': [ | 40 'dependencies': [ |
15 '../third_party/android_tools/android_tools.gyp:android_gcm', | 41 '../third_party/android_tools/android_tools.gyp:android_gcm', |
16 '../third_party/libjingle/libjingle.gyp:libjingle_peerconnection_javalib
', | 42 '../third_party/libjingle/libjingle.gyp:libjingle_peerconnection_javalib
', |
| 43 '../base/base.gyp:base_java', |
17 ], | 44 ], |
18 }, | 45 }, |
19 { | 46 { |
| 47 'target_name': 'libdevtools_bridge_natives_so', |
| 48 'type': 'shared_library', |
| 49 'sources': [ |
| 50 'devtools_bridge/test/android/javatests/jni/jni_onload.cc', |
| 51 ], |
| 52 'dependencies': [ |
| 53 '../base/base.gyp:base', |
| 54 'devtools_bridge', |
| 55 ], |
| 56 }, |
| 57 { |
20 'target_name': 'devtools_bridge_testutils', | 58 'target_name': 'devtools_bridge_testutils', |
21 'type': 'none', | 59 'type': 'none', |
22 'variables': { | 60 'variables': { |
23 'java_in_dir': 'devtools_bridge/test/android/javatests', | 61 'java_in_dir': 'devtools_bridge/test/android/javatests', |
24 }, | 62 }, |
25 'includes': [ '../build/java.gypi' ], | 63 'includes': [ '../build/java.gypi' ], |
26 'dependencies': [ | 64 'dependencies': [ |
27 '../third_party/libjingle/libjingle.gyp:libjingle_peerconnection_javalib
', | 65 '../third_party/libjingle/libjingle.gyp:libjingle_peerconnection_javalib
', |
28 'devtools_bridge_javalib', | 66 'devtools_bridge_javalib', |
29 ], | 67 ], |
30 }, | 68 }, |
31 { | 69 { |
32 'target_name': 'devtools_bridge_tests_apk', | 70 'target_name': 'devtools_bridge_tests_apk', |
33 'type': 'none', | 71 'type': 'none', |
34 'dependencies': [ | 72 'dependencies': [ |
35 'devtools_bridge_javalib', | 73 'devtools_bridge_javalib', |
36 'devtools_bridge_testutils', | 74 'devtools_bridge_testutils', |
37 ], | 75 ], |
38 'variables': { | 76 'variables': { |
39 'apk_name': 'DevToolsBridgeTest', | 77 'apk_name': 'DevToolsBridgeTest', |
40 'test_suite_name': 'devtools_bridge_tests', | 78 'test_suite_name': 'devtools_bridge_tests', |
41 'java_in_dir': 'devtools_bridge/android/javatests', | 79 'java_in_dir': 'devtools_bridge/android/javatests', |
42 'native_lib_target': 'libjingle_peerconnection_so', | 80 'native_lib_target': 'libjingle_peerconnection_so', |
43 'is_test_apk': 1, | 81 'is_test_apk': 1, |
44 }, | 82 }, |
45 'includes': [ '../build/java_apk.gypi' ], | 83 'includes': [ '../build/java_apk.gypi' ], |
46 }, | 84 }, |
| 85 { |
| 86 'target_name': 'devtools_bridge_tests2_apk', |
| 87 'type': 'none', |
| 88 'dependencies': [ |
| 89 'devtools_bridge_javalib', |
| 90 'libdevtools_bridge_natives_so', |
| 91 ], |
| 92 'variables': { |
| 93 'apk_name': 'DevToolsBridgeTest2', |
| 94 'test_suite_name': 'devtools_bridge_tests', |
| 95 'java_in_dir': 'devtools_bridge/android/javatests2', |
| 96 'native_lib_target': 'libdevtools_bridge_natives_so', |
| 97 'is_test_apk': 1, |
| 98 }, |
| 99 'includes': [ '../build/java_apk.gypi' ], |
| 100 }, |
47 ], | 101 ], |
48 } | 102 } |
OLD | NEW |