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 'conditions': [ | 6 'conditions': [ |
7 ['OS=="android"', { | 7 ['OS=="android"', { |
8 # TODO(mef): Figure out what needs to be done for gn script. | 8 # TODO(mef): Figure out what needs to be done for gn script. |
9 'targets': [ | 9 'targets': [ |
10 { | 10 { |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 { | 101 { |
102 # cronet_static_small target has reduced binary size through using | 102 # cronet_static_small target has reduced binary size through using |
103 # ICU alternatives which requires file and ftp support be disabled. | 103 # ICU alternatives which requires file and ftp support be disabled. |
104 'target_name': 'cronet_static_small', | 104 'target_name': 'cronet_static_small', |
105 'defines': [ | 105 'defines': [ |
106 'USE_ICU_ALTERNATIVES_ON_ANDROID=1', | 106 'USE_ICU_ALTERNATIVES_ON_ANDROID=1', |
107 'DISABLE_FILE_SUPPORT=1', | 107 'DISABLE_FILE_SUPPORT=1', |
108 'DISABLE_FTP_SUPPORT=1', | 108 'DISABLE_FTP_SUPPORT=1', |
109 ], | 109 ], |
110 'dependencies': [ | 110 'dependencies': [ |
| 111 '../components/components.gyp:data_reduction_proxy_core_browser_smal
l', |
111 '../net/net.gyp:net_small', | 112 '../net/net.gyp:net_small', |
112 ], | 113 ], |
113 'includes': [ 'cronet/cronet_static.gypi' ], | 114 'includes': [ 'cronet/cronet_static.gypi' ], |
114 }, | 115 }, |
115 { | 116 { |
116 # cronet_static target depends on ICU and includes file and ftp suppor
t. | 117 # cronet_static target depends on ICU and includes file and ftp suppor
t. |
117 'target_name': 'cronet_static', | 118 'target_name': 'cronet_static', |
118 'dependencies': [ | 119 'dependencies': [ |
119 '../base/base.gyp:base_i18n', | 120 '../base/base.gyp:base_i18n', |
| 121 '../components/components.gyp:data_reduction_proxy_core_browser', |
120 '../net/net.gyp:net', | 122 '../net/net.gyp:net', |
121 ], | 123 ], |
122 'includes': [ 'cronet/cronet_static.gypi' ], | 124 'includes': [ 'cronet/cronet_static.gypi' ], |
123 }, | 125 }, |
124 { | 126 { |
125 'target_name': 'libcronet', | 127 'target_name': 'libcronet', |
126 'type': 'shared_library', | 128 'type': 'shared_library', |
127 'sources': [ | 129 'sources': [ |
128 'cronet/android/cronet_jni.cc', | 130 'cronet/android/cronet_jni.cc', |
129 ], | 131 ], |
(...skipping 337 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
467 'files': [ | 469 'files': [ |
468 '<(SHARED_LIB_DIR)/<(native_lib)', | 470 '<(SHARED_LIB_DIR)/<(native_lib)', |
469 ], | 471 ], |
470 }, | 472 }, |
471 ], | 473 ], |
472 }, | 474 }, |
473 ], | 475 ], |
474 }], # OS=="android" | 476 }], # OS=="android" |
475 ], | 477 ], |
476 } | 478 } |
OLD | NEW |