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

Side by Side Diff: chrome/browser/chromeos/BUILD.gn

Issue 754223003: gn format //chrome (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update for multiline output Created 6 years 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 | « chrome/browser/BUILD.gn ('k') | chrome/browser/devtools/BUILD.gn » ('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 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/features.gni") 5 import("//build/config/features.gni")
6 import("//build/config/ui.gni") 6 import("//build/config/ui.gni")
7 import("//components/nacl/nacl_defines.gni") 7 import("//components/nacl/nacl_defines.gni")
8 import("//media/media_options.gni") 8 import("//media/media_options.gni")
9 import("//third_party/protobuf/proto_library.gni") 9 import("//third_party/protobuf/proto_library.gni")
10 10
11 gypi_values = exec_script( 11 gypi_values = exec_script("//build/gypi_to_gn.py",
12 "//build/gypi_to_gn.py", 12 [ rebase_path("../../chrome_browser_chromeos.gypi") ],
13 [ rebase_path("../../chrome_browser_chromeos.gypi") ], 13 "scope",
14 "scope", 14 [ "chrome_browser_chromeos.gypi" ])
15 [ "chrome_browser_chromeos.gypi" ])
16 15
17 source_set("chromeos") { 16 source_set("chromeos") {
18 assert(enable_extensions, "ChromeOS Chrome has to be built with extensions") 17 assert(enable_extensions, "ChromeOS Chrome has to be built with extensions")
19 18
20 configs += [ 19 configs += [
21 "//build/config/compiler:wexit_time_destructors", 20 "//build/config/compiler:wexit_time_destructors",
22 "//build/config/linux:fontconfig", 21 "//build/config/linux:fontconfig",
23 ] 22 ]
24 23
25 public_deps = [ 24 public_deps = [
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 "//chrome/installer/util", 58 "//chrome/installer/util",
60 "//chromeos", 59 "//chromeos",
61 "//chromeos/ime:gencode", 60 "//chromeos/ime:gencode",
62 "//chromeos:cryptohome_proto", 61 "//chromeos:cryptohome_proto",
63 "//chromeos:cryptohome_signkey_proto", 62 "//chromeos:cryptohome_signkey_proto",
64 "//chromeos:power_manager_proto", 63 "//chromeos:power_manager_proto",
65 "//components/onc", 64 "//components/onc",
66 "//components/ownership", 65 "//components/ownership",
67 "//components/pairing", 66 "//components/pairing",
68 "//components/policy", 67 "//components/policy",
68
69 # This depends directly on the variations target, rather than just 69 # This depends directly on the variations target, rather than just
70 # transitively via the common target because the proto sources need to 70 # transitively via the common target because the proto sources need to
71 # be generated before code in this target can start building. 71 # be generated before code in this target can start building.
72 "//components/strings", 72 "//components/strings",
73 "//components/variations", 73 "//components/variations",
74 "//content/public/browser", 74 "//content/public/browser",
75 "//content/public/common", 75 "//content/public/common",
76 "//crypto", 76 "//crypto",
77 "//dbus", 77 "//dbus",
78 "//device/bluetooth", 78 "//device/bluetooth",
79 "//device/hid", 79 "//device/hid",
80 "//media", 80 "//media",
81 "//net", 81 "//net",
82 "//ppapi:ppapi_ipc", # For PpapiMsg_LoadPlugin 82 "//ppapi:ppapi_ipc", # For PpapiMsg_LoadPlugin
83
83 # TODO: care about enable_basic_printing and enable_print_preview. 84 # TODO: care about enable_basic_printing and enable_print_preview.
84 "//printing", 85 "//printing",
85 "//skia", 86 "//skia",
86 "//storage/browser", 87 "//storage/browser",
87 "//storage/common", 88 "//storage/common",
88 "//sync", 89 "//sync",
89 "//third_party/adobe/flash:flapper_version_h", 90 "//third_party/adobe/flash:flapper_version_h",
90 "//third_party/cacheinvalidation", 91 "//third_party/cacheinvalidation",
91 "//third_party/expat", 92 "//third_party/expat",
92 "//third_party/hunspell", 93 "//third_party/hunspell",
(...skipping 24 matching lines...) Expand all
117 "//ui/web_dialogs", 118 "//ui/web_dialogs",
118 "//url", 119 "//url",
119 "//v8", 120 "//v8",
120 ":attestation_proto", 121 ":attestation_proto",
121 ":device_policy_proto", 122 ":device_policy_proto",
122 ":drive_proto", 123 ":drive_proto",
123 ] 124 ]
124 125
125 defines = nacl_defines 126 defines = nacl_defines
126 127
127 sources = rebase_path(gypi_values.browser_chromeos_sources, 128 sources = rebase_path(gypi_values.browser_chromeos_sources, ".", "//chrome") +
128 ".", "//chrome") +
129 rebase_path(gypi_values.browser_chromeos_extension_sources, 129 rebase_path(gypi_values.browser_chromeos_extension_sources,
130 ".", "//chrome") 130 ".",
131 "//chrome")
131 if (use_athena) { 132 if (use_athena) {
132 defines += ["USE_ATHENA=1"] 133 defines += [ "USE_ATHENA=1" ]
133 } else { 134 } else {
134 sources += rebase_path( 135 sources +=
135 gypi_values.browser_chromeos_non_athena_sources, 136 rebase_path(gypi_values.browser_chromeos_non_athena_sources,
136 ".", "//chrome") + 137 ".",
138 "//chrome") +
137 rebase_path(gypi_values.browser_chromeos_extension_non_athena_sources, 139 rebase_path(gypi_values.browser_chromeos_extension_non_athena_sources,
138 ".", "//chrome") 140 ".",
141 "//chrome")
139 } 142 }
140 143
141 if (use_x11) { 144 if (use_x11) {
142 configs += [ "//build/config/linux:x11" ] 145 configs += [ "//build/config/linux:x11" ]
143 deps += [ "//ui/events/devices" ] 146 deps += [ "//ui/events/devices" ]
144 sources -= [ 147 sources -= [ "system/input_device_settings_impl_ozone.cc" ]
145 "system/input_device_settings_impl_ozone.cc",
146 ]
147 } else { 148 } else {
148 assert(use_ozone, "Either use_x11 or use_ozone has to be specified.") 149 assert(use_ozone, "Either use_x11 or use_ozone has to be specified.")
149 deps += [ "//ui/ozone" ] 150 deps += [ "//ui/ozone" ]
150 sources -= [ 151 sources -= [
151 "device_uma.cc", 152 "device_uma.cc",
152 "device_uma.h", 153 "device_uma.h",
153 "events/system_key_event_listener.cc", 154 "events/system_key_event_listener.cc",
154 "events/system_key_event_listener.h", 155 "events/system_key_event_listener.h",
155 "events/xinput_hierarchy_changed_event_listener.cc", 156 "events/xinput_hierarchy_changed_event_listener.cc",
156 "events/xinput_hierarchy_changed_event_listener.h", 157 "events/xinput_hierarchy_changed_event_listener.h",
157 "system/input_device_settings_impl_x11.cc", 158 "system/input_device_settings_impl_x11.cc",
158 ] 159 ]
159 } 160 }
160 161
161 if (use_cras) { 162 if (use_cras) {
162 defines += [ "USE_CRAS" ] 163 defines += [ "USE_CRAS" ]
163 } 164 }
164 165
165 if (ui_compositor_image_transport) { 166 if (ui_compositor_image_transport) {
166 deps += [ "//ui/gl" ] 167 deps += [ "//ui/gl" ]
167 } 168 }
168 } 169 }
169 170
170 proto_library("drive_proto") { 171 proto_library("drive_proto") {
171 sources = [ "drive/drive.proto" ] 172 sources = [
173 "drive/drive.proto",
174 ]
172 } 175 }
173 176
174 proto_library("device_policy_proto") { 177 proto_library("device_policy_proto") {
175 sources = [ 178 sources = [
176 "policy/proto/chrome_device_policy.proto", 179 "policy/proto/chrome_device_policy.proto",
177 "policy/proto/install_attributes.proto", 180 "policy/proto/install_attributes.proto",
178 ] 181 ]
179 } 182 }
180 183
181 proto_library("attestation_proto") { 184 proto_library("attestation_proto") {
182 sources = [ 185 sources = [
183 "attestation/attestation_key_payload.proto", 186 "attestation/attestation_key_payload.proto",
184 "attestation/attestation_signed_data.proto", 187 "attestation/attestation_signed_data.proto",
185 ] 188 ]
186 } 189 }
OLDNEW
« no previous file with comments | « chrome/browser/BUILD.gn ('k') | chrome/browser/devtools/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698