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

Side by Side Diff: blimp/client/core/settings/BUILD.gn

Issue 2624903006: Remove all blimp client code. (Closed)
Patch Set: Update buildbot configuration Created 3 years, 11 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
(Empty)
1 # Copyright 2016 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 if (is_android) {
6 import("//build/config/android/config.gni")
7 import("//build/config/android/rules.gni")
8 }
9
10 source_set("settings") {
11 visibility = [ "//blimp/client/core/*" ]
12
13 sources = [
14 "blimp_settings_delegate.h",
15 "settings.cc",
16 "settings.h",
17 "settings_feature.cc",
18 "settings_feature.h",
19 "settings_observer.h",
20 "settings_prefs.cc",
21 "settings_prefs.h",
22 "user_agent.cc",
23 "user_agent.h",
24 ]
25
26 deps = [
27 "//blimp/client/core/switches",
28 "//blimp/common",
29 "//components/prefs",
30 "//net",
31 ]
32
33 public_deps = [
34 "//base",
35 "//blimp/net",
36 ]
37
38 if (is_android) {
39 sources += [
40 "android/blimp_settings_android.cc",
41 "android/blimp_settings_android.h",
42 "android/settings_android.cc",
43 "android/settings_android.h",
44 "android/settings_observer_proxy.cc",
45 "android/settings_observer_proxy.h",
46 ]
47
48 deps += [
49 ":settings_jni_headers",
50 "//blimp/client/core/session",
51 "//blimp/common",
52 ]
53 }
54 }
55
56 source_set("unit_tests") {
57 visibility = [ "//blimp/client/core:unit_tests" ]
58
59 testonly = true
60
61 sources = [
62 "settings_unittest.cc",
63 ]
64
65 deps = [
66 ":settings",
67 "//base",
68 "//blimp/client/core/switches:switches",
69 "//components/prefs:test_support",
70 "//testing/gmock",
71 "//testing/gtest",
72 ]
73 }
74
75 if (is_android) {
76 android_library("settings_java") {
77 visibility = [
78 "//blimp/client/app:blimp_test_java_core_deps",
79 "//blimp/client/core/*",
80 ]
81
82 java_files = [
83 "android/java/src/org/chromium/blimp/core/settings/AboutBlimpPreferences.j ava",
84 "android/java/src/org/chromium/blimp/core/settings/BlimpPreferencesDelegat e.java",
85 "android/java/src/org/chromium/blimp/core/settings/EmptySettingsObserver.j ava",
86 "android/java/src/org/chromium/blimp/core/settings/Settings.java",
87 "android/java/src/org/chromium/blimp/core/settings/SettingsObserver.java",
88 "android/java/src/org/chromium/blimp/core/settings/SettingsObserverProxy.j ava",
89 ]
90
91 # TODO(xingliu): Clean resources files in the future. http://crbug.com/63068 7.
92 deps = [
93 "//base:base_java",
94 "//blimp/client/core/common:common_java",
95 "//blimp/client/core/resources:java_resources",
96 "//blimp/client/public:public_headers_java",
97 "//components/signin/core/browser/android:java",
98 "//components/sync/android:sync_java",
99 "//third_party/android_tools:android_support_v7_appcompat_java",
100 ]
101 }
102
103 generate_jni("settings_jni_headers") {
104 visibility = [ ":*" ]
105
106 sources = [
107 "android/java/src/org/chromium/blimp/core/settings/AboutBlimpPreferences.j ava",
108 "android/java/src/org/chromium/blimp/core/settings/Settings.java",
109 "android/java/src/org/chromium/blimp/core/settings/SettingsObserverProxy.j ava",
110 ]
111
112 jni_package = "blimp/client/core/settings"
113 }
114 }
OLDNEW
« no previous file with comments | « blimp/client/core/session/test_selfsigned_cert.pem ('k') | blimp/client/core/settings/android/blimp_settings_android.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698