OLD | NEW |
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/crypto.gni") | 5 import("//build/config/crypto.gni") |
6 import("//build/config/features.gni") | 6 import("//build/config/features.gni") |
7 import("//build/config/ui.gni") | 7 import("//build/config/ui.gni") |
8 | 8 |
9 gypi_values = exec_script( | 9 gypi_values = exec_script( |
10 "//build/gypi_to_gn.py", | 10 "//build/gypi_to_gn.py", |
11 [ rebase_path("../../chrome_browser_ui.gypi") ], | 11 [ rebase_path("../../chrome_browser_ui.gypi") ], |
12 "scope", | 12 "scope", |
13 [ "../../chrome_browser_ui.gypi" ]) | 13 [ "../../chrome_browser_ui.gypi" ]) |
14 | 14 |
15 static_library("ui") { | 15 static_library("ui") { |
16 output_name = "browser_ui" | 16 output_name = "browser_ui" |
17 | 17 |
18 sources = [] | 18 sources = [] |
19 defines = [] | 19 defines = [] |
20 libs = [] | 20 libs = [] |
21 | 21 |
22 configs += [ "//build/config/compiler:wexit_time_destructors" ] | 22 configs += [ |
| 23 "//build/config/compiler:wexit_time_destructors", |
| 24 "//third_party/WebKit/public:debug_devtools", |
| 25 ] |
23 | 26 |
24 # Since browser and browser_ui actually depend on each other, | 27 # Since browser and browser_ui actually depend on each other, |
25 # we must omit the dependency from browser_ui to browser. | 28 # we must omit the dependency from browser_ui to browser. |
26 # However, this means browser_ui and browser should more or less | 29 # However, this means browser_ui and browser should more or less |
27 # have the same dependencies. Once browser_ui is untangled from | 30 # have the same dependencies. Once browser_ui is untangled from |
28 # browser, then we can clean up these dependencies. | 31 # browser, then we can clean up these dependencies. |
29 public_deps = [ | 32 public_deps = [ |
30 "//components/dom_distiller/core", | 33 "//components/dom_distiller/core", |
31 "//sync", | 34 "//sync", |
32 ] | 35 ] |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
135 sources -= [ "views/task_manager_view.cc" ] | 138 sources -= [ "views/task_manager_view.cc" ] |
136 } | 139 } |
137 } | 140 } |
138 if (!enable_nacl) { | 141 if (!enable_nacl) { |
139 sources += rebase_path(gypi_values.chrome_browser_ui_nacl_sources, | 142 sources += rebase_path(gypi_values.chrome_browser_ui_nacl_sources, |
140 ".", "//chrome") | 143 ".", "//chrome") |
141 deps += [ | 144 deps += [ |
142 #"//native_client/src/trusted/service_runtime/service_runtime.gyp:sel", T
ODO(GYP) | 145 #"//native_client/src/trusted/service_runtime/service_runtime.gyp:sel", T
ODO(GYP) |
143 ] | 146 ] |
144 } | 147 } |
145 if (debug_devtools) { | |
146 defines += [ "DEBUG_DEVTOOLS=1" ] | |
147 } | |
148 if (enable_configuration_policy) { | 148 if (enable_configuration_policy) { |
149 sources += rebase_path(gypi_values.chrome_browser_ui_policy_sources, | 149 sources += rebase_path(gypi_values.chrome_browser_ui_policy_sources, |
150 ".", "//chrome") | 150 ".", "//chrome") |
151 deps += [ "//components/policy" ] | 151 deps += [ "//components/policy" ] |
152 } | 152 } |
153 if (enable_plugins) { | 153 if (enable_plugins) { |
154 sources += rebase_path(gypi_values.chrome_browser_ui_plugin_sources, | 154 sources += rebase_path(gypi_values.chrome_browser_ui_plugin_sources, |
155 ".", "//chrome") | 155 ".", "//chrome") |
156 deps += [ "//ppapi:ppapi_ipc" ] | 156 deps += [ "//ppapi:ppapi_ipc" ] |
157 } | 157 } |
(...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
452 "//chrome/browser", | 452 "//chrome/browser", |
453 "//content/public/browser", | 453 "//content/public/browser", |
454 "//content/public/common", | 454 "//content/public/common", |
455 "//content/test:test_support", | 455 "//content/test:test_support", |
456 "//net:test_support", | 456 "//net:test_support", |
457 "//skia", | 457 "//skia", |
458 "//testing/gtest", | 458 "//testing/gtest", |
459 "//ui/base", | 459 "//ui/base", |
460 ] | 460 ] |
461 } | 461 } |
OLD | NEW |