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

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

Issue 1535833002: Delete CC. (Closed) Base URL: git@github.com:domokit/mojo.git@moz-5
Patch Set: rebase Created 4 years, 10 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 | « skia/BUILD.gn ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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") 5 import("//build/config/ui.gni")
6 6
7 if (is_android) { 7 if (is_android) {
8 import("//build/config/android/config.gni") 8 import("//build/config/android/config.gni")
9 import("//build/config/android/rules.gni") 9 import("//build/config/android/rules.gni")
10 } 10 }
11 11
12 component("base") { 12 component("base") {
13 output_name = "ui_base" 13 output_name = "ui_base"
14 sources = [ 14 sources = [
15 "accelerators/accelerator.cc", 15 "accelerators/accelerator.cc",
16 "accelerators/accelerator.h", 16 "accelerators/accelerator.h",
17 "accelerators/accelerator_history.cc", 17 "accelerators/accelerator_history.cc",
18 "accelerators/accelerator_history.h", 18 "accelerators/accelerator_history.h",
19 "accelerators/accelerator_manager.cc", 19 "accelerators/accelerator_manager.cc",
20 "accelerators/accelerator_manager.h", 20 "accelerators/accelerator_manager.h",
21 "accelerators/platform_accelerator.h", 21 "accelerators/platform_accelerator.h",
22 ] 22 ]
23 23
24 defines = [ "UI_BASE_IMPLEMENTATION" ] 24 defines = [ "UI_BASE_IMPLEMENTATION" ]
25 25
26 public_deps = [ 26 public_deps = [
27 "//base", 27 "//base",
28 "//skia", 28 "//skia",
29 "//ui/events", 29 "//ui/events",
30 "//ui/events:events_base",
30 "//ui/events/platform", 31 "//ui/events/platform",
31 "//ui/events:events_base",
32 "//ui/gfx", 32 "//ui/gfx",
33 "//ui/gfx/geometry", 33 "//ui/gfx/geometry",
34 ] 34 ]
35 deps = [ 35 deps = [
36 "//base/third_party/dynamic_annotations",
37 "//base:base_static", 36 "//base:base_static",
38 "//base:i18n", 37 "//base:i18n",
38 "//base/third_party/dynamic_annotations",
39 "//third_party/icu", 39 "//third_party/icu",
40 "//url", 40 "//url",
41 ] 41 ]
42 42
43 libs = [] 43 libs = []
44 44
45 if (use_x11) { 45 if (use_x11) {
46 #'all_dependent_settings': { 46 #'all_dependent_settings': {
47 #'ldflags': [ 47 #'ldflags': [
48 #'-L<(PRODUCT_DIR)', 48 #'-L<(PRODUCT_DIR)',
49 #], 49 #],
50 #}, 50 #},
51 configs += [ "//build/config/linux:x11" ] 51 configs += [ "//build/config/linux:x11" ]
52 } 52 }
53 53
54 if (is_android) { 54 if (is_android) {
55 deps += [ 55 deps += [ ":ui_base_jni_headers" ]
56 ":ui_base_jni_headers",
57 "//cc",
58 ]
59 56
60 libs += [ "jnigraphics" ] 57 libs += [ "jnigraphics" ]
61 } 58 }
62 } 59 }
63 60
64 if (is_android) { 61 if (is_android) {
65 generate_jni("ui_base_jni_headers") { 62 generate_jni("ui_base_jni_headers") {
66 sources = [ 63 sources = [
67 "../android/java/src/org/chromium/ui/base/DeviceFormFactor.java", 64 "../android/java/src/org/chromium/ui/base/DeviceFormFactor.java",
68 "../android/java/src/org/chromium/ui/base/SelectFileDialog.java", 65 "../android/java/src/org/chromium/ui/base/SelectFileDialog.java",
69 "../android/java/src/org/chromium/ui/base/ViewAndroid.java", 66 "../android/java/src/org/chromium/ui/base/ViewAndroid.java",
70 "../android/java/src/org/chromium/ui/base/WindowAndroid.java", 67 "../android/java/src/org/chromium/ui/base/WindowAndroid.java",
71 ] 68 ]
72 jni_package = "base" 69 jni_package = "base"
73 } 70 }
74 } 71 }
OLDNEW
« no previous file with comments | « skia/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698