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 source_set("variations") { | 9 source_set("variations") { |
10 sources = [ | 10 sources = [ |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 ] | 55 ] |
56 | 56 |
57 if (is_android || is_ios) { | 57 if (is_android || is_ios) { |
58 sources += [ | 58 sources += [ |
59 "variations_request_scheduler_mobile.cc", | 59 "variations_request_scheduler_mobile.cc", |
60 "variations_request_scheduler_mobile.h", | 60 "variations_request_scheduler_mobile.h", |
61 ] | 61 ] |
62 } | 62 } |
63 | 63 |
64 deps = [ | 64 deps = [ |
| 65 "proto", |
65 "//base", | 66 "//base", |
66 "//base:prefs", | 67 "//base:prefs", |
67 "//components/compression", | 68 "//components/compression", |
68 "//components/crash/core/common", | 69 "//components/crash/core/common", |
69 "//crypto", | 70 "//crypto", |
70 "//third_party/mt19937ar", | 71 "//third_party/mt19937ar", |
71 "//third_party/protobuf:protobuf_lite", | 72 "//third_party/protobuf:protobuf_lite", |
72 "proto", | |
73 ] | 73 ] |
74 | 74 |
75 if (is_android) { | 75 if (is_android) { |
76 deps += [ ":jni" ] | 76 deps += [ ":jni" ] |
77 } | 77 } |
78 } | 78 } |
79 | 79 |
80 if (is_android) { | 80 if (is_android) { |
81 # GYP: //components/variations.gypi:variations_jni_headers | 81 # GYP: //components/variations.gypi:variations_jni_headers |
82 generate_jni("jni") { | 82 generate_jni("jni") { |
(...skipping 21 matching lines...) Expand all Loading... |
104 "variations_seed_simulator_unittest.cc", | 104 "variations_seed_simulator_unittest.cc", |
105 "variations_seed_store_unittest.cc", | 105 "variations_seed_store_unittest.cc", |
106 ] | 106 ] |
107 | 107 |
108 if (is_android || is_ios) { | 108 if (is_android || is_ios) { |
109 sources += [ "variations_request_scheduler_mobile_unittest.cc" ] | 109 sources += [ "variations_request_scheduler_mobile_unittest.cc" ] |
110 } | 110 } |
111 | 111 |
112 deps = [ | 112 deps = [ |
113 ":variations", | 113 ":variations", |
| 114 "net", |
| 115 "proto", |
114 "//base:prefs_test_support", | 116 "//base:prefs_test_support", |
115 "//base/test:test_support", | 117 "//base/test:test_support", |
116 "//components/compression", | 118 "//components/compression", |
117 "//testing/gtest", | 119 "//testing/gtest", |
118 "net", | |
119 "proto", | |
120 ] | 120 ] |
121 } | 121 } |
OLD | NEW |