| 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 import("//build/config/android/rules.gni") | 5 import("//build/config/android/rules.gni") | 
| 6 import("//third_party/ijar/ijar.gni") | 6 import("//third_party/ijar/ijar.gni") | 
| 7 | 7 | 
| 8 sun_tools_jar_path = "$root_gen_dir/sun_tools_jar/tools.jar" | 8 sun_tools_jar_path = "$root_gen_dir/sun_tools_jar/tools.jar" | 
| 9 | 9 | 
| 10 # Create or update the API versions cache if necessary by running a | 10 # Create or update the API versions cache if necessary by running a | 
| (...skipping 26 matching lines...) Expand all  Loading... | 
| 37 | 37 | 
| 38 generate_interface_jar("android_ijar") { | 38 generate_interface_jar("android_ijar") { | 
| 39   input_jar = android_sdk_jar | 39   input_jar = android_sdk_jar | 
| 40   output_jar = "$root_out_dir/lib.java/android.interface.jar" | 40   output_jar = "$root_out_dir/lib.java/android.interface.jar" | 
| 41 } | 41 } | 
| 42 | 42 | 
| 43 # Copy to the lib.unstripped directory so that gdb can easily find it. | 43 # Copy to the lib.unstripped directory so that gdb can easily find it. | 
| 44 copy("cpplib_unstripped") { | 44 copy("cpplib_unstripped") { | 
| 45   _soname = "libc++_shared.so" | 45   _soname = "libc++_shared.so" | 
| 46   sources = [ | 46   sources = [ | 
| 47     "${android_libcpp_root}/libs/${android_app_abi}/${_soname}", | 47     "${android_libcpp_lib_dir}/${_soname}", | 
| 48   ] | 48   ] | 
| 49   outputs = [ | 49   outputs = [ | 
| 50     "${root_out_dir}/lib.unstripped/${_soname}", | 50     "${root_out_dir}/lib.unstripped/${_soname}", | 
| 51   ] | 51   ] | 
| 52 } | 52 } | 
| 53 | 53 | 
| 54 action("cpplib_stripped") { | 54 action("cpplib_stripped") { | 
| 55   _strip_bin = "${android_tool_prefix}strip" | 55   _strip_bin = "${android_tool_prefix}strip" | 
| 56   _soname = "libc++_shared.so" | 56   _soname = "libc++_shared.so" | 
| 57   _input_so = "${root_out_dir}/lib.unstripped/${_soname}" | 57   _input_so = "${root_out_dir}/lib.unstripped/${_soname}" | 
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 126   _target_name = get_path_info(script, "name") + "_wrapper" | 126   _target_name = get_path_info(script, "name") + "_wrapper" | 
| 127   _wrapper_targets += [ ":$_target_name" ] | 127   _wrapper_targets += [ ":$_target_name" ] | 
| 128   wrapper_script(_target_name) { | 128   wrapper_script(_target_name) { | 
| 129     target = script | 129     target = script | 
| 130   } | 130   } | 
| 131 } | 131 } | 
| 132 | 132 | 
| 133 group("wrapper_scripts") { | 133 group("wrapper_scripts") { | 
| 134   deps = _wrapper_targets | 134   deps = _wrapper_targets | 
| 135 } | 135 } | 
| OLD | NEW | 
|---|