Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. | 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 | 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 import("//build/buildflag_header.gni") | 5 import("//build/buildflag_header.gni") |
| 6 import("//build/config/android/config.gni") | 6 import("//build/config/android/config.gni") |
| 7 import("//build/config/android/rules.gni") | 7 import("//build/config/android/rules.gni") |
| 8 import("//build/util/process_version.gni") | 8 import("//build/util/process_version.gni") |
| 9 import("//build/util/version.gni") | 9 import("//build/util/version.gni") |
| 10 import("//testing/test.gni") | 10 import("//testing/test.gni") |
| (...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 249 "//components/data_reduction_proxy/core/common", | 249 "//components/data_reduction_proxy/core/common", |
| 250 ] | 250 ] |
| 251 } | 251 } |
| 252 | 252 |
| 253 if (!use_platform_icu_alternatives) { | 253 if (!use_platform_icu_alternatives) { |
| 254 deps += [ "//base:i18n" ] | 254 deps += [ "//base:i18n" ] |
| 255 } | 255 } |
| 256 } | 256 } |
| 257 | 257 |
| 258 shared_library("cronet") { | 258 shared_library("cronet") { |
| 259 output_name = "cronet.$chrome_version_full" | |
|
kapishnikov
2017/03/09 19:29:40
Should we use '_' instead of '.' as the separator?
pauljensen
2017/03/10 01:55:34
I think '.' is commonly used for this sort of thin
| |
| 259 sources = [ | 260 sources = [ |
| 260 "cronet_jni.cc", | 261 "cronet_jni.cc", |
| 261 ] | 262 ] |
| 262 deps = [ | 263 deps = [ |
| 263 ":cronet_static", | 264 ":cronet_static", |
| 264 "//base", | 265 "//base", |
| 265 "//net:net", | 266 "//net:net", |
| 266 ] | 267 ] |
| 267 } | 268 } |
| 268 | 269 |
| (...skipping 1010 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1279 rebase_path("$target_gen_dir/cronet_impl_native_proguard.cfg", | 1280 rebase_path("$target_gen_dir/cronet_impl_native_proguard.cfg", |
| 1280 root_build_dir), | 1281 root_build_dir), |
| 1281 rebase_path("//components/cronet/android/cronet_impl_native_proguard.cfg", | 1282 rebase_path("//components/cronet/android/cronet_impl_native_proguard.cfg", |
| 1282 root_build_dir), | 1283 root_build_dir), |
| 1283 rebase_path("//base/android/proguard/chromium_code.flags", root_build_dir), | 1284 rebase_path("//base/android/proguard/chromium_code.flags", root_build_dir), |
| 1284 ] | 1285 ] |
| 1285 } | 1286 } |
| 1286 | 1287 |
| 1287 copy("cronet_package_copy_native_lib") { | 1288 copy("cronet_package_copy_native_lib") { |
| 1288 sources = [ | 1289 sources = [ |
| 1289 "$root_out_dir/libcronet.so", | 1290 "$root_out_dir/libcronet.$chrome_version_full.so", |
|
kapishnikov
2017/03/09 19:29:40
Since we use "libcronet.$chrome_version_full.so" i
pauljensen
2017/03/10 01:55:34
Done, I also made a variable for the simple name.
| |
| 1290 ] | 1291 ] |
| 1291 outputs = [ | 1292 outputs = [ |
| 1292 "$_package_dir/libs/${android_app_abi}/libcronet.so", | 1293 "$_package_dir/libs/${android_app_abi}/libcronet.$chrome_version_full.so", |
| 1293 ] | 1294 ] |
| 1294 deps = [ | 1295 deps = [ |
| 1295 ":cronet", | 1296 ":cronet", |
| 1296 ] | 1297 ] |
| 1297 } | 1298 } |
| 1298 | 1299 |
| 1299 copy("cronet_package_copy_native_lib_unstripped") { | 1300 copy("cronet_package_copy_native_lib_unstripped") { |
| 1300 sources = [ | 1301 sources = [ |
| 1301 "$root_out_dir/lib.unstripped/libcronet.so", | 1302 "$root_out_dir/lib.unstripped/libcronet.$chrome_version_full.so", |
| 1302 ] | 1303 ] |
| 1303 outputs = [ | 1304 outputs = [ |
| 1304 "$_package_dir/symbols/${android_app_abi}/libcronet.so", | 1305 "$_package_dir/symbols/${android_app_abi}/libcronet.$chrome_version_full.so" , |
| 1305 ] | 1306 ] |
| 1306 deps = [ | 1307 deps = [ |
| 1307 ":cronet", | 1308 ":cronet", |
| 1308 ] | 1309 ] |
| 1309 } | 1310 } |
| 1310 | 1311 |
| 1311 copy("cronet_package_copy_native_test_lib") { | 1312 copy("cronet_package_copy_native_test_lib") { |
| 1312 testonly = true | 1313 testonly = true |
| 1313 sources = [ | 1314 sources = [ |
| 1314 "$root_out_dir/libcronet_tests.so", | 1315 "$root_out_dir/libcronet_tests.so", |
| (...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1493 deps = [ | 1494 deps = [ |
| 1494 ":cronet_package_copy_native_test_lib", | 1495 ":cronet_package_copy_native_test_lib", |
| 1495 ":cronet_package_copy_native_test_lib_unstripped", | 1496 ":cronet_package_copy_native_test_lib_unstripped", |
| 1496 ":cronet_package_copy_test_assets", | 1497 ":cronet_package_copy_test_assets", |
| 1497 ":cronet_package_copy_test_files", | 1498 ":cronet_package_copy_test_files", |
| 1498 ":cronet_package_copy_test_support_apks", | 1499 ":cronet_package_copy_test_support_apks", |
| 1499 ":repackage_extracted_test_jars", | 1500 ":repackage_extracted_test_jars", |
| 1500 ] | 1501 ] |
| 1501 } | 1502 } |
| 1502 } | 1503 } |
| OLD | NEW |