Commit ad2c0dc8 authored by Byoungkown's avatar Byoungkown Committed by Commit Bot

[Jumbo] Adding jumbo feature to be enable speed up builds

Enable jumbo build in components/rappor/.
Use jumbo build after adding "use_jumbo_build=true" args in GN.

Bug: None
Change-Id: I369479aa5f1215e5e0f2fc23e1546209c41e4aad
Reviewed-on: https://chromium-review.googlesource.com/1203670Reviewed-by: default avatarAlexei Svitkine <asvitkine@chromium.org>
Commit-Queue: Byoungkwon Ko <codeimpl@gmail.com>
Cr-Commit-Position: refs/heads/master@{#588508}
parent 3706d900
...@@ -2,9 +2,10 @@ ...@@ -2,9 +2,10 @@
# Use of this source code is governed by a BSD-style license that can be # Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file. # found in the LICENSE file.
import("//build/config/jumbo.gni")
import("//testing/test.gni") import("//testing/test.gni")
static_library("rappor") { jumbo_static_library("rappor") {
sources = [ sources = [
"bloom_filter.cc", "bloom_filter.cc",
"bloom_filter.h", "bloom_filter.h",
...@@ -48,7 +49,7 @@ static_library("rappor") { ...@@ -48,7 +49,7 @@ static_library("rappor") {
] ]
} }
static_library("rappor_recorder") { jumbo_static_library("rappor_recorder") {
sources = [ sources = [
"rappor_recorder_impl.cc", "rappor_recorder_impl.cc",
"rappor_recorder_impl.h", "rappor_recorder_impl.h",
...@@ -65,7 +66,7 @@ static_library("rappor_recorder") { ...@@ -65,7 +66,7 @@ static_library("rappor_recorder") {
] ]
} }
static_library("test_support") { jumbo_static_library("test_support") {
testonly = true testonly = true
sources = [ sources = [
"test_log_uploader.cc", "test_log_uploader.cc",
...@@ -83,7 +84,7 @@ static_library("test_support") { ...@@ -83,7 +84,7 @@ static_library("test_support") {
] ]
} }
source_set("unit_tests") { jumbo_source_set("unit_tests") {
testonly = true testonly = true
sources = [ sources = [
"bloom_filter_unittest.cc", "bloom_filter_unittest.cc",
......
...@@ -2,7 +2,9 @@ ...@@ -2,7 +2,9 @@
# Use of this source code is governed by a BSD-style license that can be # Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file. # found in the LICENSE file.
source_set("public") { import("//build/config/jumbo.gni")
jumbo_source_set("public") {
sources = [ sources = [
"rappor_parameters.h", "rappor_parameters.h",
"rappor_service.h", "rappor_service.h",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment