1// Copyright 2006 The Android Open Source Project
2//
3
4// This tool is prebuilt if we're doing an app-only build.
5// ANDROIDMK TRANSLATION ERROR: unsupported conditional
6// ifeq ($(TARGET_BUILD_APPS)$(filter true,$(TARGET_BUILD_PDK)),)
7
8// dx java library
9// ============================================================
10package {
11    default_applicable_licenses: ["dalvik_dx_license"],
12}
13
14// Added automatically by a large-scale-change
15// See: http://go/android-license-faq
16license {
17    name: "dalvik_dx_license",
18    visibility: [":__subpackages__"],
19    license_kinds: [
20        "SPDX-license-identifier-Apache-2.0",
21    ],
22    license_text: [
23        "NOTICE",
24    ],
25}
26
27java_binary_host {
28    name: "dx",
29    wrapper: "etc/dx",
30    srcs: ["src/**/*.java"],
31    manifest: "etc/manifest.txt",
32    java_version: "1.7",
33    product_variables: {
34        pdk: {
35            enabled: false,
36        },
37    },
38}
39