Add SetCookieAndChannelIdStores method to URLRequestContextBuilder
[chromium-blink-merge.git] / components / devtools_bridge.gyp
blobbc3f6d0016b4c7e73a8f2b9c80b02a3e978ce1e8
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.
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_bridge/SessionDependencyFactoryNative.java',
12         'devtools_bridge/android/java/src/org/chromium/components/devtools_bridge/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/component_loader.cc',
26         'devtools_bridge/android/component_loader.h',
27         'devtools_bridge/android/session_dependency_factory_android.cc',
28         'devtools_bridge/android/session_dependency_factory_android.h',
29         'devtools_bridge/session_dependency_factory.cc',
30         'devtools_bridge/session_dependency_factory.h',
31         'devtools_bridge/socket_tunnel_connection.cc',
32         'devtools_bridge/socket_tunnel_connection.h',
33         'devtools_bridge/socket_tunnel_packet_handler.cc',
34         'devtools_bridge/socket_tunnel_packet_handler.h',
35         'devtools_bridge/socket_tunnel_server.cc',
36         'devtools_bridge/socket_tunnel_server.h',
37       ],
38       'dependencies': [
39         '../base/base.gyp:base',
40         '../google_apis/google_apis.gyp:google_apis',
41         '../third_party/libjingle/libjingle.gyp:libjingle_webrtc',
42         '../third_party/libjingle/libjingle.gyp:libpeerconnection',
43         '../third_party/webrtc/base/base.gyp:webrtc_base',
44         'devtools_bridge_jni_headers',
45       ],
46     },
47     {
48       'target_name': 'devtools_bridge_javalib',
49       'type': 'none',
50       'variables': {
51         'java_in_dir': 'devtools_bridge/android/java',
52       },
53       'includes': [ '../build/java.gypi' ],
54       'dependencies': [
55         '../base/base.gyp:base_java',
56         '../sync/sync.gyp:sync_java',
57         '../third_party/android_tools/android_tools.gyp:android_support_v13_javalib',
58       ],
59     },
60     {
61       'target_name': 'libdevtools_bridge_natives_so',
62       'type': 'shared_library',
63       'sources': [
64         'devtools_bridge/test/android/javatests/jni/jni_onload.cc',
65       ],
66       'dependencies': [
67         '../base/base.gyp:base',
68         'devtools_bridge',
69       ],
70     },
71     {
72       'target_name': 'devtools_bridge_testutils',
73       'type': 'none',
74       'variables': {
75         'java_in_dir': 'devtools_bridge/test/android/javatests',
76       },
77       'includes': [ '../build/java.gypi' ],
78       'dependencies': [
79         'devtools_bridge_javalib',
80       ],
81     },
82     {
83       'target_name': 'devtools_bridge_tests_apk',
84       'type': 'none',
85       'dependencies': [
86         'devtools_bridge_javalib',
87         'devtools_bridge_testutils',
88         'libdevtools_bridge_natives_so',
89       ],
90       'variables': {
91         'apk_name': 'DevToolsBridgeTest',
92         'test_suite_name': 'devtools_bridge_tests',
93         'java_in_dir': 'devtools_bridge/android/javatests',
94         'native_lib_target': 'libdevtools_bridge_natives_so',
95         'is_test_apk': 1,
96       },
97       'includes': [ '../build/java_apk.gypi' ],
98     },
99   ],