--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
You're not setting target_os?
Why are you sure is_ios is true? Did you put a `print(is_ios)` somewhere?
I would scatter some print() statements in //build/config/BUILDCONFIG.gn; that's the only place where is_ios should be getting set to true. I'd be surprised if that had something to do w/ your xcode install.
On Fri, Aug 26, 2016 at 11:59 PM, Dirk Pranke <dpr...@chromium.org> wrote:I would scatter some print() statements in //build/config/BUILDCONFIG.gn; that's the only place where is_ios should be getting set to true. I'd be surprised if that had something to do w/ your xcode install.Thanks for the suggestion. After debugging I see that the is_ios flag is not actually true in my case. The confusion resulted from M53, unlike master, including //build/config/ios/ios_sdk.gni without checking the is_ios flag [1] (and I was looking at the master sources instead of the M53 sources).There also appears to be some non-deterministic behavior (or perhaps GN is intentionally running things in parallel) which added to the confusion. Sometimes `gn gen` fails with:ERROR at //build/config/mac/mac_sdk.gni:42:5: Script returned non-zero exit code.exec_script("//build/mac/find_sdk.py", find_sdk_args, "list lines")^----------Current dir: /Users/buildagent/chromium/src/out/Debug_GN_x64/Command: python -- /Users/buildagent/chromium/src/build/mac/find_sdk.py --print_sdk_path 10.10
On Fri, Aug 26, 2016 at 11:59 PM, Dirk Pranke <dpr...@chromium.org> wrote:I would scatter some print() statements in //build/config/BUILDCONFIG.gn; that's the only place where is_ios should be getting set to true. I'd be surprised if that had something to do w/ your xcode install.Thanks for the suggestion. After debugging I see that the is_ios flag is not actually true in my case. The confusion resulted from M53, unlike master, including //build/config/ios/ios_sdk.gni without checking the is_ios flag [1] (and I was looking at the master sources instead of the M53 sources).There also appears to be some non-deterministic behavior (or perhaps GN is intentionally running things in parallel) which added to the confusion. Sometimes `gn gen` fails with: