Dan Willemsen | d3eac26 | 2017-09-08 22:47:47 -0700 | [diff] [blame] | 1 | // |
| 2 | // Copyright 2010 The Android Open Source Project |
| 3 | // |
| 4 | // Opaque Binary Blob (OBB) Tool |
| 5 | // |
| 6 | |
Bob Badour | e539dba | 2021-02-12 17:07:05 -0800 | [diff] [blame] | 7 | package { |
| 8 | // See: http://go/android-license-faq |
| 9 | // A large-scale-change added 'default_applicable_licenses' to import |
| 10 | // all of the 'license_kinds' from "frameworks_base_license" |
| 11 | // to get the below license kinds: |
| 12 | // SPDX-license-identifier-Apache-2.0 |
| 13 | default_applicable_licenses: ["frameworks_base_license"], |
| 14 | } |
| 15 | |
Dan Willemsen | d3eac26 | 2017-09-08 22:47:47 -0700 | [diff] [blame] | 16 | cc_binary_host { |
| 17 | name: "obbtool", |
| 18 | |
| 19 | srcs: ["Main.cpp"], |
| 20 | |
| 21 | cflags: [ |
| 22 | "-Wall", |
| 23 | "-Werror", |
| 24 | "-Wno-mismatched-tags", |
| 25 | ], |
| 26 | |
| 27 | static_libs: [ |
| 28 | "libandroidfw", |
| 29 | "libutils", |
| 30 | "libcutils", |
| 31 | "liblog", |
| 32 | ], |
| 33 | |
| 34 | // This tool is prebuilt if we're doing an app-only build. |
| 35 | product_variables: { |
| 36 | unbundled_build: { |
| 37 | enabled: false, |
| 38 | }, |
| 39 | }, |
| 40 | } |
| 41 | |
| 42 | //#################################################### |
| 43 | cc_binary_host { |
| 44 | name: "pbkdf2gen", |
| 45 | |
| 46 | cflags: [ |
| 47 | "-Wall", |
| 48 | "-Werror", |
| 49 | "-Wno-mismatched-tags", |
| 50 | ], |
| 51 | srcs: ["pbkdf2gen.cpp"], |
| 52 | static_libs: ["libcrypto"], |
| 53 | |
| 54 | // This tool is prebuilt if we're doing an app-only build. |
| 55 | product_variables: { |
| 56 | unbundled_build: { |
| 57 | enabled: false, |
| 58 | }, |
| 59 | }, |
| 60 | } |