af933290f6
Strings like cflags in Android.bp files are parsed by blueprint, written to build.ninja files, parsed by ninja, and then passed to /bin/sh -c. This had resulted in a combination of blueprint (\"), ninja ($$), and shell (\$) escaping being necessary. Soong has been updated to automatically handle ninja and shell escaping, remove extra escaping from Android.bp files. Bug: 31221587 Test: m -j Change-Id: I78003c7a18028d27dff444af7d84901345d323a1
29 lines
914 B
Text
29 lines
914 B
Text
// Copyright (C) 2013 The Android Open Source Project
|
|
//
|
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
// you may not use this file except in compliance with the License.
|
|
// You may obtain a copy of the License at
|
|
//
|
|
// http://www.apache.org/licenses/LICENSE-2.0
|
|
//
|
|
// Unless required by applicable law or agreed to in writing, software
|
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
// See the License for the specific language governing permissions and
|
|
// limitations under the License.
|
|
|
|
cc_library_static {
|
|
name: "libadfhwc",
|
|
srcs: ["adfhwc.cpp"],
|
|
static_libs: [
|
|
"libadf",
|
|
"liblog",
|
|
"libutils",
|
|
],
|
|
cflags: [
|
|
"-DLOG_TAG=\"adfhwc\"",
|
|
"-Werror",
|
|
],
|
|
local_include_dirs: ["include"],
|
|
export_include_dirs: ["include"],
|
|
}
|