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

Side by Side Diff: chrome/common/BUILD.gn

Issue 411783003: Add GN Build file for extensions_common target. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: more android fixes Created 6 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « BUILD.gn ('k') | content/browser/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("//tools/grit/grit_rule.gni") 5 import("//tools/grit/grit_rule.gni")
6 6
7 gypi_values = exec_script( 7 gypi_values = exec_script(
8 "//build/gypi_to_gn.py", 8 "//build/gypi_to_gn.py",
9 [ rebase_path("../chrome_common.gypi") ], 9 [ rebase_path("../chrome_common.gypi") ],
10 "scope", 10 "scope",
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 sources += [ 153 sources += [
154 "local_discovery/service_discovery_client_impl.cc", 154 "local_discovery/service_discovery_client_impl.cc",
155 "local_discovery/service_discovery_client_impl.h", 155 "local_discovery/service_discovery_client_impl.h",
156 ] 156 ]
157 } 157 }
158 158
159 if (is_android) { 159 if (is_android) {
160 sources -= [ 160 sources -= [
161 "badge_util.cc", 161 "badge_util.cc",
162 "chrome_version_info_posix.cc", 162 "chrome_version_info_posix.cc",
163 "extensions/api/extension_action/browser_action_handler.cc",
164 "extensions/api/extension_action/page_action_handler.cc",
165 "extensions/api/spellcheck/spellcheck_handler.cc",
166 "extensions/manifest_handlers/minimum_chrome_version_checker.cc", 163 "extensions/manifest_handlers/minimum_chrome_version_checker.cc",
167 "icon_with_badge_image_source.cc", 164 "icon_with_badge_image_source.cc",
168 "media_galleries/metadata_types.h", 165 "media_galleries/metadata_types.h",
169 "net/url_util.cc",
170 "spellcheck_common.cc", 166 "spellcheck_common.cc",
171 ] 167 ]
172 } else { 168 } else {
173 # Non-Android. 169 # Non-Android.
174 sources += rebase_path( 170 sources += rebase_path(
175 gypi_values.chrome_common_importer_sources, 171 gypi_values.chrome_common_importer_sources,
176 ".", "//chrome") 172 ".", "//chrome")
177 } 173 }
178 174
179 if (is_win) { 175 if (is_win) {
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
295 "//components/bookmarks/common", 291 "//components/bookmarks/common",
296 "//third_party/widevine/cdm:version_h", 292 "//third_party/widevine/cdm:version_h",
297 ] 293 ]
298 294
299 if (enable_nacl) { 295 if (enable_nacl) {
300 deps += [ 296 deps += [
301 #'../components/nacl.gyp:nacl_switches', TODO(GYP) 297 #'../components/nacl.gyp:nacl_switches', TODO(GYP)
302 ] 298 ]
303 } 299 }
304 } 300 }
OLDNEW
« no previous file with comments | « BUILD.gn ('k') | content/browser/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698