mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-11-24 14:26:09 +03:00
38 lines
907 B
Plaintext
38 lines
907 B
Plaintext
# Copyright 2018 The Chromium Authors. All rights reserved.
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
# found in the LICENSE file.
|
|
|
|
import("//build/config/android/rules.gni")
|
|
|
|
java_prebuilt("libdynamite_client_java") {
|
|
supports_android = true
|
|
proguard_configs = [ "proguard-arcore.txt" ]
|
|
jar_path = "libarcore_client_c.jar"
|
|
}
|
|
|
|
source_set("libarcore_sdk") {
|
|
deps = [
|
|
":libarcore_library",
|
|
]
|
|
libs = [ "${root_out_dir}/libarcore_sdk_c_minimal.so" ]
|
|
}
|
|
|
|
copy("libarcore_library") {
|
|
if (current_cpu == "arm") {
|
|
sources = [
|
|
"libraries/android_arm/libarcore_sdk_c_minimal.so",
|
|
]
|
|
} else if (current_cpu == "arm64") {
|
|
sources = [
|
|
"libraries/android_arm64/libarcore_sdk_c_minimal.so",
|
|
]
|
|
}
|
|
outputs = [
|
|
"${root_out_dir}/libarcore_sdk_c_minimal.so",
|
|
]
|
|
}
|
|
|
|
config("libarcore_config") {
|
|
include_dirs = [ "src/libraries/include/" ]
|
|
}
|