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

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

Issue 2061803002: 📰 The Status card reports disabled sync states (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@simplifyBridge
Patch Set: fix compilation: origins Created 4 years, 6 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 import("//build/config/ui.gni")
6
7 if (is_android) {
8 import("//build/config/android/config.gni")
9 import("//build/config/android/rules.gni")
10 }
11
5 # GYP version: components/ntp_snippets.gypi:ntp_snippets 12 # GYP version: components/ntp_snippets.gypi:ntp_snippets
6 source_set("ntp_snippets") { 13 source_set("ntp_snippets") {
7 sources = [ 14 sources = [
8 "ntp_snippet.cc", 15 "ntp_snippet.cc",
9 "ntp_snippet.h", 16 "ntp_snippet.h",
10 "ntp_snippets_constants.cc", 17 "ntp_snippets_constants.cc",
11 "ntp_snippets_constants.h", 18 "ntp_snippets_constants.h",
12 "ntp_snippets_database.cc", 19 "ntp_snippets_database.cc",
13 "ntp_snippets_database.h", 20 "ntp_snippets_database.h",
14 "ntp_snippets_fetcher.cc", 21 "ntp_snippets_fetcher.cc",
(...skipping 24 matching lines...) Expand all
39 "//components/data_use_measurement/core", 46 "//components/data_use_measurement/core",
40 "//components/image_fetcher", 47 "//components/image_fetcher",
41 "//components/metrics", 48 "//components/metrics",
42 "//components/ntp_snippets/proto", 49 "//components/ntp_snippets/proto",
43 "//components/variations", 50 "//components/variations",
44 "//third_party/icu/", 51 "//third_party/icu/",
45 "//ui/gfx", 52 "//ui/gfx",
46 ] 53 ]
47 } 54 }
48 55
56 if (is_android) {
57 java_cpp_enum("ntp_snippets_java_enums_srcjar") {
58 sources = [
59 "ntp_snippets_service.h",
60 ]
61 }
62 }
63
49 source_set("unit_tests") { 64 source_set("unit_tests") {
50 testonly = true 65 testonly = true
51 sources = [ 66 sources = [
52 "ntp_snippets_database_unittest.cc", 67 "ntp_snippets_database_unittest.cc",
53 "ntp_snippets_fetcher_unittest.cc", 68 "ntp_snippets_fetcher_unittest.cc",
54 "ntp_snippets_service_unittest.cc", 69 "ntp_snippets_service_unittest.cc",
55 ] 70 ]
56 71
57 deps = [ 72 deps = [
58 ":ntp_snippets", 73 ":ntp_snippets",
59 "//base", 74 "//base",
60 "//base/test:test_support", 75 "//base/test:test_support",
61 "//components/image_fetcher", 76 "//components/image_fetcher",
62 "//components/leveldb_proto:test_support", 77 "//components/leveldb_proto:test_support",
63 "//components/signin/core/browser:test_support", 78 "//components/signin/core/browser:test_support",
79 "//components/signin/core/common",
64 "//components/sync_driver:test_support", 80 "//components/sync_driver:test_support",
65 "//net:test_support", 81 "//net:test_support",
66 "//testing/gtest", 82 "//testing/gtest",
67 "//third_party/icu/", 83 "//third_party/icu/",
68 ] 84 ]
69 } 85 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698