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

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

Issue 1077823005: Declare providing extension capabilities in the manifest. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed. Created 5 years, 8 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
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("//build/gypi_to_gn.py", 7 gypi_values = exec_script("//build/gypi_to_gn.py",
8 [ rebase_path("../chrome_common.gypi") ], 8 [ rebase_path("../chrome_common.gypi") ],
9 "scope", 9 "scope",
10 [ "../chrome_common.gypi" ]) 10 [ "../chrome_common.gypi" ])
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 "//chrome/common/extensions/api", 105 "//chrome/common/extensions/api",
106 "//extensions/common", 106 "//extensions/common",
107 "//extensions/common/api", 107 "//extensions/common/api",
108 "//extensions:extensions_resources", 108 "//extensions:extensions_resources",
109 "//extensions/strings", 109 "//extensions/strings",
110 "//media/cast:net", 110 "//media/cast:net",
111 ] 111 ]
112 if (enable_media_router) { 112 if (enable_media_router) {
113 defines += [ "ENABLE_MEDIA_ROUTER=1" ] 113 defines += [ "ENABLE_MEDIA_ROUTER=1" ]
114 } 114 }
115 if (is_chromeos) {
116 sources +=
117 rebase_path(gypi_values.chrome_common_extensions_chromeos_sources,
118 ".",
119 "//chrome")
120 }
115 } 121 }
116 122
117 if (is_win || is_mac) { 123 if (is_win || is_mac) {
118 sources += 124 sources +=
119 rebase_path(gypi_values.chrome_common_win_mac_sources, ".", "//chrome") 125 rebase_path(gypi_values.chrome_common_win_mac_sources, ".", "//chrome")
120 deps += [ "//breakpad:client" ] 126 deps += [ "//breakpad:client" ]
121 } 127 }
122 if (is_win || is_mac || is_chromeos) { 128 if (is_win || is_mac || is_chromeos) {
123 if (use_openssl) { 129 if (use_openssl) {
124 sources += rebase_path( 130 sources += rebase_path(
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
330 "mac/app_mode_chrome_locator.mm", 336 "mac/app_mode_chrome_locator.mm",
331 "mac/app_mode_common.h", 337 "mac/app_mode_common.h",
332 "mac/app_mode_common.mm", 338 "mac/app_mode_common.mm",
333 ] 339 ]
334 340
335 deps = [ 341 deps = [
336 ":constants", 342 ":constants",
337 "//base", 343 "//base",
338 ] 344 ]
339 } 345 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698