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

Side by Side Diff: BUILD.gn

Issue 1467803003: Get 'gn_all' building on iOS (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix ios arm build, non-ios build Created 5 years 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/webrtc.gni » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2013 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 # This is the root build file for GN. GN will start processing by loading this 5 # This is the root build file for GN. GN will start processing by loading this
6 # file, and recursively load all dependencies until all dependencies are either 6 # file, and recursively load all dependencies until all dependencies are either
7 # resolved or known not to exist (which will cause the build to fail). So if 7 # resolved or known not to exist (which will cause the build to fail). So if
8 # you add a new build file, there must be some path of dependencies from this 8 # you add a new build file, there must be some path of dependencies from this
9 # file to your new one or GN won't know about it. 9 # file to your new one or GN won't know about it.
10 10
11 import("//build/config/features.gni") 11 import("//build/config/features.gni")
12 import("//build/config/sanitizers/sanitizers.gni") 12 import("//build/config/sanitizers/sanitizers.gni")
13 import("//build/config/ui.gni") 13 import("//build/config/ui.gni")
14 import("//build_overrides/v8.gni") 14 import("//build_overrides/v8.gni")
15 import("//build_overrides/webrtc.gni")
15 import("//media/media_options.gni") 16 import("//media/media_options.gni")
16 import("//third_party/openh264/openh264_args.gni") 17 import("//third_party/openh264/openh264_args.gni")
17 18
18 if (is_android) { 19 if (is_android) {
19 import("//build/config/android/config.gni") 20 import("//build/config/android/config.gni")
20 } 21 }
21 22
22 declare_args() { 23 declare_args() {
23 # A list of extra dependencies to add to the root target. This allows a 24 # A list of extra dependencies to add to the root target. This allows a
24 # checkout to add additional targets without explicitly changing any checked- 25 # checkout to add additional targets without explicitly changing any checked-
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 "//tools/battor_agent", 199 "//tools/battor_agent",
199 "//tools/imagediff($host_toolchain)", 200 "//tools/imagediff($host_toolchain)",
200 "//tools/telemetry:bitmaptools($host_toolchain)", 201 "//tools/telemetry:bitmaptools($host_toolchain)",
201 "//ui/display:display_unittests", 202 "//ui/display:display_unittests",
202 "//ui/events:events_unittests", 203 "//ui/events:events_unittests",
203 "//ui/gl:gl_unittests", 204 "//ui/gl:gl_unittests",
204 "//ui/touch_selection:ui_touch_selection_unittests", 205 "//ui/touch_selection:ui_touch_selection_unittests",
205 ] 206 ]
206 } else { 207 } else {
207 deps += [ 208 deps += [
208 "//ios/chrome:ios_chrome_unittests",
209 "//ios/chrome/app",
210 "//ios/chrome/browser",
211 "//ios/chrome/common",
212 "//ios/net:ios_net_unittests", 209 "//ios/net:ios_net_unittests",
213 "//ios/public/provider/chrome/browser",
214 "//ios/public/provider/web", 210 "//ios/public/provider/web",
215 "//ios/testing:ocmock_support_unittest", 211 "//ios/testing:ocmock_support_unittest",
216 "//ios/web:ios_web_unittests", 212 "//ios/web:ios_web_unittests",
217 "//ios/web/shell:ios_web_shell", 213 "//ios/web/shell:ios_web_shell",
218 ] 214 ]
215
216 if (ios_use_webrtc) {
217 deps += [
218 "//ios/chrome:ios_chrome_unittests",
219 "//ios/chrome/app",
220 "//ios/chrome/browser",
221 "//ios/chrome/common",
222 "//ios/public/provider/chrome/browser",
223 ]
224 }
219 } 225 }
220 226
221 deps += root_extra_deps 227 deps += root_extra_deps
222 228
223 if (enable_extensions) { 229 if (enable_extensions) {
224 deps += [ "//extensions/shell:app_shell_unittests" ] 230 deps += [ "//extensions/shell:app_shell_unittests" ]
225 } 231 }
226 232
227 if (enable_media_router) { 233 if (enable_media_router) {
228 deps += [ "//chrome/browser/media/router" ] 234 deps += [ "//chrome/browser/media/router" ]
(...skipping 350 matching lines...) Expand 10 before | Expand all | Expand 10 after
579 "//crypto:crypto_unittests", # TODO(GYP) 585 "//crypto:crypto_unittests", # TODO(GYP)
580 "//net:net_unittests", # TODO(GYP) 586 "//net:net_unittests", # TODO(GYP)
581 ] 587 ]
582 } else if (!is_android && !is_ios) { 588 } else if (!is_android && !is_ios) {
583 deps += [ "//breakpad:symupload($host_toolchain)" ] 589 deps += [ "//breakpad:symupload($host_toolchain)" ]
584 } 590 }
585 if (is_chromecast) { 591 if (is_chromecast) {
586 deps += [ "//chromecast:cast_shell" ] 592 deps += [ "//chromecast:cast_shell" ]
587 } 593 }
588 594
589 if (is_ios || is_mac) { 595 if (is_mac) { # TODO(GYP) || is_ios
590 deps += [ "//media/cast:cast_h264_vt_encoder_unittests" ] 596 deps += [ "//media/cast:cast_h264_vt_encoder_unittests" ]
591 } 597 }
592 598
593 if (use_openh264) { 599 if (use_openh264) {
594 deps += [ 600 deps += [
595 "//third_party/openh264:common", 601 "//third_party/openh264:common",
596 "//third_party/openh264:encoder", 602 "//third_party/openh264:encoder",
597 "//third_party/openh264:processing", 603 "//third_party/openh264:processing",
598 ] 604 ]
599 } 605 }
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after
858 ] 864 ]
859 865
860 if (target_cpu == "x86") { 866 if (target_cpu == "x86") {
861 deps += [ "//chrome/tools/crash_service:crash_service_win64" ] 867 deps += [ "//chrome/tools/crash_service:crash_service_win64" ]
862 } 868 }
863 } else { 869 } else {
864 deps += [ "//breakpad:minidump_stackwalk($host_toolchain)" ] 870 deps += [ "//breakpad:minidump_stackwalk($host_toolchain)" ]
865 } 871 }
866 } 872 }
867 } 873 }
OLDNEW
« no previous file with comments | « no previous file | build_overrides/webrtc.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698