diff options
author | Dan Willemsen <dwillemsen@google.com> | 2018-10-31 10:17:02 -0700 |
---|---|---|
committer | Dan Willemsen <dwillemsen@google.com> | 2018-10-31 10:17:02 -0700 |
commit | b9548b70742ac3557a5dd3f71a18da5650c5dbed (patch) | |
tree | b800e0cb9d80b9fef6e08adff277ec25dc86bc44 | |
parent | f2bd35679fddceaad692f7bf1bb48962e71df507 (diff) | |
download | dtc-b9548b70742ac3557a5dd3f71a18da5650c5dbed.tar.gz |
Convert (further) to Android.bpandroid-wear-8.0.0_r2android-o-mr1-iot-release-smart-display-r9android-o-mr1-iot-release-smart-display-r8android-o-mr1-iot-release-smart-display-r5android-o-mr1-iot-release-smart-display-r4android-o-mr1-iot-release-smart-clock-r6android-o-mr1-iot-release-smart-clock-r2android-o-mr1-iot-release-smart-clock-fsiandroid-o-mr1-iot-release-smart-clock-fcsandroid-o-mr1-iot-release-cube_r2android-o-mr1-iot-release-cube-fsiandroid-o-mr1-iot-release-cube-fcsandroid-o-mr1-iot-release-1.0.8android-o-mr1-iot-release-1.0.7android-n-iot-release-ihome-igv1nougat-iot-release
See build/soong/README.md for more information
Test: cd external/dtc; mma
Test: check for dtc in build artifacts
Change-Id: I2bdd1a2fc41d3e5c61de3c05f1097a8ddb7e1ea9
-rw-r--r-- | Android.bp | 33 | ||||
-rw-r--r-- | Android.mk | 30 |
2 files changed, 30 insertions, 33 deletions
@@ -1,3 +1,30 @@ -subdirs = [ - "libfdt" -] +// Copyright 2016 The Android Open Source Project + +cc_binary_host { + name: "dtc", + + cflags: [ + "-Wall", + "-Werror", + "-Wno-sign-compare", + "-Wno-missing-field-initializers", + "-Wno-unused-parameter", + ], + srcs: [ + "checks.c", + "data.c", + "dtc.c", + "dtc-lexer.l", + "dtc-parser.y", + "flattree.c", + "fstree.c", + "livetree.c", + "srcpos.c", + "treesource.c", + "util.c", + ], + + static_libs: ["libfdt"], + + stl: "none", +} @@ -1,33 +1,3 @@ # Copyright 2016 The Android Open Source Project -LOCAL_PATH:= $(call my-dir) -include $(CLEAR_VARS) - -LOCAL_CFLAGS := \ - -Wall \ - -Werror \ - -Wno-sign-compare \ - -Wno-missing-field-initializers \ - -Wno-unused-parameter -LOCAL_SRC_FILES := \ - checks.c \ - data.c \ - dtc.c \ - dtc-lexer.l \ - dtc-parser.y \ - flattree.c \ - fstree.c \ - livetree.c \ - srcpos.c \ - treesource.c \ - util.c - -LOCAL_STATIC_LIBRARIES := \ - libfdt -LOCAL_CXX_STL := none - -LOCAL_MODULE := dtc - -include $(BUILD_HOST_EXECUTABLE) - $(call dist-for-goals, dist_files, $(ALL_MODULES.dtc.BUILT):dtc/dtc) |