Skip to content
This repository has been archived by the owner on Jan 4, 2019. It is now read-only.

Commit

Permalink
gn build fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
bridiver authored and darkdh committed Feb 8, 2017
1 parent 579bd2c commit 45d5ccd
Show file tree
Hide file tree
Showing 15 changed files with 20 additions and 19 deletions.
6 changes: 3 additions & 3 deletions BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,17 @@ import("//build/config/sanitizers/sanitizers.gni")
import("//build/config/ui.gni")
import("//build/config/zip.gni")
import("//build/util/branding.gni")
import("//build/util/process_version.gni")
import("//extensions/features/features.gni")
import("//printing/features/features.gni")
import("//tools/grit/grit_rule.gni")
import("//tools/grit/repack.gni")
import("//ui/base/ui_features.gni")
import("//v8/gni/v8.gni")
import("//chrome/version.gni")
import("//third_party/icu/config.gni")
import("//media/cdm/ppapi/cdm_paths.gni")
import("//electron/build/config.gni")

enable_service_discovery = false

group("electron") {
testonly = false

Expand Down
1 change: 0 additions & 1 deletion app/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
# found in the LICENSE file.

import("//build/config/ui.gni")
import("//services/shell/public/service_manifest.gni")
import("//tools/grit/grit_rule.gni")

if (use_aura) {
Expand Down
1 change: 0 additions & 1 deletion app/linux/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import("//build/config/sanitizers/sanitizers.gni")
import("//build/config/ui.gni")
import("//ui/base/ui_features.gni")
import("//v8/gni/v8.gni")
import("//chrome/version.gni")
import("//build/compiled_action.gni")
import("//build/util/branding.gni")
import("//build_overrides/v8.gni")
Expand Down
1 change: 0 additions & 1 deletion app/mac/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import("//build/config/sanitizers/sanitizers.gni")
import("//build/config/ui.gni")
import("//ui/base/ui_features.gni")
import("//v8/gni/v8.gni")
import("//chrome/version.gni")
import("//build/compiled_action.gni")
import("//build/config/mac/rules.gni")
import("//build/config/mac/symbols.gni")
Expand Down
2 changes: 1 addition & 1 deletion app/win/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ import("//build/config/ui.gni")
import("//build/config/win/manifest.gni")
import("//ui/base/ui_features.gni")
import("//v8/gni/v8.gni")
import("//chrome/version.gni")
import("//build/compiled_action.gni")
import("//build/util/branding.gni")
import("//build/util/process_version.gni")
import("//build_overrides/v8.gni")
import("//media/cdm/ppapi/cdm_paths.gni")
import("//electron/build/config.gni")
Expand Down
2 changes: 1 addition & 1 deletion atom/app/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ source_set("app") {
}

deps = [
"//third_party/widevine/cdm:version_h",
"//third_party/widevine/cdm:headers",
"//third_party/kasko",
]
}
4 changes: 3 additions & 1 deletion atom/browser/BUILD.gn
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import("//build/config/ui.gni")
import("//build/config/features.gni")
import("//extensions/features/features.gni")

source_set("browser") {
public_configs = [
Expand All @@ -14,7 +15,8 @@ source_set("browser") {
public_deps = [
"//electron/vendor/brightray:browser",
"//ui/events",
"//components/security_state",
"//components/security_state/content",
"//components/security_state/core",
"//components/autofill/content/browser:browser",
"//third_party/protobuf:protobuf_lite",
"//third_party/WebKit/public:blink_headers",
Expand Down
2 changes: 2 additions & 0 deletions atom/common/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ import("//build/buildflag_header.gni")
import("//build/config/chrome_build.gni")
import("//build/config/compiler/compiler.gni")
import("//build/config/features.gni")
import("//extensions/features/features.gni")
import("//printing/features/features.gni")

source_set("node") {
public_configs = [
Expand Down
6 changes: 3 additions & 3 deletions brave/browser/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ import("//build/buildflag_header.gni")
import("//build/config/chrome_build.gni")
import("//build/config/compiler/compiler.gni")
import("//build/config/features.gni")
import("//extensions/features/features.gni")
import("//printing/features/features.gni")


source_set("browser") {
configs += [
Expand Down Expand Up @@ -46,12 +49,9 @@ source_set("browser") {
"//components/autofill/content/browser:risk_proto",
"//components/autofill/content/browser",
"//components/autofill/core/browser",
"//components/devtools_discovery",
"//components/devtools_http_handler",
"//components/resources",
"//components/subresource_filter/content/browser",
"//components/subresource_filter/core/browser",
"//components/syncable_prefs",
"//device/usb/mojo",
"//device/usb/public/interfaces",
"//gpu/config",
Expand Down
2 changes: 1 addition & 1 deletion brave/browser/component_updater/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ source_set("component_updater") {
]

deps = [
"//third_party/widevine/cdm:version_h",
"//third_party/widevine/cdm:headers",
"//components/component_updater",
"//components/update_client",
]
Expand Down
2 changes: 1 addition & 1 deletion brave/common/extensions/api/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

import("//build/json_schema_api.gni")
import("//tools/json_schema_compiler/json_features.gni")
import("//tools/json_schema_compiler/json_schema_api.gni")
import("schemas.gni")

# assert(enable_extensions)
Expand Down
1 change: 0 additions & 1 deletion build/BUILD.gn
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import("//build/config/chrome_build.gni")
import("//build/config/compiler/compiler.gni")
import("//build/util/branding.gni")
import("//chrome/version.gni")

if (is_linux) {
import("//build/config/linux/pkg_config.gni")
Expand Down
6 changes: 4 additions & 2 deletions chromium_src/BUILD.gn
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import("//build/config/features.gni")
import("//build/config/ui.gni")
import("///build/config/crypto.gni")
import("//build/config/crypto.gni")
import("//extensions/features/features.gni")
import("//printing/features/features.gni")

config("chromium_src_config") {
include_dirs = [
Expand Down Expand Up @@ -100,7 +102,7 @@ source_set("renderer") {

deps = [
"//chrome/renderer",
"//components/content_settings/content/common",
"//components/content_settings/core/common",
"//third_party/WebKit/public:blink_headers",
]
}
Expand Down
1 change: 1 addition & 0 deletions lib/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import("//build/buildflag_header.gni")
import("//build/config/chrome_build.gni")
import("//build/config/compiler/compiler.gni")
import("//build/config/features.gni")
import("//extensions/features/features.gni")

action("lib") {
script = "//electron/tools/js2asar.py"
Expand Down
2 changes: 0 additions & 2 deletions vendor/brightray/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,6 @@ source_set("browser") {
]

deps = [
"//components/devtools_discovery",
"//components/devtools_http_handler",
"//third_party/WebKit/public:blink_headers",
"//content/shell:resources",
":common",
Expand Down

0 comments on commit 45d5ccd

Please sign in to comment.