| Index: base/BUILD.gn
|
| diff --git a/base/BUILD.gn b/base/BUILD.gn
|
| index 12d6d7c7a35114408ccccfb95e045848624de796..db691aca30ee474579af42e68a188da4e9efcca2 100644
|
| --- a/base/BUILD.gn
|
| +++ b/base/BUILD.gn
|
| @@ -555,6 +555,7 @@ component("base") {
|
| "metrics/user_metrics.cc",
|
| "metrics/user_metrics.h",
|
| "metrics/user_metrics_action.h",
|
| + "native_library.cc",
|
| "native_library.h",
|
| "native_library_ios.mm",
|
| "native_library_mac.mm",
|
| @@ -1135,6 +1136,7 @@ component("base") {
|
| "memory/discardable_shared_memory.cc",
|
| "memory/discardable_shared_memory.h",
|
| "memory/shared_memory_posix.cc",
|
| + "native_library.cc",
|
| "native_library_posix.cc",
|
| "path_service.cc",
|
| "process/kill.cc",
|
| @@ -2027,6 +2029,10 @@ test("base_unittests") {
|
| "//third_party/icu",
|
| ]
|
|
|
| + data_deps = [
|
| + ":native_library_test_library",
|
| + ]
|
| +
|
| if (is_ios || is_mac) {
|
| deps += [ ":base_unittests_arc" ]
|
| }
|
| @@ -2153,6 +2159,12 @@ test("base_unittests") {
|
| }
|
| }
|
|
|
| +shared_library("native_library_test_library") {
|
| + sources = [
|
| + "native_library_test_library.cc",
|
| + ]
|
| +}
|
| +
|
| action("build_date") {
|
| script = "//build/write_build_date_header.py"
|
|
|
|
|