diff options
author | Hidehiko Abe <hidehiko@chromium.org> | 2018-12-18 04:26:55 +0900 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-12-18 00:42:55 -0800 |
commit | 6fea5a4c74e9520452f7a16031a6f7eb206d8a0d (patch) | |
tree | 27dbd5e7cd00144b36a09c33ef3242a7f159ff3a /BUILD.gn | |
parent | 4941951a83ba810f01efcc0914d59b64171db084 (diff) | |
download | platform_external_libchrome-6fea5a4c74e9520452f7a16031a6f7eb206d8a0d.tar.gz platform_external_libchrome-6fea5a4c74e9520452f7a16031a6f7eb206d8a0d.tar.bz2 platform_external_libchrome-6fea5a4c74e9520452f7a16031a6f7eb206d8a0d.zip |
libchrome: Fix libchrome-test-${BASE_VER} link option.
- Fix the library name.
- Fix not to use thin archive.
BUG=chromium:807158
TEST=Build locally.
Change-Id: I420e213a4a9f08e1f5147874e0b974e79ae2f357
Reviewed-on: https://chromium-review.googlesource.com/1381011
Commit-Ready: Hidehiko Abe <hidehiko@chromium.org>
Tested-by: Hidehiko Abe <hidehiko@chromium.org>
Reviewed-by: Shuhei Takahashi <nya@chromium.org>
Diffstat (limited to 'BUILD.gn')
-rw-r--r-- | BUILD.gn | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -414,6 +414,10 @@ foreach(attr, libbase_sublibs) { configs += [ ":" + attr.name + "-pkg-config" ] } configs += [ "//common-mk:visibility_default" ] + if (buildtype == "static_library") { + configs -= [ "//common-mk:use_thin_archive" ] + configs += [ "//common-mk:nouse_thin_archive" ] + } if (defined(attr.configs)) { configs += attr.configs } @@ -506,7 +510,7 @@ generate_pkg_config("libchrome-test") { requires_private += attr.pkg_deps } } - libs = [ "base-${libbase_ver}" ] + libs = [ "base-test-${libbase_ver}" ] libs_private = [] foreach(attr, libbase_sublibs) { if (defined(attr.testonly) && attr.testonly) { |