Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: third_party/libadblockplus_android/BUILD.gn

Issue 29670562: Issue 6272 - Can't sync because of changes in android_tools (Closed)
Patch Set: Created Jan. 16, 2018, 7:43 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | third_party/libadblockplus_android/prepare_build_tools.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 import("//build/config/android/rules.gni") 1 import("//build/config/android/rules.gni")
2 2
3 # Copy libadblockplus headers 3 # Copy libadblockplus headers
4 copy("copy_libadblockplus_include") { 4 copy("copy_libadblockplus_include") {
5 sources = [ "//third_party/libadblockplus/include" ] 5 sources = [ "//third_party/libadblockplus/include" ]
6 outputs = [ "${target_out_dir}/libadblockplus-binaries/include" ] 6 outputs = [ "${target_out_dir}/libadblockplus-binaries/include" ]
7 } 7 }
8 8
9 if (target_cpu == "arm") { 9 if (target_cpu == "arm") {
10 _abi_directory = "armeabi-v7a" 10 _abi_directory = "armeabi-v7a"
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 _arm_outputs_dir = "${target_out_dir}/libadblockplus-binaries/android_${_abi_d irectory}" 52 _arm_outputs_dir = "${target_out_dir}/libadblockplus-binaries/android_${_abi_d irectory}"
53 53
54 sources = [ "${target_out_dir}/../../../libv8_libbase.cr.so" ] 54 sources = [ "${target_out_dir}/../../../libv8_libbase.cr.so" ]
55 outputs = [ "${_arm_outputs_dir}/libv8_libbase.cr.so" ] 55 outputs = [ "${_arm_outputs_dir}/libv8_libbase.cr.so" ]
56 } 56 }
57 57
58 _cwd = rebase_path(".") 58 _cwd = rebase_path(".")
59 _build_dir = "${target_out_dir}/build" 59 _build_dir = "${target_out_dir}/build"
60 _abs_build_dir = rebase_path("${_build_dir}") 60 _abs_build_dir = rebase_path("${_build_dir}")
61 _abs_libadblockplus_dir = rebase_path("//third_party/libadblockplus") 61 _abs_libadblockplus_dir = rebase_path("//third_party/libadblockplus")
62 _abs_sdk_dir = rebase_path("//third_party/android_tools/sdk") 62 _abs_sdk_dir = rebase_path("//third_party/libadblockplus_android/third_party/and roid_sdk")
63 63
64 _libadblockplus_binaries_dir = "${target_out_dir}/libadblockplus-binaries" 64 _libadblockplus_binaries_dir = "${target_out_dir}/libadblockplus-binaries"
65 _abs_libadblockplus_binaries_dir = rebase_path("${_libadblockplus_binaries_dir}" ) 65 _abs_libadblockplus_binaries_dir = rebase_path("${_libadblockplus_binaries_dir}" )
66 66
67 action("clear") { 67 action("clear") {
68 script = "clear.py" 68 script = "clear.py"
69 args = [ 69 args = [
70 "${_cwd}/libadblockplus-android/.externalNativeBuild" 70 "${_cwd}/libadblockplus-android/.externalNativeBuild"
71 ] 71 ]
72 outputs = [ 72 outputs = [
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 _settings_aar_path = rebase_path("${_build_dir}/libadblockplus-android-settings/ outputs/aar/libadblockplus-android-settings-release.aar") 181 _settings_aar_path = rebase_path("${_build_dir}/libadblockplus-android-settings/ outputs/aar/libadblockplus-android-settings-release.aar")
182 android_aar_prebuilt("settings_aar_java") { 182 android_aar_prebuilt("settings_aar_java") {
183 unpack_deps = [ 183 unpack_deps = [
184 ":make" 184 ":make"
185 ] 185 ]
186 aar_path = "$_settings_aar_path" 186 aar_path = "$_settings_aar_path"
187 info_path = "$_settings_info_path" 187 info_path = "$_settings_info_path"
188 proguard_configs = [ "proguard-adblock.txt" ] 188 proguard_configs = [ "proguard-adblock.txt" ]
189 ignore_native_libraries = false 189 ignore_native_libraries = false
190 } 190 }
OLDNEW
« no previous file with comments | « no previous file | third_party/libadblockplus_android/prepare_build_tools.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld