| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 if (is_android) { | 5 if (is_android) { |
| 6 import("//build/config/android/rules.gni") | 6 import("//build/config/android/rules.gni") |
| 7 } | 7 } |
| 8 | 8 |
| 9 static_library("variations") { | 9 static_library("variations") { |
| 10 sources = [ | 10 sources = [ |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 45 "//components/variations/proto", | 45 "//components/variations/proto", |
| 46 "//third_party/mt19937ar", | 46 "//third_party/mt19937ar", |
| 47 ] | 47 ] |
| 48 | 48 |
| 49 if (is_android) { | 49 if (is_android) { |
| 50 deps += [ ":jni" ] | 50 deps += [ ":jni" ] |
| 51 } | 51 } |
| 52 } | 52 } |
| 53 | 53 |
| 54 if (is_android) { | 54 if (is_android) { |
| 55 # GYP: //components/variations.gypi:variations_jni_headers |
| 55 generate_jni("jni") { | 56 generate_jni("jni") { |
| 56 sources = [ | 57 sources = [ |
| 57 "android/java/src/org/chromium/components/variations/VariationsAssociatedD
ata.java", | 58 "android/java/src/org/chromium/components/variations/VariationsAssociatedD
ata.java", |
| 58 ] | 59 ] |
| 59 jni_package = "variations" | 60 jni_package = "variations" |
| 60 } | 61 } |
| 61 } | 62 } |
| OLD | NEW |