summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Vakulenko <avakulenko@google.com>2016-05-12 17:33:59 +0000
committerandroid-build-merger <android-build-merger@google.com>2016-05-12 17:33:59 +0000
commit9d0d2fcef421864bf7fa682ad7ad37144aea9302 (patch)
tree547aeb5bdbea82a2cceb8cb2243d7407a100fe20
parent99dc13926931cedfd2e4e582c33ef657d0645c5c (diff)
parentfc053cb0934e451ddb3514ec0fb153760ac11853 (diff)
downloadmodp_b64-9d0d2fcef421864bf7fa682ad7ad37144aea9302.tar.gz
modp_b64: Fix BUILD.gn to be able to build the library with GN am: 8a6dfb4ec3 am: b0bff9549b am: c5eaf1bed0
am: fc053cb093 * commit 'fc053cb0934e451ddb3514ec0fb153760ac11853': modp_b64: Fix BUILD.gn to be able to build the library with GN Change-Id: Ie8dbe4404a8c9863bad81540842a2c560355ab69
-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" ]
}