Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(39)

Unified Diff: components/variations/BUILD.gn

Issue 502163002: Fix GN toolchains to use proper out dir. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/variations.gypi ('k') | mojo/services/surfaces/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/variations/BUILD.gn
diff --git a/components/variations/BUILD.gn b/components/variations/BUILD.gn
index 53384c3c67327dc4bf59ddba00a4a3d07ce7ce0b..da9ef09ab6755f17b20667f2f18bf59484d1d6f5 100644
--- a/components/variations/BUILD.gn
+++ b/components/variations/BUILD.gn
@@ -2,6 +2,10 @@
# 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("variations") {
sources = [
"active_field_trials.cc",
@@ -41,4 +45,17 @@ static_library("variations") {
"//components/variations/proto",
"//third_party/mt19937ar",
]
+
+ if (is_android) {
+ deps += [ ":jni" ]
+ }
+}
+
+if (is_android) {
+ generate_jni("jni") {
+ sources = [
+ "android/java/src/org/chromium/components/variations/VariationsAssociatedData.java",
+ ]
+ jni_package = "variations"
+ }
}
« no previous file with comments | « components/variations.gypi ('k') | mojo/services/surfaces/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698