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

Side by Side Diff: BUILD.gn

Issue 2292053003: [inspector] Build inspector under v8_enable_inspector build flag. (Closed)
Patch Set: owners Created 4 years, 3 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
« no previous file with comments | « no previous file | build_overrides/v8.gni » ('j') | build_overrides/v8.gni » ('J')
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/android/config.gni") 5 import("//build/config/android/config.gni")
6 import("//build/config/arm.gni") 6 import("//build/config/arm.gni")
7 import("//build/config/dcheck_always_on.gni") 7 import("//build/config/dcheck_always_on.gni")
8 import("//build/config/mips.gni") 8 import("//build/config/mips.gni")
9 import("//build/config/sanitizers/sanitizers.gni") 9 import("//build/config/sanitizers/sanitizers.gni")
10 10
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 # This config should only be applied to code using V8 and not any V8 code 133 # This config should only be applied to code using V8 and not any V8 code
134 # itself. 134 # itself.
135 config("external_config") { 135 config("external_config") {
136 if (is_component_build) { 136 if (is_component_build) {
137 defines = [ 137 defines = [
138 "V8_SHARED", 138 "V8_SHARED",
139 "USING_V8_SHARED", 139 "USING_V8_SHARED",
140 ] 140 ]
141 } 141 }
142 include_dirs = [ "include" ] 142 include_dirs = [ "include" ]
143 if (v8_enable_inspector_override) {
144 include_dirs += [ "$target_gen_dir/include" ]
145 }
143 libs = [] 146 libs = []
144 if (is_android && current_toolchain != host_toolchain) { 147 if (is_android && current_toolchain != host_toolchain) {
145 libs += [ "log" ] 148 libs += [ "log" ]
146 } 149 }
147 } 150 }
148 151
149 # This config should only be applied to code that needs to be explicitly 152 # This config should only be applied to code that needs to be explicitly
150 # aware of whether we are using startup data or not. 153 # aware of whether we are using startup data or not.
151 config("external_startup_data") { 154 config("external_startup_data") {
152 if (v8_use_external_startup_data) { 155 if (v8_use_external_startup_data) {
(...skipping 1856 matching lines...) Expand 10 before | Expand all | Expand 10 after
2009 sources -= [ 2012 sources -= [
2010 "src/i18n.cc", 2013 "src/i18n.cc",
2011 "src/i18n.h", 2014 "src/i18n.h",
2012 ] 2015 ]
2013 } 2016 }
2014 2017
2015 if (v8_postmortem_support) { 2018 if (v8_postmortem_support) {
2016 sources += [ "$target_gen_dir/debug-support.cc" ] 2019 sources += [ "$target_gen_dir/debug-support.cc" ]
2017 deps += [ ":postmortem-metadata" ] 2020 deps += [ ":postmortem-metadata" ]
2018 } 2021 }
2022
2023 if (v8_enable_inspector_override) {
2024 deps += [ "src/inspector:inspector" ]
2025 }
2019 } 2026 }
2020 2027
2021 v8_source_set("v8_libbase") { 2028 v8_source_set("v8_libbase") {
2022 visibility = [ ":*" ] # Only targets in this file can depend on this. 2029 visibility = [ ":*" ] # Only targets in this file can depend on this.
2023 2030
2024 sources = [ 2031 sources = [
2025 "src/base/accounting-allocator.cc", 2032 "src/base/accounting-allocator.cc",
2026 "src/base/accounting-allocator.h", 2033 "src/base/accounting-allocator.h",
2027 "src/base/adapters.h", 2034 "src/base/adapters.h",
2028 "src/base/atomic-utils.h", 2035 "src/base/atomic-utils.h",
(...skipping 566 matching lines...) Expand 10 before | Expand all | Expand 10 after
2595 2602
2596 deps = [ 2603 deps = [
2597 ":fuzzer_support", 2604 ":fuzzer_support",
2598 ] 2605 ]
2599 2606
2600 configs = [ ":internal_config" ] 2607 configs = [ ":internal_config" ]
2601 } 2608 }
2602 2609
2603 v8_fuzzer("wasm_code_fuzzer") { 2610 v8_fuzzer("wasm_code_fuzzer") {
2604 } 2611 }
OLDNEW
« no previous file with comments | « no previous file | build_overrides/v8.gni » ('j') | build_overrides/v8.gni » ('J')

Powered by Google App Engine
This is Rietveld 408576698