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

Side by Side Diff: ui/android/BUILD.gn

Issue 929903002: Remove cc dependency from ui/base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Revert changes in ui/PRESUBMIT.py Created 5 years, 9 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
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_android.cc ('k') | ui/android/DEPS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 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/android/rules.gni") 5 import("//build/config/android/rules.gni")
6 import("//testing/test.gni") 6 import("//testing/test.gni")
7 7
8 assert(is_android) 8 assert(is_android)
9 9
10 component("android") { 10 component("android") {
11 output_name = "ui_android" 11 output_name = "ui_android"
12 sources = [ 12 sources = [
13 "resources/resource_manager.cc", 13 "resources/resource_manager.cc",
14 "resources/resource_manager.h", 14 "resources/resource_manager.h",
15 "resources/resource_manager_impl.cc", 15 "resources/resource_manager_impl.cc",
16 "resources/resource_manager_impl.h", 16 "resources/resource_manager_impl.h",
17 "resources/ui_resource_android.cc", 17 "resources/ui_resource_android.cc",
18 "resources/ui_resource_android.h", 18 "resources/ui_resource_android.h",
19 "resources/ui_resource_client_android.h", 19 "resources/ui_resource_client_android.h",
20 "resources/ui_resource_provider.cc", 20 "resources/ui_resource_provider.cc",
21 "resources/ui_resource_provider.h", 21 "resources/ui_resource_provider.h",
22 "ui_android_export.h", 22 "ui_android_export.h",
23 "ui_android_jni_registrar.cc", 23 "ui_android_jni_registrar.cc",
24 "ui_android_jni_registrar.h", 24 "ui_android_jni_registrar.h",
25 "view_android.cc",
26 "view_android.h",
27 "window_android.cc",
28 "window_android.h",
29 "window_android_compositor.h",
30 "window_android_observer.h",
25 ] 31 ]
26 32
27 defines = [ "UI_ANDROID_IMPLEMENTATION" ] 33 defines = [ "UI_ANDROID_IMPLEMENTATION" ]
28 34
29 deps = [ 35 deps = [
30 "//base", 36 "//base",
31 "//cc", 37 "//cc",
32 "//skia", 38 "//skia",
33 "//ui/gfx", 39 "//ui/gfx",
34 "//ui/gfx/geometry", 40 "//ui/gfx/geometry",
35 ":ui_android_jni_headers", 41 ":ui_android_jni_headers",
36 ] 42 ]
37 } 43 }
38 44
39 generate_jni("ui_android_jni_headers") { 45 generate_jni("ui_android_jni_headers") {
40 sources = [ 46 sources = [
47 "java/src/org/chromium/ui/base/ViewAndroid.java",
48 "java/src/org/chromium/ui/base/WindowAndroid.java",
41 "java/src/org/chromium/ui/resources/ResourceManager.java", 49 "java/src/org/chromium/ui/resources/ResourceManager.java",
42 ] 50 ]
43 jni_package = "ui_android" 51 jni_package = "ui_android"
44 } 52 }
45 53
46 java_cpp_enum("java_enums_srcjar") { 54 java_cpp_enum("java_enums_srcjar") {
47 sources = [ 55 sources = [
48 "../base/ime/text_input_type.h", 56 "../base/ime/text_input_type.h",
49 "../base/page_transition_types.h", 57 "../base/page_transition_types.h",
50 "../base/touch/touch_device.h", 58 "../base/touch/touch_device.h",
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 "//base/test:test_support", 162 "//base/test:test_support",
155 "//cc", 163 "//cc",
156 "//skia", 164 "//skia",
157 "//testing/gtest", 165 "//testing/gtest",
158 "//ui/base", 166 "//ui/base",
159 "//ui/gfx", 167 "//ui/gfx",
160 "//ui/resources:ui_test_pak", 168 "//ui/resources:ui_test_pak",
161 ] 169 ]
162 apk_deps = [ ":ui_java" ] 170 apk_deps = [ ":ui_java" ]
163 } 171 }
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_android.cc ('k') | ui/android/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698