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

Side by Side Diff: components/sessions/BUILD.gn

Issue 666813002: GN: Fix Android component build (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gn-clank
Patch Set: Created 6 years, 2 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 unified diff | Download patch
OLDNEW
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/config.gni") 6 import("//build/config/android/config.gni")
7 } 7 }
8 8
9 component("sessions") { 9 component("sessions") {
10 sources = [ 10 sources = [
(...skipping 10 matching lines...) Expand all
21 "session_id.h", 21 "session_id.h",
22 ] 22 ]
23 23
24 defines = [ "SESSIONS_IMPLEMENTATION" ] 24 defines = [ "SESSIONS_IMPLEMENTATION" ]
25 25
26 deps = [ 26 deps = [
27 "//base", 27 "//base",
28 "//base/third_party/dynamic_annotations", 28 "//base/third_party/dynamic_annotations",
29 "//content/public/browser", 29 "//content/public/browser",
30 "//skia", 30 "//skia",
31 "//third_party/protobuf:protobuf_lite",
31 "//ui/base", 32 "//ui/base",
32 "//url", 33 "//url",
33 ] 34 ]
34 35
35 if (!is_android || !is_android_webview_build) { 36 if (!is_android || !is_android_webview_build) {
36 deps += [ "//sync" ] 37 deps += [ "//sync" ]
37 } 38 }
38 } 39 }
39 40
40 static_library("test_support") { 41 static_library("test_support") {
41 testonly = true 42 testonly = true
42 sources = [ 43 sources = [
43 "serialized_navigation_entry_test_helper.cc", 44 "serialized_navigation_entry_test_helper.cc",
44 "serialized_navigation_entry_test_helper.h", 45 "serialized_navigation_entry_test_helper.h",
45 ] 46 ]
46 47
47 deps = [ 48 deps = [
48 "//skia", 49 "//skia",
49 "//testing/gtest", 50 "//testing/gtest",
50 ] 51 ]
51 52
52 if (!is_android || !is_android_webview_build) { 53 if (!is_android || !is_android_webview_build) {
53 deps += [ "//sync" ] 54 deps += [ "//sync" ]
54 } 55 }
55 } 56 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698