forked from brave-intl/bat-native-ledger
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBUILD.gn
41 lines (35 loc) · 830 Bytes
/
BUILD.gn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
if (is_android) {
import("//build/config/android/rules.gni")
}
static_library("braveLedger") {
sources = [
"src/ledger.cc",
"src/bat_client.cc",
"src/bat_client_webrequest.cc",
"src/bat_helper.cc",
"src/bat_publisher.cc",
"src/bat_balance.cc",
"src/tweetnacl.cc",
]
include_dirs = [
"src",
"//anonize2/anon",
"//anonize2/relic/include",
"//anonize2/relic/include/low",
]
deps = [
"//base",
"//net",
"//anonize2",
]
include_dirs += [
"//base",
"//net/url_request",
"//content/public/browser",
"//third_party/leveldatabase/src/include",
]
defines = [ "LEDGER_LIBRARY" ]
}