summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Vakulenko <avakulenko@google.com>2016-05-12 17:28:42 +0000
committerandroid-build-merger <android-build-merger@google.com>2016-05-12 17:28:42 +0000
commitfc053cb0934e451ddb3514ec0fb153760ac11853 (patch)
tree547aeb5bdbea82a2cceb8cb2243d7407a100fe20
parent99dc13926931cedfd2e4e582c33ef657d0645c5c (diff)
parentc5eaf1bed04c7c31a719ec77bf5af2eaa7463534 (diff)
downloadmodp_b64-fc053cb0934e451ddb3514ec0fb153760ac11853.tar.gz
modp_b64: Fix BUILD.gn to be able to build the library with GN am: 8a6dfb4ec3 am: b0bff9549b
am: c5eaf1bed0 * commit 'c5eaf1bed04c7c31a719ec77bf5af2eaa7463534': modp_b64: Fix BUILD.gn to be able to build the library with GN Change-Id: I646a82ad63e4a33e21690e355b5c0556f5000d50
-rw-r--r--BUILD.gn11
1 files changed, 7 insertions, 4 deletions
diff --git a/BUILD.gn b/BUILD.gn
index cd322ac..11c3127 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -2,14 +2,17 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
+config("modp_b64_config") {
+ include_dirs = [ "." ]
+}
+
source_set("modp_b64") {
sources = [
"modp_b64.cc",
- "modp_b64.h",
+ "modp_b64/modp_b64.h",
"modp_b64_data.h",
]
- include_dirs = [
- "./modp_b64",
- ]
+ public_configs = [ ":modp_b64_config" ]
+ include_dirs = [ "modp_b64" ]
}