diff options
author | android-build-team Robot <android-build-team-robot@google.com> | 2017-11-30 09:01:15 +0000 |
---|---|---|
committer | android-build-team Robot <android-build-team-robot@google.com> | 2017-11-30 09:01:15 +0000 |
commit | 7d1a926995c3cb5119324192a4b58ac93b653638 (patch) | |
tree | d01c1983a65a89509eca4ad18cb36109b8b96106 | |
parent | 5d32c3006031fe10270a6efb273391550d7e09d0 (diff) | |
parent | 3fc687df5eb71ef99f3b0e98c5252fcfa54833f2 (diff) | |
download | platform_external_libbrillo-7d1a926995c3cb5119324192a4b58ac93b653638.tar.gz platform_external_libbrillo-7d1a926995c3cb5119324192a4b58ac93b653638.tar.bz2 platform_external_libbrillo-7d1a926995c3cb5119324192a4b58ac93b653638.zip |
Snap for 4476081 from 3fc687df5eb71ef99f3b0e98c5252fcfa54833f2 to pi-release
Change-Id: I329efc1446c2d0a2e304482b9d8e4ee2001c444d
-rw-r--r-- | Android.bp | 17 | ||||
-rw-r--r-- | Android.mk | 23 |
2 files changed, 17 insertions, 23 deletions
@@ -165,6 +165,23 @@ cc_library_shared { export_include_dirs: ["."], } +// Shared minijail library for target +// ======================================================== +cc_library_shared { + name: "libbrillo-minijail", + srcs: [ + "brillo/minijail/minijail.cc", + ], + shared_libs: [ + "libchrome", + "libbrillo", + "libminijail", + ], + static_libs: ["libgtest_prod"], + cflags: libbrillo_CFLAGS, + export_include_dirs: ["."], +} + // Shared and static stream library for target and host // ======================================================== cc_library { @@ -12,29 +12,6 @@ # See the License for the specific language governing permissions and # limitations under the License. -# Default values for the USE flags. Override these USE flags from your product -# by setting BRILLO_USE_* values. Note that we define local variables like -# local_use_* to prevent leaking our default setting for other packages. - -LOCAL_PATH := $(call my-dir) - -libbrillo_CFLAGS := \ - -Wall \ - -Werror - -# Shared minijail library for target -# ======================================================== -include $(CLEAR_VARS) -LOCAL_CPP_EXTENSION := .cc -LOCAL_MODULE := libbrillo-minijail -LOCAL_SRC_FILES := brillo/minijail/minijail.cc -LOCAL_SHARED_LIBRARIES := libchrome libbrillo libminijail -LOCAL_STATIC_LIBRARIES := libgtest_prod -LOCAL_CFLAGS := $(libbrillo_CFLAGS) -LOCAL_CLANG := true -LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH) -include $(BUILD_SHARED_LIBRARY) - # Run unit tests on target # ======================================================== # We su shell because process tests try setting "illegal" |