Chromium Code Reviews| 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 import("//components/nacl/nacl_defines.gni") | 8 import("//components/nacl/nacl_defines.gni") |
| 9 # //build/config/android/rules.gni imports //tools/grit/grit_rule.gni, which | 9 # //build/config/android/rules.gni imports //tools/grit/grit_rule.gni, which |
| 10 # produces a conflict for the "grit" template so we have to only include one. | 10 # produces a conflict for the "grit" template so we have to only include one. |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 126 "//sync", | 126 "//sync", |
| 127 "//third_party/cacheinvalidation", | 127 "//third_party/cacheinvalidation", |
| 128 "//third_party/icu", | 128 "//third_party/icu", |
| 129 "//third_party/libxml", | 129 "//third_party/libxml", |
| 130 "//third_party/libjingle", | 130 "//third_party/libjingle", |
| 131 "//third_party/widevine/cdm:version_h", | 131 "//third_party/widevine/cdm:version_h", |
| 132 "//third_party/zlib", | 132 "//third_party/zlib", |
| 133 "//third_party/zlib:minizip", | 133 "//third_party/zlib:minizip", |
| 134 "//third_party/zlib:zip", | 134 "//third_party/zlib:zip", |
| 135 "//ui/base", | 135 "//ui/base", |
| 136 "//ui/events", | 136 "//ui/events:events_base", |
| 137 "//ui/gfx", | 137 "//ui/gfx", |
| 138 "//ui/gfx/geometry", | 138 "//ui/gfx/geometry", |
| 139 "//ui/message_center", | 139 "//ui/message_center", |
| 140 "//ui/shell_dialogs", | 140 "//ui/shell_dialogs", |
| 141 "//ui/strings", | 141 "//ui/strings", |
| 142 "//ui/resources", | 142 "//ui/resources", |
| 143 ] | 143 ] |
| 144 | 144 |
| 145 sources += rebase_path(gypi_values.chrome_browser_undo_sources, | 145 sources += rebase_path(gypi_values.chrome_browser_undo_sources, |
| 146 ".", "//chrome") | 146 ".", "//chrome") |
| (...skipping 28 matching lines...) Expand all Loading... | |
| 175 "//components/storage_monitor", | 175 "//components/storage_monitor", |
| 176 "//components/translate/content/browser", | 176 "//components/translate/content/browser", |
| 177 "//components/url_matcher", | 177 "//components/url_matcher", |
| 178 "//components/visitedlink/browser", | 178 "//components/visitedlink/browser", |
| 179 "//components/visitedlink/common", | 179 "//components/visitedlink/common", |
| 180 "//components/web_cache/browser", | 180 "//components/web_cache/browser", |
| 181 "//components/web_modal", | 181 "//components/web_modal", |
| 182 "//content/app/resources", | 182 "//content/app/resources", |
| 183 "//media", | 183 "//media", |
| 184 "//media/cast:net", | 184 "//media/cast:net", |
| 185 "//mojo/common", | |
| 185 "//mojo/edk/system", | 186 "//mojo/edk/system", |
| 186 "//mojo/environment:chromium", | 187 "//mojo/environment:chromium", |
| 187 "//mojo/public/cpp/bindings", | 188 "//mojo/public/cpp/bindings", |
| 188 "//mojo/public/js/bindings", | 189 "//mojo/public/js/bindings", |
| 189 "//net:extras", | 190 "//net:extras", |
| 190 "//net:net_with_v8", | 191 "//net:net_with_v8", |
| 191 "//storage/browser", | 192 "//storage/browser", |
| 192 "//storage/common", | 193 "//storage/common", |
| 193 "//third_party/WebKit/public:resources", | 194 "//third_party/WebKit/public:resources", |
| 194 "//third_party/expat", | 195 "//third_party/expat", |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 299 } | 300 } |
| 300 if (!is_chromeos) { | 301 if (!is_chromeos) { |
| 301 sources += rebase_path( | 302 sources += rebase_path( |
| 302 gypi_values.chrome_browser_policy_shared_with_ios_not_chromeos_sources , | 303 gypi_values.chrome_browser_policy_shared_with_ios_not_chromeos_sources , |
| 303 ".", "//chrome") | 304 ".", "//chrome") |
| 304 } | 305 } |
| 305 if (is_win || is_mac || is_desktop_linux) { | 306 if (is_win || is_mac || is_desktop_linux) { |
| 306 sources += rebase_path(gypi_values.chrome_browser_policy_desktop_sources, | 307 sources += rebase_path(gypi_values.chrome_browser_policy_desktop_sources, |
| 307 ".", "//chrome") | 308 ".", "//chrome") |
| 308 } | 309 } |
| 309 if (!is_android && !is_ios) { # Non-mobile | 310 if (is_android || is_ios) { |
| 311 sources += rebase_path(gypi_values.chrome_browser_policy_mobile_sources, | |
| 312 ".", "//chrome") | |
| 313 } else { | |
| 310 deps += [ | 314 deps += [ |
| 311 "//chrome/browser/policy:path_parser", | 315 "//chrome/browser/policy:path_parser", |
| 312 ] | 316 ] |
| 313 } | 317 } |
| 314 } else { | 318 } else { |
| 315 # Configuration policy disabled. | 319 # Configuration policy disabled. |
| 316 sources += rebase_path(gypi_values.chrome_browser_policy_disabled_sources, | 320 sources += rebase_path(gypi_values.chrome_browser_policy_disabled_sources, |
| 317 ".", "//chrome") | 321 ".", "//chrome") |
| 318 } | 322 } |
| 319 | 323 |
| (...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 483 "//device/usb", | 487 "//device/usb", |
| 484 ] | 488 ] |
| 485 } | 489 } |
| 486 | 490 |
| 487 if (is_android) { | 491 if (is_android) { |
| 488 sources += rebase_path(gypi_values.chrome_browser_android_sources, | 492 sources += rebase_path(gypi_values.chrome_browser_android_sources, |
| 489 ".", "//chrome") | 493 ".", "//chrome") |
| 490 deps += [ | 494 deps += [ |
| 491 ":jni_headers", | 495 ":jni_headers", |
| 492 "//components/cdm/browser", | 496 "//components/cdm/browser", |
| 493 #"../components/components.gyp:web_contents_delegate_android", TODO(GYP) | 497 "//components/enhanced_bookmarks", |
| 498 "//components/web_contents_delegate_android", | |
|
Lei Zhang
2014/10/24 02:55:51
nit: alphabetical order please.
cjhopman
2014/10/24 21:41:11
Done.
| |
| 499 "//components/history/core/android", | |
| 500 "//third_party/android_opengl/etc1", | |
| 494 ] | 501 ] |
| 495 deps -= [ | 502 deps -= [ |
| 496 "//third_party/libaddressinput", | 503 "//third_party/libaddressinput", |
| 497 "//components/feedback", | 504 "//components/feedback", |
| 498 "//components/storage_monitor", | 505 "//components/storage_monitor", |
| 499 "//components/web_modal", | 506 "//components/web_modal", |
| 500 ] | 507 ] |
| 501 } else { | 508 } else { |
| 502 sources += rebase_path(gypi_values.chrome_browser_non_android_sources, | 509 sources += rebase_path(gypi_values.chrome_browser_non_android_sources, |
| 503 ".", "//chrome") | 510 ".", "//chrome") |
| (...skipping 440 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 944 ] | 951 ] |
| 945 } | 952 } |
| 946 | 953 |
| 947 if (enable_wifi_bootstrapping) { | 954 if (enable_wifi_bootstrapping) { |
| 948 sources += [ | 955 sources += [ |
| 949 "local_discovery/wifi/mock_wifi_manager.cc", | 956 "local_discovery/wifi/mock_wifi_manager.cc", |
| 950 "local_discovery/wifi/mock_wifi_manager.h", | 957 "local_discovery/wifi/mock_wifi_manager.h", |
| 951 ] | 958 ] |
| 952 } | 959 } |
| 953 } | 960 } |
| OLD | NEW |