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

Unified Diff: content/public/browser/BUILD.gn

Issue 321323004: Add yasm to the GN build (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: content/public/browser/BUILD.gn
diff --git a/content/public/browser/BUILD.gn b/content/public/browser/BUILD.gn
index 98bd536763abe93581b15d36e3ba8213e6daf353..ee41b2003de681ae864524a39420edff13e86290 100644
--- a/content/public/browser/BUILD.gn
+++ b/content/public/browser/BUILD.gn
@@ -5,8 +5,22 @@
import("//content/browser/browser.gni")
source_set("browser") {
- sources = rebase_path(content_browser_gypi_values.public_browser_sources,
- ".", "//content")
+ if (is_ios) {
+ # iOS doesn't get the normal file list and only takes these whitelisted
+ # files.
+ sources = [
+ "browser_main_parts.cc",
+ "content_browser_client.cc",
+ "favicon_status.cc",
+ "navigation_details.cc",
+ "notification_registrar.cc",
+ "page_navigator.cc",
+ "web_ui_controller.cc",
+ ]
+ } else {
+ sources = rebase_path(content_browser_gypi_values.public_browser_sources,
+ ".", "//content")
+ }
configs += [ "//content:content_implementation" ]

Powered by Google App Engine
This is Rietveld 408576698